From bcc69306e5892e682636626ccdbd7520ae716cf4 Mon Sep 17 00:00:00 2001 From: Omar Khan Date: Thu, 15 May 2025 11:44:12 +0100 Subject: [PATCH 1/2] Addition of extension for fetal patient resources --- ...ndle-NonWGSTestOrderForm-FetalScenario-Example.json | 10 ++++++++++ Patient/Patient-FoetusOfRyanneBoulder-Example.json | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json b/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json index a4740f1e..ec38ec48 100644 --- a/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json +++ b/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json @@ -203,6 +203,16 @@ "resource": { "resourceType": "Patient", "id": "Patient-FoetusOfRyanneBoulder-Example", + "extension": [ + { + "url": "http://hl7.org/fhir/6.0/StructureDefinition/extension-Patient.fetalStatus", + "valueCode": { + "system": "http://hl7.org/fhir/patient-fetalstatus", + "code": "unknown", + "display": "Unknown" + } + } + ], "identifier": [ { "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", diff --git a/Patient/Patient-FoetusOfRyanneBoulder-Example.json b/Patient/Patient-FoetusOfRyanneBoulder-Example.json index 9eebf1d4..5c3604c4 100644 --- a/Patient/Patient-FoetusOfRyanneBoulder-Example.json +++ b/Patient/Patient-FoetusOfRyanneBoulder-Example.json @@ -1,6 +1,16 @@ { "resourceType": "Patient", "id": "Patient-FoetusOfRyanneBoulder-Example", + "extension": [ + { + "url": "http://hl7.org/fhir/6.0/StructureDefinition/extension-Patient.fetalStatus", + "valueCode": { + "system": "http://hl7.org/fhir/patient-fetalstatus", + "code": "unknown", + "display": "Unknown" + } + } + ], "identifier": [ { "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", From fb2f8862441b3abd1d9bfb143aac6f1c332ccaaf Mon Sep 17 00:00:00 2001 From: Omar Khan Date: Thu, 15 May 2025 11:57:29 +0100 Subject: [PATCH 2/2] Correction to code --- .../Bundle-NonWGSTestOrderForm-FetalScenario-Example.json | 6 +----- Patient/Patient-FoetusOfRyanneBoulder-Example.json | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json b/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json index ec38ec48..427a3f94 100644 --- a/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json +++ b/Bundle/Bundle-NonWGSTestOrderForm-FetalScenario-Example.json @@ -206,11 +206,7 @@ "extension": [ { "url": "http://hl7.org/fhir/6.0/StructureDefinition/extension-Patient.fetalStatus", - "valueCode": { - "system": "http://hl7.org/fhir/patient-fetalstatus", - "code": "unknown", - "display": "Unknown" - } + "valueCode": "unknown" } ], "identifier": [ diff --git a/Patient/Patient-FoetusOfRyanneBoulder-Example.json b/Patient/Patient-FoetusOfRyanneBoulder-Example.json index 5c3604c4..6a2e6f54 100644 --- a/Patient/Patient-FoetusOfRyanneBoulder-Example.json +++ b/Patient/Patient-FoetusOfRyanneBoulder-Example.json @@ -4,11 +4,7 @@ "extension": [ { "url": "http://hl7.org/fhir/6.0/StructureDefinition/extension-Patient.fetalStatus", - "valueCode": { - "system": "http://hl7.org/fhir/patient-fetalstatus", - "code": "unknown", - "display": "Unknown" - } + "valueCode": "unknown" } ], "identifier": [