Skip to content

Commit 11a29f7

Browse files
Merge pull request #6 from NHSDigital/Feature-Workflow-Resources
Feature workflow resources
2 parents 8d29ada + f39e036 commit 11a29f7

31 files changed

Lines changed: 1218 additions & 57 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ validation
77
IOPS-validation
88
validation-service-fhir-r4
99
.idea/workspace.xml
10+
NHSDigital-DiagnosticReport-Genomics-International.StructureDefinition.json
Lines changed: 195 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
{
2+
"resourceType": "Bundle",
3+
"id": "UKCore-Bundle-MichaelJonesRequest-Example-Minimal",
4+
"identifier": {
5+
"system": "https://tools.ietf.org/html/rfc4122",
6+
"value": "30d65c8e-98e8-4806-b6a6-51e94733f0e9"
7+
},
8+
"type": "message",
9+
"timestamp": "2022-07-11T09:00:00Z",
10+
"entry": [
11+
{
12+
"fullUrl": "urn:uuid:a4409d7c-b613-477c-b623-87e60406c2f0",
13+
"resource": {
14+
"resourceType": "MessageHeader",
15+
"id": "a4409d7c-b613-477c-b623-87e60406c2f0",
16+
"eventCoding": {
17+
"system": "https://fhir.nhs.uk/CodeSystem/message-events-genomics",
18+
"code": "genomictestrequest",
19+
"display": "Genomic Test Request"
20+
},
21+
"source": {
22+
"endpoint": "https://www.christie.nhs.uk/ehr"
23+
},
24+
"focus": [
25+
{
26+
"reference": "urn:uuid:66c519dd-423f-4238-89c8-91c5be52f330"
27+
}
28+
]
29+
}
30+
},
31+
{
32+
"fullUrl": "urn:uuid:41e4b604-37f3-4799-a6b3-ab5b104f3c97",
33+
"resource": {
34+
"resourceType": "Patient",
35+
"id": "41e4b604-37f3-4799-a6b3-ab5b104f3c97",
36+
"extension": [
37+
{
38+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex",
39+
"valueCode": "M"
40+
},
41+
{
42+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
43+
"valueCodeableConcept": {
44+
"coding": [
45+
{
46+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland",
47+
"code": "A",
48+
"display": "White - British"
49+
}
50+
]
51+
}
52+
},
53+
{
54+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ResidentialStatus",
55+
"valueCodeableConcept": {
56+
"coding": [
57+
{
58+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-ResidentialStatus",
59+
"code": "H",
60+
"display": "UK Resident"
61+
}
62+
]
63+
}
64+
}
65+
],
66+
"identifier": [
67+
{
68+
"system": "https://fhir.nhs.uk/Id/nhs-number",
69+
"value": "9999999999"
70+
}
71+
],
72+
"name": [
73+
{
74+
"family": "Jones",
75+
"given": [
76+
"Michael"
77+
]
78+
}
79+
],
80+
"gender": "male",
81+
"birthDate": "1989-12-08",
82+
"address": [
83+
{
84+
"line": [
85+
"48 Astoria Drive"
86+
],
87+
"city": "Coventry",
88+
"postalCode": "CV4 9ZY"
89+
}
90+
]
91+
}
92+
},
93+
{
94+
"fullUrl": "urn:uuid:66c519dd-423f-4238-89c8-91c5be52f330",
95+
"resource": {
96+
"resourceType": "ServiceRequest",
97+
"id": "66c519dd-423f-4238-89c8-91c5be52f330",
98+
"extension": [
99+
{
100+
"url": "https://fhir.nhs.uk/StructureDefinition/Extension-Genomics-Coverage",
101+
"valueCoding": {
102+
"system": "https://fhir.nhs.uk/CodeSystem/coverage-genomics",
103+
"code": "NHS",
104+
"display": "NHS"
105+
}
106+
}
107+
],
108+
"identifier": [
109+
{
110+
"system": "https://www.christie.nhs.uk/ehr",
111+
"value": "LabOrder123456"
112+
}
113+
],
114+
"status": "active",
115+
"intent": "order",
116+
"category": [
117+
{
118+
"coding": [
119+
{
120+
"system": "http://snomed.info/sct",
121+
"code": "405824009",
122+
"display": "Genetic test"
123+
}
124+
]
125+
}
126+
],
127+
"priority": "routine",
128+
"code": {
129+
"coding": [
130+
{
131+
"system": "http://snomed.info/sct",
132+
"code": "63491000000109",
133+
"display": "Paediatric IDH-wildtype glioblastoma tumour and germline WGS (whole genome sequencing)"
134+
}
135+
]
136+
},
137+
"subject": {
138+
"reference": "urn:uuid:41e4b604-37f3-4799-a6b3-ab5b104f3c97"
139+
},
140+
"authoredOn": "2022-07-11T09:00:00Z",
141+
"requester": {
142+
"reference": "urn:uuid:3462583a-536c-4bad-99d3-44dc553921fd"
143+
},
144+
"reasonCode": [
145+
{
146+
"coding": [
147+
{
148+
"system": "http://snomed.info/sct",
149+
"code": "363418001",
150+
"display": "Malignant tumor of pancreas (disorder)"
151+
}
152+
]
153+
}
154+
]
155+
}
156+
},
157+
{
158+
"fullUrl": "urn:uuid:3462583a-536c-4bad-99d3-44dc553921fd",
159+
"resource": {
160+
"resourceType": "PractitionerRole",
161+
"id": "3462583a-536c-4bad-99d3-44dc553921fd",
162+
"identifier": [
163+
{
164+
"system": "https://fhir.nhs.uk/Id/sds-role-profile-id",
165+
"value": "100102238986"
166+
}
167+
],
168+
"practitioner": {
169+
"identifier": {
170+
"system": "https://fhir.hl7.org.uk/Id/gmc-number",
171+
"value": "C9999999"
172+
},
173+
"display": "Lucy Hale"
174+
},
175+
"organization": {
176+
"identifier": {
177+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
178+
"value": "RBV"
179+
},
180+
"display": "NHS Trust - THE CHRISTIE NHS FOUNDATION TRUST"
181+
},
182+
"telecom" : [
183+
{
184+
"system": "email",
185+
"value": "lucy.hale@nhs.net"
186+
},
187+
{
188+
"system": "phone",
189+
"value": "02476151602"
190+
}
191+
]
192+
}
193+
}
194+
]
195+
}

Bundle/UKCore-Bundle-MichaelJonesRequest-Example_v3_message.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@
405405
"valueCodeableConcept": {
406406
"coding": [
407407
{
408-
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatus",
409-
"code": "number-present-and-verified",
408+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland",
409+
"code": "01",
410410
"display": "Number present and verified"
411411
}
412412
]

CapabilityStatement/CapabilityStatement-genomics-requirements.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
},
8282
{
8383
"type": "Task",
84-
"profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Task"
84+
"profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Task-Genomics"
8585
},
8686
{
8787
"type": "ServiceRequest",
@@ -101,7 +101,7 @@
101101
},
102102
{
103103
"type": "DiagnosticReport",
104-
"profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport"
104+
"profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-DiagnosticReport-Genomics"
105105
},
106106
{
107107
"type": "FamilyMemberHistory",

CodeSystem/CodeSystem-Genomics-business-status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"concept": [
3434
{
3535
"code": "AwaitingSpecimen",
36-
"display": "AwaitingSpecimen"
36+
"display": "Awaiting Specimen"
3737
},
3838
{
3939
"code": "SpecimenReceived",
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"resourceType": "Condition",
3+
"id": "UKCore-Condition-PancreaticCancer-Example",
4+
"clinicalStatus": {
5+
"coding": [
6+
{
7+
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
8+
"code": "active",
9+
"display": "Active"
10+
}
11+
]
12+
},
13+
"verificationStatus": {
14+
"coding": [
15+
{
16+
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
17+
"code": "confirmed",
18+
"display": "Confirmed"
19+
}
20+
]
21+
},
22+
"code": {
23+
"coding": [
24+
{
25+
"system": "http://snomed.info/sct",
26+
"code": "363418001",
27+
"display": "Malignant tumour of pancreas"
28+
}
29+
]
30+
},
31+
"subject": {
32+
"identifier": {
33+
"system": "https://fhir.nhs.uk/Id/nhs-number",
34+
"value": "9999999999"
35+
}
36+
},
37+
"recordedDate": "2022-07-11T09:00:00Z"
38+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"resourceType": "Consent",
3+
"id": "UKCore-Consent-MichaelJonesConsent-Example-Minimal",
4+
"identifier": [
5+
{
6+
"system": "https://www.christie.nhs.uk/ehr",
7+
"value": "Consent123456"
8+
}
9+
],
10+
"status": "active",
11+
"scope": {
12+
"coding": [
13+
{
14+
"system": "http://terminology.hl7.org/CodeSystem/consentscope",
15+
"code": "research",
16+
"display": "Research"
17+
}
18+
]
19+
},
20+
"category": [
21+
{
22+
"coding": [
23+
{
24+
"system": "http://terminology.hl7.org/CodeSystem/consentcategorycodes",
25+
"code": "rsdid",
26+
"display": "De-identified Information Access"
27+
}
28+
]
29+
}
30+
],
31+
"patient": {
32+
"identifier": {
33+
"system": "https://fhir.nhs.uk/Id/nhs-number",
34+
"value": "9999999999"
35+
}
36+
},
37+
"dateTime": "2022-07-11T09:00:00Z",
38+
"performer": [
39+
{
40+
"identifier": {
41+
"system": "https://fhir.nhs.uk/Id/nhs-number",
42+
"value": "9999999999"
43+
}
44+
}
45+
],
46+
"organization": [
47+
{
48+
"identifier": {
49+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
50+
"value": "RBV"
51+
}
52+
}
53+
],
54+
"sourceAttachment": {
55+
"contentType": "application/pdf",
56+
"language": "en-GB",
57+
"url": "https://files.genomicsengland.co.uk/forms/Participant-consent-form-for-patients-with-cancer-or-suspected-cancer-C1.pdf",
58+
"size": 539588,
59+
"title" : "Participant-consent-form-for-patients-with-cancer-or-suspected-cancer-C1_MJ",
60+
"creation": "2022-07-11T09:00:00Z"
61+
},
62+
"policy": [
63+
{
64+
"uri": "https://www.england.nhs.uk/wp-content/uploads/2021/09/nhs-genomic-medicine-service-record-of-discussion-form.pdf"
65+
}
66+
],
67+
"verification": [
68+
{
69+
"verified": true
70+
}
71+
]
72+
}

0 commit comments

Comments
 (0)