Skip to content

Commit

Permalink
Merge pull request #149 from NHSDigital/Issue-2660
Browse files Browse the repository at this point in the history
Corrections to examples and profiles
  • Loading branch information
omarisgreat authored Jan 3, 2025
2 parents 4006b1d + 9677511 commit 560e815
Show file tree
Hide file tree
Showing 29 changed files with 299 additions and 105 deletions.
39 changes: 23 additions & 16 deletions Bundle/Bundle-NonWGSTestOrderForm-Example.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
],
"supportingInfo": [
{
"reference": "Observation/Observation-DiseaseStatus-Example"
"reference": "Condition/Condition-MonogenicHearingLoss-Example"
},
{
"reference": "Observation/Observation-GenomicEthnicity-Example"
Expand Down Expand Up @@ -335,11 +335,28 @@
}
},
{
"fullUrl": "http://example.org/fhir/Observation/Observation-DiseaseStatus-Example",
"fullUrl": "http://example.org/fhir/Condition/Condition-MonogenicHearingLoss-Example",
"resource": {
"resourceType": "Observation",
"id": "Observation-DiseaseStatus-Example",
"status": "final",
"resourceType": "Condition",
"id": "Condition-MonogenicHearingLoss-Example",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "inactive",
"display": "inactive"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "provisional",
"display": "Provisional"
}
]
},
"code": {
"coding": [
{
Expand All @@ -356,21 +373,11 @@
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307873"
}
},
"effectiveDateTime": "2023-08-05",
"valueCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "103310001",
"display": "Patient not affected"
}
]
}
},
"request": {
"method": "POST",
"url": "Observation"
"url": "Condition"
}
},
{
Expand Down
39 changes: 23 additions & 16 deletions Bundle/Bundle-NonWGSTestOrderForm-Reanalysis-Example.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
"reference": "Observation/Observation-GenomicEthnicity-Example"
},
{
"reference": "Observation/Observation-DiseaseStatus-Example"
"reference": "Condition/Condition-MonogenicHearingLoss-Example"
},
{
"reference": "Observation/Observation-NoPregnancy-Example"
Expand Down Expand Up @@ -362,11 +362,28 @@
}
},
{
"fullUrl": "http://example.org/fhir/Observation/Observation-DiseaseStatus-Example",
"fullUrl": "http://example.org/fhir/Condition/Condition-MonogenicHearingLoss-Example",
"resource": {
"resourceType": "Observation",
"id": "Observation-DiseaseStatus-Example",
"status": "final",
"resourceType": "Condition",
"id": "Condition-MonogenicHearingLoss-Example",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "inactive",
"display": "inactive"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "provisional",
"display": "Provisional"
}
]
},
"code": {
"coding": [
{
Expand All @@ -383,21 +400,11 @@
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307559"
}
},
"effectiveDateTime": "2023-09-06",
"valueCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "103310001",
"display": "Patient not affected"
}
]
}
},
"request": {
"method": "POST",
"url": "Observation"
"url": "Condition"
}
},
{
Expand Down
43 changes: 25 additions & 18 deletions Bundle/Bundle-WGSTestOrderForm-Example.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
],
"supportingInfo": [
{
"reference": "Observation/Observation-DiseaseStatus-Example"
"reference": "Condition/Condition-MonogenicHearingLoss-Example"
},
{
"reference": "Observation/Observation-GenomicEthnicity-Example"
Expand Down Expand Up @@ -344,17 +344,34 @@
}
},
{
"fullUrl": "http://example.org/fhir/Observation/Observation-DiseaseStatus-Example",
"fullUrl": "http://example.org/fhir/Condition/Condition-MonogenicHearingLoss-Example",
"resource": {
"resourceType": "Observation",
"id": "Observation-DiseaseStatus-Example",
"status": "final",
"resourceType": "Condition",
"id": "Condition-MonogenicHearingLoss-Example",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "inactive",
"display": "inactive"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "provisional",
"display": "Provisional"
}
]
},
"code": {
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/England-GenomicTestDirectory",
"code": "R193.4",
"display": "Cystic renal disease",
"code": "R67.2",
"display": "Monogenic hearing loss",
"version": "7"
}
]
Expand All @@ -365,21 +382,11 @@
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307946"
}
},
"effectiveDateTime": "2023-08-05",
"valueCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "103310001",
"display": "Patient not affected"
}
]
}
},
"request": {
"method": "POST",
"url": "Observation"
"url": "Condition"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@
},
{
"type": "RelatedPerson",
"profile": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-RelatedPerson-Genomics",
"profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson",
"documentation": "Endpoints for interacting with RelatedPerson resources",
"interaction": [
{
Expand Down Expand Up @@ -1839,7 +1839,7 @@
},
{
"type": "Composition",
"profile": "http://hl7.org/fhir/StructureDefinition/Composition",
"profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition",
"documentation": "For validation of Composition resources and allowing searches via chaining from the Bundle endpoint",
"interaction": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
{
"type": "Composition",
"profile": "http://hl7.org/fhir/StructureDefinition/Composition"
"profile": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Composition"
},
{
"type": "DocumentReference",
Expand Down
39 changes: 39 additions & 0 deletions Condition/Condition-MonogenicHearingLoss-Example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"resourceType": "Condition",
"id": "Condition-MonogenicHearingLoss-Example",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "inactive",
"display": "inactive"
}
]
},
"verificationStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
"code": "provisional",
"display": "Provisional"
}
]
},
"code": {
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/England-GenomicTestDirectory",
"code": "R67.2",
"display": "Monogenic hearing loss",
"version": "7"
}
]
},
"subject": {
"reference": "Patient/Patient-MeirLieberman-Example",
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307873"
}
}
}
32 changes: 0 additions & 32 deletions Observation/Observation-DiseaseStatus-Example.json

This file was deleted.

Loading

0 comments on commit 560e815

Please sign in to comment.