Skip to content

Commit 533613b

Browse files
authored
Merge pull request #27 from NHSDigital/IOPS-1250
Updates following tech arch review
2 parents 0518758 + f262b4e commit 533613b

18 files changed

Lines changed: 404 additions & 210 deletions

Bundle/Bundle-NonWGSTestOrderForm-Example.json

Lines changed: 79 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@
99
"resourceType": "PractitionerRole",
1010
"id": "PractitionerRole-GeneSmithENT-Example",
1111
"practitioner": {
12-
"reference": "Practitioner/Practitioner-GeneSmith-Example",
1312
"identifier": {
1413
"system": "https://fhir.nhs.uk/Id/sds-user-id",
1514
"value": "9999999999"
1615
},
1716
"display": "Dr. Gene Smith"
1817
},
1918
"organization": {
20-
"reference": "Organization/Organization-AddenbrookesHospital-Example",
2119
"identifier": {
2220
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
2321
"value": "RGT01"
@@ -47,7 +45,12 @@
4745
{
4846
"system": "email",
4947
"value": "Add-tr.entsecretaries@nhs.net",
50-
"use": "work"
48+
"extension": [
49+
{
50+
"url": "http://hl7.org/fhir/StructureDefinition/contactpoint-comment",
51+
"valueString": "reporting"
52+
}
53+
]
5154
}
5255
]
5356
},
@@ -82,11 +85,32 @@
8285
"identifier": [
8386
{
8487
"system": "https://fhir.nhs.uk/Id/nhs-number",
85-
"value": "9449307873"
88+
"value": "9449307873",
89+
"extension": [
90+
{
91+
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus",
92+
"valueCodeableConcept": {
93+
"coding": [
94+
{
95+
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland",
96+
"version": "2.2.0",
97+
"code": "01",
98+
"display": "Number present and verified"
99+
}
100+
]
101+
}
102+
}
103+
]
86104
},
87105
{
88106
"system": "https://fhir.add.nhs.uk/Id/MRN",
89-
"value": "RGT012423"
107+
"value": "RGT012423",
108+
"assigner": {
109+
"identifier": {
110+
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
111+
"value": "RGT01"
112+
}
113+
}
90114
},
91115
{
92116
"system": "https://fhir.nhs.uk/Id/genomics-pedigree-number",
@@ -117,12 +141,18 @@
117141
],
118142
"generalPractitioner": [
119143
{
120-
"reference": "PractitionerRole/PractitionerRole-AeroSmith-Example",
121144
"identifier": {
122145
"system": "https://fhir.hl7.org.uk/Id/gmp-number",
123146
"value": "G9999999"
124147
},
125-
"display": "Dr. Aero Smith, 123 Test Practice"
148+
"display": "Dr. Aero Smith"
149+
},
150+
{
151+
"identifier": {
152+
"system": "https://fhir.hl7.org.uk/Id/ODS-code",
153+
"value": "TP123"
154+
},
155+
"display": "123 Test Practice"
126156
}
127157
],
128158
"link": [
@@ -136,7 +166,8 @@
136166
},
137167
"request": {
138168
"method": "POST",
139-
"url": "Patient"
169+
"url": "Patient",
170+
"ifNoneExist": "Patient?identifier=https://fhir.nhs.uk/Id/nhs-number|9449307873"
140171
}
141172
},
142173
{
@@ -219,11 +250,7 @@
219250
},
220251
"authoredOn": "2023-08-05",
221252
"requester": {
222-
"reference": "PractitionerRole/PractitionerRole-GeneSmithENT-Example",
223-
"identifier": {
224-
"system": "https://fhir.nhs.uk/Id/sds-user-id",
225-
"value": "9999999999"
226-
}
253+
"reference": "PractitionerRole/PractitionerRole-GeneSmithENT-Example"
227254
},
228255
"reasonCode": [
229256
{
@@ -236,12 +263,10 @@
236263
]
237264
}
238265
],
239-
"reasonReference": [
240-
{
241-
"reference": "Condition/Condition-DiseaseStatus-Example"
242-
}
243-
],
244266
"supportingInfo": [
267+
{
268+
"reference": "Observation/Observation-DiseaseStatus-Example"
269+
},
245270
{
246271
"reference": "Observation/Observation-GenomicEthnicity-Example"
247272
},
@@ -252,10 +277,10 @@
252277
"reference": "FamilyMemberHistory/FamilyMemberHistory-NonConsanguinousUnion-Example"
253278
},
254279
{
255-
"reference": "Procedure/Procedure-NoTransplant-Example"
280+
"reference": "Observation/Observation-NoTransplant-Example"
256281
},
257282
{
258-
"reference": "Procedure/Procedure-NoTransfusion-Example"
283+
"reference": "Observation/Observation-NoTransfusion-Example"
259284
},
260285
{
261286
"reference": "Condition/Condition-HearingLoss-Example"
@@ -285,8 +310,8 @@
285310
"coding": [
286311
{
287312
"system": "http://snomed.info/sct",
288-
"code": "60001007",
289-
"display": "Not pregnant"
313+
"code": "77386006",
314+
"display": "Pregnancy"
290315
}
291316
]
292317
},
@@ -298,27 +323,19 @@
298323
}
299324
},
300325
"effectiveDateTime": "2023-08-05",
301-
"valueBoolean": true
326+
"valueBoolean": false
302327
},
303328
"request": {
304329
"method": "POST",
305330
"url": "Observation"
306331
}
307332
},
308333
{
309-
"fullUrl": "http://example.org/fhir/Condition/Condition-DiseaseStatus-Example",
334+
"fullUrl": "http://example.org/fhir/Observation/Observation-DiseaseStatus-Example",
310335
"resource": {
311-
"resourceType": "Condition",
312-
"id": "Condition-DiseaseStatus-Example",
313-
"clinicalStatus": {
314-
"coding": [
315-
{
316-
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
317-
"code": "inactive",
318-
"display": "Inactive"
319-
}
320-
]
321-
},
336+
"resourceType": "Observation",
337+
"id": "Observation-DiseaseStatus-Example",
338+
"status": "final",
322339
"code": {
323340
"coding": [
324341
{
@@ -334,11 +351,21 @@
334351
"system": "https://fhir.nhs.uk/Id/nhs-number",
335352
"value": "9449307873"
336353
}
354+
},
355+
"effectiveDateTime": "2023-08-05",
356+
"valueCodeableConcept": {
357+
"coding": [
358+
{
359+
"system": "http://snomed.info/sct",
360+
"code": "103310001",
361+
"display": "Patient not affected"
362+
}
363+
]
337364
}
338365
},
339366
"request": {
340367
"method": "POST",
341-
"url": "Condition"
368+
"url": "Observation"
342369
}
343370
},
344371
{
@@ -408,11 +435,11 @@
408435
}
409436
},
410437
{
411-
"fullUrl": "http://example.org/fhir/Procedure/Procedure-NoTransplant-Example",
438+
"fullUrl": "http://example.org/fhir/Observation/Observation-NoTransplant-Example",
412439
"resource": {
413-
"resourceType": "Procedure",
414-
"id": "Procedure-NoTransplant-Example",
415-
"status": "not-done",
440+
"resourceType": "Observation",
441+
"id": "Observation-NoTransplant-Example",
442+
"status": "final",
416443
"code": {
417444
"coding": [
418445
{
@@ -428,19 +455,21 @@
428455
"system": "https://fhir.nhs.uk/Id/nhs-number",
429456
"value": "9449307873"
430457
}
431-
}
458+
},
459+
"effectiveDateTime": "2023-08-05",
460+
"valueBoolean": false
432461
},
433462
"request": {
434463
"method": "POST",
435-
"url": "Procedure"
464+
"url": "Observation"
436465
}
437466
},
438467
{
439-
"fullUrl": "http://example.org/fhir/Procedure/Procedure-NoTransfusion-Example",
468+
"fullUrl": "http://example.org/fhir/Observation/Observation-NoTransfusion-Example",
440469
"resource": {
441-
"resourceType": "Procedure",
442-
"id": "Procedure-NoTransfusion-Example",
443-
"status": "not-done",
470+
"resourceType": "Observation",
471+
"id": "Observation-NoTransfusion-Example",
472+
"status": "final",
444473
"code": {
445474
"coding": [
446475
{
@@ -456,11 +485,13 @@
456485
"system": "https://fhir.nhs.uk/Id/nhs-number",
457486
"value": "9449307873"
458487
}
459-
}
488+
},
489+
"effectiveDateTime": "2023-08-05",
490+
"valueBoolean": false
460491
},
461492
"request": {
462493
"method": "POST",
463-
"url": "Procedure"
494+
"url": "Observation"
464495
}
465496
},
466497
{

Bundle/Bundle-WGSRoD-Example.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,12 @@
3232
"sourceReference": {
3333
"reference": "QuestionnaireResponse/QuestionnaireResponse-RoD-Example"
3434
},
35-
"policyRule": {
36-
"coding": [
37-
{
38-
"system": "http://terminology.hl7.org/CodeSystem/consentpolicycodes",
39-
"code": "hipaa-research"
40-
}
41-
]
42-
}
35+
"policy": [
36+
{
37+
"authority": "https://www.england.nhs.uk",
38+
"uri": "https://www.england.nhs.uk/publication/nhs-genomic-medicine-service-record-of-discussion-form"
39+
}
40+
]
4341
},
4442
"request": {
4543
"method": "POST",

0 commit comments

Comments
 (0)