Skip to content

Commit dce8f77

Browse files
authored
Feature structured definitions (#2)
* Feature-draftStructuredDefifinitions Draft of First-of-Type of Core Genomics Resources in UKCore. * Update NHSDigital-Condition-Genomics.StructureDefinition.json Modification to canonical URL of Condition resource * Moving the profile files into SD folder Aggregating the draft profiles into the SD Folder
1 parent 8432c7c commit dce8f77

9 files changed

Lines changed: 887 additions & 0 deletions
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
{
2+
"resourceType": "StructureDefinition",
3+
"url": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Condition-Genomics",
4+
"name": "NHSDigital_Condition_Genomics",
5+
"status": "draft",
6+
"fhirVersion": "4.0.1",
7+
"kind": "resource",
8+
"abstract": false,
9+
"type": "Condition",
10+
"baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Condition",
11+
"derivation": "constraint",
12+
"differential": {
13+
"element": [
14+
{
15+
"id": "Condition.extension",
16+
"path": "Condition.extension",
17+
"slicing": {
18+
"discriminator": [
19+
{
20+
"type": "value",
21+
"path": "url"
22+
}
23+
],
24+
"rules": "open"
25+
},
26+
"min": 0
27+
},
28+
{
29+
"id": "Condition.extension:conditionEpisode",
30+
"path": "Condition.extension",
31+
"sliceName": "conditionEpisode",
32+
"min": 0,
33+
"max": "0"
34+
},
35+
{
36+
"id": "Condition.extension:problemSignificance",
37+
"path": "Condition.extension",
38+
"sliceName": "problemSignificance",
39+
"min": 0,
40+
"max": "0"
41+
},
42+
{
43+
"id": "Condition.extension:relatedClinicalContent",
44+
"path": "Condition.extension",
45+
"sliceName": "relatedClinicalContent",
46+
"min": 0,
47+
"max": "1"
48+
},
49+
{
50+
"id": "Condition.extension:relatedProblemHeader",
51+
"path": "Condition.extension",
52+
"sliceName": "relatedProblemHeader",
53+
"min": 0,
54+
"max": "0"
55+
},
56+
{
57+
"id": "Condition.clinicalStatus",
58+
"path": "Condition.clinicalStatus",
59+
"min": 1
60+
},
61+
{
62+
"id": "Condition.verificationStatus",
63+
"path": "Condition.verificationStatus",
64+
"min": 1
65+
},
66+
{
67+
"id": "Condition.category",
68+
"path": "Condition.category",
69+
"max": "0"
70+
},
71+
{
72+
"id": "Condition.code",
73+
"path": "Condition.code",
74+
"min": 1
75+
},
76+
{
77+
"id": "Condition.bodySite",
78+
"path": "Condition.bodySite",
79+
"max": "0"
80+
},
81+
{
82+
"id": "Condition.encounter",
83+
"path": "Condition.encounter",
84+
"max": "0"
85+
},
86+
{
87+
"id": "Condition.onset[x]",
88+
"path": "Condition.onset[x]",
89+
"type": [
90+
{
91+
"code": "dateTime"
92+
}
93+
]
94+
},
95+
{
96+
"id": "Condition.abatement[x]",
97+
"path": "Condition.abatement[x]",
98+
"type": [
99+
{
100+
"code": "dateTime"
101+
}
102+
]
103+
},
104+
{
105+
"id": "Condition.recordedDate",
106+
"path": "Condition.recordedDate",
107+
"min": 1
108+
},
109+
{
110+
"id": "Condition.stage",
111+
"path": "Condition.stage",
112+
"max": "1"
113+
},
114+
{
115+
"id": "Condition.stage.assessment",
116+
"path": "Condition.stage.assessment",
117+
"max": "0"
118+
}
119+
]
120+
}
121+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"resourceType": "StructureDefinition",
3+
"url": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Consent-Genomics",
4+
"name": "NHSDigital_Consent_Genomics",
5+
"status": "draft",
6+
"fhirVersion": "4.0.1",
7+
"kind": "resource",
8+
"abstract": false,
9+
"type": "Consent",
10+
"baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Consent",
11+
"derivation": "constraint",
12+
"differential": {
13+
"element": [
14+
{
15+
"id": "Consent.identifier",
16+
"path": "Consent.identifier",
17+
"max": "1"
18+
},
19+
{
20+
"id": "Consent.patient",
21+
"path": "Consent.patient",
22+
"min": 1
23+
},
24+
{
25+
"id": "Consent.dateTime",
26+
"path": "Consent.dateTime",
27+
"min": 1
28+
},
29+
{
30+
"id": "Consent.performer",
31+
"path": "Consent.performer",
32+
"min": 1,
33+
"max": "1"
34+
},
35+
{
36+
"id": "Consent.organization",
37+
"path": "Consent.organization",
38+
"min": 1,
39+
"max": "1"
40+
},
41+
{
42+
"id": "Consent.source[x]",
43+
"path": "Consent.source[x]",
44+
"min": 1
45+
},
46+
{
47+
"id": "Consent.policy",
48+
"path": "Consent.policy",
49+
"max": "0"
50+
},
51+
{
52+
"id": "Consent.policyRule",
53+
"path": "Consent.policyRule",
54+
"max": "0"
55+
},
56+
{
57+
"id": "Consent.verification",
58+
"path": "Consent.verification",
59+
"min": 1,
60+
"max": "1"
61+
}
62+
]
63+
}
64+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"resourceType": "StructureDefinition",
3+
"url": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Observation-Genomics",
4+
"name": "NHSDigital_Observation_Genomics",
5+
"status": "draft",
6+
"fhirVersion": "4.0.1",
7+
"kind": "resource",
8+
"abstract": false,
9+
"type": "Observation",
10+
"baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation",
11+
"derivation": "constraint",
12+
"differential": {
13+
"element": [
14+
{
15+
"id": "Observation.identifier",
16+
"path": "Observation.identifier",
17+
"max": "1"
18+
},
19+
{
20+
"id": "Observation.basedOn",
21+
"path": "Observation.basedOn",
22+
"max": "0"
23+
},
24+
{
25+
"id": "Observation.partOf",
26+
"path": "Observation.partOf",
27+
"max": "0"
28+
},
29+
{
30+
"id": "Observation.subject",
31+
"path": "Observation.subject",
32+
"min": 1
33+
},
34+
{
35+
"id": "Observation.focus",
36+
"path": "Observation.focus",
37+
"max": "1"
38+
},
39+
{
40+
"id": "Observation.encounter",
41+
"path": "Observation.encounter",
42+
"max": "0"
43+
},
44+
{
45+
"id": "Observation.effective[x]",
46+
"path": "Observation.effective[x]",
47+
"type": [
48+
{
49+
"code": "dateTime"
50+
},
51+
{
52+
"code": "Period"
53+
},
54+
{
55+
"code": "Timing"
56+
}
57+
]
58+
},
59+
{
60+
"id": "Observation.issued",
61+
"path": "Observation.issued",
62+
"max": "0"
63+
},
64+
{
65+
"id": "Observation.dataAbsentReason",
66+
"path": "Observation.dataAbsentReason",
67+
"max": "0"
68+
},
69+
{
70+
"id": "Observation.interpretation",
71+
"path": "Observation.interpretation",
72+
"max": "1"
73+
},
74+
{
75+
"id": "Observation.note",
76+
"path": "Observation.note",
77+
"max": "1"
78+
},
79+
{
80+
"id": "Observation.hasMember",
81+
"path": "Observation.hasMember",
82+
"max": "0"
83+
},
84+
{
85+
"id": "Observation.derivedFrom",
86+
"path": "Observation.derivedFrom",
87+
"max": "0"
88+
}
89+
]
90+
}
91+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"resourceType": "StructureDefinition",
3+
"url": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization-Genomics",
4+
"name": "NHSDigital_Organization_Genomics",
5+
"status": "draft",
6+
"fhirVersion": "4.0.1",
7+
"kind": "resource",
8+
"abstract": false,
9+
"type": "Organization",
10+
"baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization",
11+
"derivation": "constraint",
12+
"differential": {
13+
"element": [
14+
{
15+
"id": "Organization.extension",
16+
"path": "Organization.extension",
17+
"slicing": {
18+
"discriminator": [
19+
{
20+
"type": "value",
21+
"path": "url"
22+
}
23+
],
24+
"rules": "open"
25+
},
26+
"min": 0
27+
},
28+
{
29+
"id": "Organization.extension:mainLocation",
30+
"path": "Organization.extension",
31+
"sliceName": "mainLocation",
32+
"min": 0,
33+
"max": "1"
34+
},
35+
{
36+
"id": "Organization.identifier",
37+
"path": "Organization.identifier",
38+
"min": 1,
39+
"max": "1"
40+
},
41+
{
42+
"id": "Organization.identifier:odsOrganisationCode",
43+
"path": "Organization.identifier",
44+
"sliceName": "odsOrganisationCode",
45+
"min": 1
46+
},
47+
{
48+
"id": "Organization.active",
49+
"path": "Organization.active",
50+
"max": "0"
51+
},
52+
{
53+
"id": "Organization.type",
54+
"path": "Organization.type",
55+
"min": 1
56+
},
57+
{
58+
"id": "Organization.name",
59+
"path": "Organization.name",
60+
"min": 1
61+
},
62+
{
63+
"id": "Organization.alias",
64+
"path": "Organization.alias",
65+
"max": "0"
66+
},
67+
{
68+
"id": "Organization.address",
69+
"path": "Organization.address",
70+
"min": 1,
71+
"max": "1"
72+
},
73+
{
74+
"id": "Organization.endpoint",
75+
"path": "Organization.endpoint",
76+
"max": "1"
77+
}
78+
]
79+
}
80+
}

0 commit comments

Comments
 (0)