Skip to content

Commit 05a99bd

Browse files
committed
Specimen extensions and codesystems
1 parent 007a11e commit 05a99bd

8 files changed

Lines changed: 553 additions & 0 deletions
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+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"resourceType": "StructureDefinition",
3+
"id": "genomics-histology-morphology-behavior",
4+
"url": "https://fhir.nhs.uk/StructureDefinition/mcode-histology-morphology-behavior",
5+
"version": "2.0.0",
6+
"name": "HistologyMorphologyBehavior",
7+
"title": "Histology-Morphology-Behavior Extension",
8+
"status": "active",
9+
"date": "2022-01-18T03:26:29+00:00",
10+
"publisher": "HL7 International Clinical Interoperability Council",
11+
"contact": [
12+
{
13+
"name": "HL7 International Clinical Interoperability Council",
14+
"telecom": [
15+
{
16+
"system": "url",
17+
"value": "http://www.hl7.org/Special/committees/cic"
18+
},
19+
{
20+
"system": "email",
21+
"value": "ciclist@lists.HL7.org"
22+
}
23+
]
24+
}
25+
],
26+
"description": "An extension describing the morphologic and behavioral characteristics of the cancer.",
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": "Specimen"
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": "Histology-Morphology-Behavior Extension",
52+
"definition": "An extension describing the morphologic and behavioral characteristics of the cancer."
53+
},
54+
{
55+
"id": "Extension.extension",
56+
"path": "Extension.extension",
57+
"max": "0"
58+
},
59+
{
60+
"id": "Extension.url",
61+
"path": "Extension.url",
62+
"fixedUri": "https://fhir.nhs.uk/StructureDefinition/mcode-histology-morphology-behavior"
63+
},
64+
{
65+
"id": "Extension.value[x]",
66+
"path": "Extension.value[x]",
67+
"min": 1,
68+
"type": [
69+
{
70+
"code": "CodeableConcept"
71+
}
72+
],
73+
"binding": {
74+
"strength": "extensible",
75+
"valueSet": "https://fhir.nhs.uk/ValueSet/mcode-histology-morphology-behavior-vs"
76+
}
77+
}
78+
]
79+
}
80+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"resourceType": "StructureDefinition",
3+
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-Genomics-SampleState",
4+
"version": "0.1.0",
5+
"name": "GenomicsSampleState",
6+
"status": "draft",
7+
"date": "2022-12-05",
8+
"fhirVersion": "4.0.1",
9+
"kind": "complex-type",
10+
"abstract": false,
11+
"context": [
12+
{
13+
"type": "element",
14+
"expression": "Specimen"
15+
}
16+
],
17+
"type": "Extension",
18+
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
19+
"derivation": "constraint",
20+
"differential": {
21+
"element": [
22+
{
23+
"id": "Extension",
24+
"path": "Extension",
25+
"short": "Sample/Biopsy State",
26+
"definition": "One of: Solid tumour sample, Liquid tumour sample, Normal or germline sample"
27+
},
28+
{
29+
"id": "Extension.url",
30+
"path": "Extension.url",
31+
"fixedUri": "https://fhir.nhs.uk/StructureDefinition/Extension-Genomics-SampleState"
32+
},
33+
{
34+
"id": "Extension.value[x]",
35+
"path": "Extension.value[x]",
36+
"type": [
37+
{
38+
"code": "Coding"
39+
}
40+
],
41+
"binding": {
42+
"strength": "extensible",
43+
"valueSet": "https://fhir.nhs.uk/ValueSet/genomics-sample-state"
44+
}
45+
}
46+
]
47+
}
48+
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"resourceType" : "StructureDefinition",
3+
"id" : "genomics-body-location-qualifier",
4+
"url" : "https://fhir.nhs.uk/StructureDefinition/mcode-body-location-qualifier",
5+
"version" : "2.0.0",
6+
"name" : "BodyLocationQualifier",
7+
"title" : "Body Location Qualifier Extension",
8+
"status" : "active",
9+
"date" : "2022-01-18T03:26:29+00:00",
10+
"publisher" : "HL7 International Clinical Interoperability Council",
11+
"contact" : [
12+
{
13+
"name" : "HL7 International Clinical Interoperability Council",
14+
"telecom" : [
15+
{
16+
"system" : "url",
17+
"value" : "http://www.hl7.org/Special/committees/cic"
18+
},
19+
{
20+
"system" : "email",
21+
"value" : "ciclist@lists.HL7.org"
22+
}
23+
]
24+
}
25+
],
26+
"description" : "Qualifier to refine an body location. These include qualifiers for relative location, directionality, number, and plane, and exclude qualifiers for laterality.",
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" : "Specimen"
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" : "Body Location Qualifier Extension",
52+
"definition" : "Qualifier to refine an body location. These include qualifiers for relative location, directionality, number, and plane, and exclude qualifiers for laterality."
53+
},
54+
{
55+
"id" : "Extension.extension",
56+
"path" : "Extension.extension",
57+
"max" : "0"
58+
},
59+
{
60+
"id" : "Extension.url",
61+
"path" : "Extension.url",
62+
"fixedUri" : "https://fhir.nhs.uk/StructureDefinition/mcode-body-location-qualifier"
63+
},
64+
{
65+
"id" : "Extension.value[x]",
66+
"path" : "Extension.value[x]",
67+
"min" : 1,
68+
"type" : [
69+
{
70+
"code" : "CodeableConcept"
71+
}
72+
],
73+
"binding" : {
74+
"strength" : "required",
75+
"valueSet" : "https://fhir.nhs.uk/ValueSet/mcode-body-location-qualifier-vs"
76+
}
77+
}
78+
]
79+
}
80+
}

StructureDefinition/NHSDigital-Specimen-Genomics.StructureDefinition.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,80 @@
2323
}
2424
]
2525
},
26+
{
27+
"id": "Specimen.extension",
28+
"path": "Specimen.extension",
29+
"slicing": {
30+
"discriminator": [
31+
{
32+
"type": "value",
33+
"path": "url"
34+
}
35+
],
36+
"rules": "open"
37+
},
38+
"min": 0
39+
},
40+
{
41+
"id": "Specimen.extension:state",
42+
"path": "Specimen.extension",
43+
"sliceName": "state",
44+
"min": 0,
45+
"max": "1",
46+
"type": [
47+
{
48+
"code": "Extension",
49+
"profile": [
50+
"https://fhir.nhs.uk/StructureDefinition/Extension-Genomics-SampleState"
51+
]
52+
}
53+
],
54+
"isModifier": false
55+
},
56+
{
57+
"id": "Specimen.extension:topology",
58+
"path": "Specimen.extension",
59+
"sliceName": "topology",
60+
"min": 0,
61+
"max": "1",
62+
"type": [
63+
{
64+
"code": "Extension",
65+
"profile": [
66+
"https://fhir.nhs.uk/StructureDefinition/mcode-body-location-qualifier"
67+
]
68+
}
69+
],
70+
"isModifier": false
71+
},
72+
{
73+
"id": "Specimen.extension:morphology",
74+
"path": "Specimen.extension",
75+
"sliceName": "morphology",
76+
"min": 0,
77+
"max": "1",
78+
"type": [
79+
{
80+
"code": "Extension",
81+
"profile": [
82+
"https://fhir.nhs.uk/StructureDefinition/mcode-histology-morphology-behavior"
83+
]
84+
}
85+
],
86+
"isModifier": false
87+
},
88+
{
89+
"id": "Specimen.identifier.assigner",
90+
"path": "Specimen.identifier.assigner",
91+
"type": [
92+
{
93+
"code": "Reference",
94+
"targetProfile": [
95+
"https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization-Genomics"
96+
]
97+
}
98+
]
99+
},
26100
{
27101
"id": "Specimen.accessionIdentifier",
28102
"path": "Specimen.accessionIdentifier",

0 commit comments

Comments
 (0)