Skip to content

Commit 8d29ada

Browse files
authored
Merge pull request #5 from NHSDigital/Feature-Extensions-and-CodeSystems
Extensions and CodeSystems
2 parents 70aafb2 + 05a99bd commit 8d29ada

30 files changed

Lines changed: 1441 additions & 17 deletions

File tree

Bundle/UKCore-Bundle-MichaelJonesRequest-Example_v3_message.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,16 @@
513513
"resource": {
514514
"resourceType": "ServiceRequest",
515515
"id": "66c519dd-423f-4238-89c8-91c5be52f330",
516+
"extension": [
517+
{
518+
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-Genomics-Coverage",
519+
"valueCoding": {
520+
"system": "https://fhir.nhs.uk/CodeSystem/coverage-genomics",
521+
"code": "NHS",
522+
"display": "NHS"
523+
}
524+
}
525+
],
516526
"identifier": [
517527
{
518528
"system": "https://www.christie.nhs.uk/ehr",

CapabilityStatement/CapabilityStatement-genomics-requirements.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
},
130130
{
131131
"type": "RelatedPerson",
132-
"profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson"
132+
"profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-RelatedPerson-Genomics"
133133
},
134134
{
135135
"type": "Specimen",
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"resourceType": "CodeSystem",
3+
"url": "https://fhir.nhs.uk/CodeSystem/coverage-genomics",
4+
"identifier": [
5+
{
6+
"system": "https://fhir.nhs.uk/identifier/CodeSystem",
7+
"value": "coverage-genomics"
8+
}
9+
],
10+
"version": "0.1.0",
11+
"name": "CoverageGenomics",
12+
"title": "Coverage Genomics",
13+
"status": "draft",
14+
"date": "2022-12-05",
15+
"publisher": "NHS Digital",
16+
"contact": [
17+
{
18+
"name": "NHS Digital",
19+
"telecom": [
20+
{
21+
"system": "email",
22+
"value": "interoperabilityteam@nhs.net",
23+
"use": "work"
24+
}
25+
]
26+
}
27+
],
28+
"description": "Categories for coverage for ServiceReqeusts in genomics",
29+
"copyright": "Copyright © 2022 NHS Digital",
30+
"caseSensitive": true,
31+
"content": "complete",
32+
"concept": [
33+
{
34+
"code": "NHS",
35+
"display": "NHS"
36+
},
37+
{
38+
"code": "Private",
39+
"display": "Private"
40+
}
41+
]
42+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"resourceType": "CodeSystem",
3+
"url": "https://fhir.nhs.uk/CodeSystem/nhsnumber-unavailable-reason-genomics",
4+
"identifier": [
5+
{
6+
"system": "https://fhir.nhs.uk/identifier/CodeSystem",
7+
"value": "nhsnumber-unavailable-reason"
8+
}
9+
],
10+
"version": "0.1.0",
11+
"name": "NHSNumberUnavailableReasonGenomics",
12+
"title": "NHSNumber Unavailable Reason Genomics",
13+
"status": "draft",
14+
"date": "2022-12-05",
15+
"publisher": "NHS Digital",
16+
"contact": [
17+
{
18+
"name": "NHS Digital",
19+
"telecom": [
20+
{
21+
"system": "email",
22+
"value": "interoperabilityteam@nhs.net",
23+
"use": "work"
24+
}
25+
]
26+
}
27+
],
28+
"description": "Reason why an NHS number is unavailable",
29+
"copyright": "Copyright © 2022 NHS Digital",
30+
"caseSensitive": true,
31+
"content": "complete",
32+
"concept": [
33+
{
34+
"code": "NotKnown",
35+
"display": "NHS Number not known"
36+
},
37+
{
38+
"code": "Overseas",
39+
"display": "Overseas patient"
40+
}
41+
]
42+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"resourceType": "CodeSystem",
3+
"url": "https://fhir.nhs.uk/CodeSystem/sample-state-genomics",
4+
"identifier": [
5+
{
6+
"system": "https://fhir.nhs.uk/identifier/CodeSystem",
7+
"value": "sample-state-genomics"
8+
}
9+
],
10+
"version": "0.1.0",
11+
"name": "SampleStateGenomics",
12+
"title": "Sample State Genomics",
13+
"status": "draft",
14+
"date": "2022-12-05",
15+
"publisher": "NHS Digital",
16+
"contact": [
17+
{
18+
"name": "NHS Digital",
19+
"telecom": [
20+
{
21+
"system": "email",
22+
"value": "interoperabilityteam@nhs.net",
23+
"use": "work"
24+
}
25+
]
26+
}
27+
],
28+
"description": "The type of sample, for use in Specimen resources in genomics",
29+
"copyright": "Copyright © 2022 NHS Digital",
30+
"caseSensitive": true,
31+
"content": "complete",
32+
"concept": [
33+
{
34+
"code": "ST",
35+
"display": "Solid tumour sample"
36+
},
37+
{
38+
"code": "LT",
39+
"display": "Liquid tumour sample"
40+
},
41+
{
42+
"code": "N",
43+
"display": "Normal"
44+
},
45+
{
46+
"code": "G",
47+
"display": "Germline sample"
48+
}
49+
]
50+
}

Consent/UKCore-Consent-MichaelJonesConsent-Example.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{
22
"resourceType": "Consent",
33
"id": "UKCore-Consent-MichaelJonesConsent-Example",
4-
"meta": {
5-
"profile": [
6-
"https://fhir.hl7.org.uk/StructureDefinition/UKCore-Consent"
7-
]
8-
},
94
"identifier": [
105
{
116
"system": "https://www.christie.nhs.uk/ehr",
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"resourceType": "NamingSystem",
3+
"id": "genomics-pedigree-number",
4+
"name": "GenomicsPedigreeNumber",
5+
"status": "draft",
6+
"kind": "identifier",
7+
"date": "2022-12-05",
8+
"publisher": "NHS Digital",
9+
"responsible": "NHS Genomic Interop Programme",
10+
"description": "Clinical genetics no/pedigree number",
11+
"usage": "Patient's genetic/pedigree number which links their family.",
12+
"uniqueId": [
13+
{
14+
"type": "uri",
15+
"value": "https://fhir.nhs.uk/Id/genomics-pedigree-number",
16+
"preferred": true
17+
}
18+
]
19+
}

ServiceRequest/UKCore-ServiceRequest-MichaelJonesDYPDRequest-Example.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
{
22
"resourceType": "ServiceRequest",
33
"id": "UKCore-ServiceRequest-MichaelJonesDYPDRequest-Example",
4+
"extension": [
5+
{
6+
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-Genomics-Coverage",
7+
"valueCoding": {
8+
"system": "https://fhir.nhs.uk/CodeSystem/coverage-genomics",
9+
"code": "NHS",
10+
"display": "NHS"
11+
}
12+
}
13+
],
414
"identifier": [
515
{
616
"system": "https://www.christie.nhs.uk/ehr",
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"resourceType": "StructureDefinition",
3+
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-Genomics-AdditionalContact",
4+
"version": "0.1.0",
5+
"name": "GenomicsAdditionalContact",
6+
"status": "draft",
7+
"date": "2022-12-05",
8+
"publisher": "NHS Digital",
9+
"fhirVersion": "4.0.1",
10+
"kind": "complex-type",
11+
"abstract": false,
12+
"context": [
13+
{
14+
"type": "element",
15+
"expression": "ServiceRequest"
16+
}
17+
],
18+
"type": "Extension",
19+
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
20+
"derivation": "constraint",
21+
"differential": {
22+
"element": [
23+
{
24+
"id": "Extension",
25+
"path": "Extension",
26+
"short": "Additional contacts for the ServiceRequest",
27+
"definition": "To know who additionally should be contacted with questions or clinical results and how they should be contacted."
28+
},
29+
{
30+
"id": "Extension.url",
31+
"path": "Extension.url",
32+
"fixedUri": "https://fhir.nhs.uk/fhir/StructureDefinition/Extension-Genomics-AdditionalContact"
33+
},
34+
{
35+
"id": "Extension.value[x]",
36+
"path": "Extension.value[x]",
37+
"min": 1,
38+
"type": [
39+
{
40+
"code": "Reference",
41+
"targetProfile": [
42+
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-PractitionerRole-Genomics"
43+
],
44+
"aggregation": [
45+
"referenced",
46+
"bundled"
47+
]
48+
}
49+
]
50+
}
51+
]
52+
}
53+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"resourceType": "StructureDefinition",
3+
"id": "Extension-Genomics-BirthSex",
4+
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-Genomics-BirthSex",
5+
"version": "0.1.0",
6+
"name": "GenomicsBirthSex",
7+
"title": "Genomics BirthSex",
8+
"status": "draft",
9+
"date": "2022-12-05",
10+
"publisher": "NHS Digital",
11+
"contact": [
12+
{
13+
"name": "NHS Digital",
14+
"telecom": [
15+
{
16+
"system": "email",
17+
"value": "interoperabilityteam@nhs.net",
18+
"use": "work",
19+
"rank": 1
20+
}
21+
]
22+
}
23+
],
24+
"description": "An extension to support the patient's phenotypic sex at birth.",
25+
"purpose": "This extension extends the Patient resource to support the exchange of the patient's phenotypic sex at birth information, as a Codeable Concept, which is currently not supported by the FHIR standard.",
26+
"copyright": "Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html.",
27+
"fhirVersion": "4.0.1",
28+
"mapping": [
29+
{
30+
"identity": "rim",
31+
"uri": "http://hl7.org/v3",
32+
"name": "RIM Mapping"
33+
}
34+
],
35+
"kind": "complex-type",
36+
"abstract": false,
37+
"context": [
38+
{
39+
"type": "element",
40+
"expression": "RelatedPerson"
41+
}
42+
],
43+
"type": "Extension",
44+
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
45+
"derivation": "constraint",
46+
"differential": {
47+
"element": [
48+
{
49+
"id": "Extension",
50+
"path": "Extension",
51+
"short": "An extension to support the patient's phenotypic sex at birth.",
52+
"definition": "An extension to support the patient's phenotypic sex at birth.",
53+
"max": "1"
54+
},
55+
{
56+
"id": "Extension.url",
57+
"path": "Extension.url",
58+
"fixedUri": "https://fhir.nhs.uk/StructureDefinition/Extension-Genomics-BirthSex"
59+
},
60+
{
61+
"id": "Extension.value[x]",
62+
"path": "Extension.value[x]",
63+
"short": "A code that defines a patient's phenotypic sex at birth.",
64+
"definition": "A code that defines a patient's phenotypic sex at birth.",
65+
"min": 1,
66+
"type": [
67+
{
68+
"code": "code"
69+
}
70+
],
71+
"binding": {
72+
"strength": "required",
73+
"valueSet": "https://fhir.hl7.org.uk/ValueSet/UKCore-BirthSex"
74+
}
75+
}
76+
]
77+
}
78+
}

0 commit comments

Comments
 (0)