Skip to content

Commit 560e815

Browse files
authored
Merge pull request #149 from NHSDigital/Issue-2660
Corrections to examples and profiles
2 parents 4006b1d + 9677511 commit 560e815

File tree

29 files changed

+299
-105
lines changed

29 files changed

+299
-105
lines changed

Bundle/Bundle-NonWGSTestOrderForm-Example.json

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
],
274274
"supportingInfo": [
275275
{
276-
"reference": "Observation/Observation-DiseaseStatus-Example"
276+
"reference": "Condition/Condition-MonogenicHearingLoss-Example"
277277
},
278278
{
279279
"reference": "Observation/Observation-GenomicEthnicity-Example"
@@ -335,11 +335,28 @@
335335
}
336336
},
337337
{
338-
"fullUrl": "http://example.org/fhir/Observation/Observation-DiseaseStatus-Example",
338+
"fullUrl": "http://example.org/fhir/Condition/Condition-MonogenicHearingLoss-Example",
339339
"resource": {
340-
"resourceType": "Observation",
341-
"id": "Observation-DiseaseStatus-Example",
342-
"status": "final",
340+
"resourceType": "Condition",
341+
"id": "Condition-MonogenicHearingLoss-Example",
342+
"clinicalStatus": {
343+
"coding": [
344+
{
345+
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
346+
"code": "inactive",
347+
"display": "inactive"
348+
}
349+
]
350+
},
351+
"verificationStatus": {
352+
"coding": [
353+
{
354+
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
355+
"code": "provisional",
356+
"display": "Provisional"
357+
}
358+
]
359+
},
343360
"code": {
344361
"coding": [
345362
{
@@ -356,21 +373,11 @@
356373
"system": "https://fhir.nhs.uk/Id/nhs-number",
357374
"value": "9449307873"
358375
}
359-
},
360-
"effectiveDateTime": "2023-08-05",
361-
"valueCodeableConcept": {
362-
"coding": [
363-
{
364-
"system": "http://snomed.info/sct",
365-
"code": "103310001",
366-
"display": "Patient not affected"
367-
}
368-
]
369376
}
370377
},
371378
"request": {
372379
"method": "POST",
373-
"url": "Observation"
380+
"url": "Condition"
374381
}
375382
},
376383
{

Bundle/Bundle-NonWGSTestOrderForm-Reanalysis-Example.json

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
"reference": "Observation/Observation-GenomicEthnicity-Example"
299299
},
300300
{
301-
"reference": "Observation/Observation-DiseaseStatus-Example"
301+
"reference": "Condition/Condition-MonogenicHearingLoss-Example"
302302
},
303303
{
304304
"reference": "Observation/Observation-NoPregnancy-Example"
@@ -362,11 +362,28 @@
362362
}
363363
},
364364
{
365-
"fullUrl": "http://example.org/fhir/Observation/Observation-DiseaseStatus-Example",
365+
"fullUrl": "http://example.org/fhir/Condition/Condition-MonogenicHearingLoss-Example",
366366
"resource": {
367-
"resourceType": "Observation",
368-
"id": "Observation-DiseaseStatus-Example",
369-
"status": "final",
367+
"resourceType": "Condition",
368+
"id": "Condition-MonogenicHearingLoss-Example",
369+
"clinicalStatus": {
370+
"coding": [
371+
{
372+
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
373+
"code": "inactive",
374+
"display": "inactive"
375+
}
376+
]
377+
},
378+
"verificationStatus": {
379+
"coding": [
380+
{
381+
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
382+
"code": "provisional",
383+
"display": "Provisional"
384+
}
385+
]
386+
},
370387
"code": {
371388
"coding": [
372389
{
@@ -383,21 +400,11 @@
383400
"system": "https://fhir.nhs.uk/Id/nhs-number",
384401
"value": "9449307559"
385402
}
386-
},
387-
"effectiveDateTime": "2023-09-06",
388-
"valueCodeableConcept": {
389-
"coding": [
390-
{
391-
"system": "http://snomed.info/sct",
392-
"code": "103310001",
393-
"display": "Patient not affected"
394-
}
395-
]
396403
}
397404
},
398405
"request": {
399406
"method": "POST",
400-
"url": "Observation"
407+
"url": "Condition"
401408
}
402409
},
403410
{

Bundle/Bundle-WGSTestOrderForm-Example.json

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
],
268268
"supportingInfo": [
269269
{
270-
"reference": "Observation/Observation-DiseaseStatus-Example"
270+
"reference": "Condition/Condition-MonogenicHearingLoss-Example"
271271
},
272272
{
273273
"reference": "Observation/Observation-GenomicEthnicity-Example"
@@ -344,17 +344,34 @@
344344
}
345345
},
346346
{
347-
"fullUrl": "http://example.org/fhir/Observation/Observation-DiseaseStatus-Example",
347+
"fullUrl": "http://example.org/fhir/Condition/Condition-MonogenicHearingLoss-Example",
348348
"resource": {
349-
"resourceType": "Observation",
350-
"id": "Observation-DiseaseStatus-Example",
351-
"status": "final",
349+
"resourceType": "Condition",
350+
"id": "Condition-MonogenicHearingLoss-Example",
351+
"clinicalStatus": {
352+
"coding": [
353+
{
354+
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
355+
"code": "inactive",
356+
"display": "inactive"
357+
}
358+
]
359+
},
360+
"verificationStatus": {
361+
"coding": [
362+
{
363+
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
364+
"code": "provisional",
365+
"display": "Provisional"
366+
}
367+
]
368+
},
352369
"code": {
353370
"coding": [
354371
{
355372
"system": "https://fhir.nhs.uk/CodeSystem/England-GenomicTestDirectory",
356-
"code": "R193.4",
357-
"display": "Cystic renal disease",
373+
"code": "R67.2",
374+
"display": "Monogenic hearing loss",
358375
"version": "7"
359376
}
360377
]
@@ -365,21 +382,11 @@
365382
"system": "https://fhir.nhs.uk/Id/nhs-number",
366383
"value": "9449307946"
367384
}
368-
},
369-
"effectiveDateTime": "2023-08-05",
370-
"valueCodeableConcept": {
371-
"coding": [
372-
{
373-
"system": "http://snomed.info/sct",
374-
"code": "103310001",
375-
"display": "Patient not affected"
376-
}
377-
]
378385
}
379386
},
380387
"request": {
381388
"method": "POST",
382-
"url": "Observation"
389+
"url": "Condition"
383390
}
384391
},
385392
{

CapabilityStatement/CapabilityStatement-genomics-application.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@
14421442
},
14431443
{
14441444
"type": "RelatedPerson",
1445-
"profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-RelatedPerson-Genomics",
1445+
"profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
14461446
"documentation": "Endpoints for interacting with RelatedPerson resources",
14471447
"interaction": [
14481448
{
@@ -1839,7 +1839,7 @@
18391839
},
18401840
{
18411841
"type": "Composition",
1842-
"profile": "http://hl7.org/fhir/StructureDefinition/Composition",
1842+
"profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition",
18431843
"documentation": "For validation of Composition resources and allowing searches via chaining from the Bundle endpoint",
18441844
"interaction": [
18451845
{

CapabilityStatement/CapabilityStatement-genomics-requirements.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
{
4343
"type": "Composition",
44-
"profile": "http://hl7.org/fhir/StructureDefinition/Composition"
44+
"profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition"
4545
},
4646
{
4747
"type": "DocumentReference",
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"resourceType": "Condition",
3+
"id": "Condition-MonogenicHearingLoss-Example",
4+
"clinicalStatus": {
5+
"coding": [
6+
{
7+
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
8+
"code": "inactive",
9+
"display": "inactive"
10+
}
11+
]
12+
},
13+
"verificationStatus": {
14+
"coding": [
15+
{
16+
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
17+
"code": "provisional",
18+
"display": "Provisional"
19+
}
20+
]
21+
},
22+
"code": {
23+
"coding": [
24+
{
25+
"system": "https://fhir.nhs.uk/CodeSystem/England-GenomicTestDirectory",
26+
"code": "R67.2",
27+
"display": "Monogenic hearing loss",
28+
"version": "7"
29+
}
30+
]
31+
},
32+
"subject": {
33+
"reference": "Patient/Patient-MeirLieberman-Example",
34+
"identifier": {
35+
"system": "https://fhir.nhs.uk/Id/nhs-number",
36+
"value": "9449307873"
37+
}
38+
}
39+
}

Observation/Observation-DiseaseStatus-Example.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)