From ba29dff18d156b762b1bb2b98e8e565599e6e66f Mon Sep 17 00:00:00 2001 From: KazeemHamzat Date: Mon, 8 Sep 2025 18:58:29 +0100 Subject: [PATCH 1/5] Creaate Bundle-NonWGSScenario5-ProductsofConception-Example. Creaate Bundle-NonWGSScenario5-ProductsofConception-Example. --- ...cenario5-ProductsofConception-Example.json | 920 ++++++++++++++++++ 1 file changed, 920 insertions(+) create mode 100644 Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json diff --git a/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json new file mode 100644 index 0000000..b5efb47 --- /dev/null +++ b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json @@ -0,0 +1,920 @@ +{ + "resourceType": "Bundle", + "id": "Bundle-NonWGSScenario5-ProductsofConception-Example", + "type": "transaction-response", + "entry": [ + { + "fullUrl": "urn:uuid:cf37712a-99c8-495b-9865-a96fffe5133c", + "resource": { + "resourceType": "PractitionerRole", + "id": "cf37712a-99c8-495b-9865-a96fffe5133c", + "identifier": [ + { + "system": "https://fhir.nhs.uk/Id/GMSCompoundIdentifer", + "value": "RYJ02:https://fhir.nhs.uk/Id/sds-user-id:2441541066" + } + ], + "practitioner": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/sds-user-id", + "value": "2441541066" + }, + "display": "Dr. Lois Lane" + }, + "organization": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RYJ02" + }, + "display": "Charing Cross Hospital" + }, + "specialty": [ + { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PracticeSettingCode", + "code": "311", + "display": "Clinical Genetics" + } + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "02085467711" + }, + { + "system": "email", + "value": "Hazel.smith12@nhs.net" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-comment", + "valueString": "reporting" + } + ], + "system": "email", + "value": "clinicalgeneticskingston@nhs.net" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-comment", + "valueString": "reporting" + } + ], + "system": "email", + "value": "fetalmedicinekingston@nhs.net" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-comment", + "valueString": "reporting" + } + ], + "system": "email", + "value": "gptestpracticekingston@nhs.net" + } + ] + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "resource": { + "resourceType": "Patient", + "id": "c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", + "code": "F", + "display": "Female" + } + ] + } + }, + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland", + "code": "A", + "display": "White - British" + } + ] + } + } + ], + "identifier": [ + { + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland", + "version": "1.1.1", + "code": "01", + "display": "Number present and verified" + } + ] + } + } + ], + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + }, + { + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", + "value": "71636034", + "assigner": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RAX01" + } + } + } + ], + "name": [ + { + "given": [ + "Ryanne" + ], + "family": "Boulder" + } + ], + "link": [ + { + "other": { + "reference": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", + "type": "RelatedPerson" + }, + "type": "seealso" + }, + { + "other": { + "reference": "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9449308322" + }, + "type": "seealso" + } + ] + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", + "resource": { + "resourceType": "Patient", + "id": "037d8ff3-da35-4fad-9d28-7a120d4fffe9", + "extension": [ + { + "url": "http://hl7.org/fhir/6.0/StructureDefinition/extension-Patient.fetalStatus", + "valueCode": "fetal-demise" + } + ], + "identifier": [ + { + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", + "value": "FoetusA", + "assigner": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RAX" + } + } + } + ], + "name": [ + { + "family": "Fetus A of MUM" + } + ], + "gender": "female" + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:a0684de7-7cf5-43a3-b3ba-3dd13e4c2f4f", + "resource": { + "resourceType": "Observation", + "id": "a0684de7-7cf5-43a3-b3ba-3dd13e4c2f4f", + "status": "preliminary", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "723621000000103", + "display": "Ethnicity" + } + ] + }, + "subject": { + "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "type": "Patient", + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + } + }, + "valueString": "unknown" + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:a5838f88-99af-4ef9-bcb6-150781680d4d", + "resource": { + "resourceType": "ServiceRequest", + "id": "a5838f88-99af-4ef9-bcb6-150781680d4d", + "meta": { + "tag": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-FundingCategory", + "code": "nhs-england", + "display": "NHS England" + }, + { + "system": "https://internal.genomics-broker.airelogic.com/Count/patients-to-be-tested", + "code": "" + } + ] + }, + "extension": [ + { + "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Coverage", + "valueCodeableConcept": { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-FundingCategory", + "code": "nhs-england", + "display": "NHS England" + } + ] + } + } + ], + "identifier": [ + { + "system": "https://fhir.nhs.uk/Id/GMSOrder", + "value": "5562279a-bb88-45ef-8fbc-b62c09fbbdb2" + } + ], + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-GenomeSequencingCategory", + "code": "rare-disease-non-wgs", + "display": "Rare Disease - Non-WGS" + } + ] + } + ], + "priority": "urgent", + "code": { + "coding": [ + { + "system": "https://fhir.nhs.uk/CodeSystem/England-GenomicTestDirectory", + "version": "7", + "code": "R21.1", + "display": "Fetal anomalies with a likely genetic cause" + } + ] + }, + "subject": { + "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "type": "Patient", + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + } + }, + "authoredOn": "2025-09-05", + "requester": { + "reference": "urn:uuid:cf37712a-99c8-495b-9865-a96fffe5133c", + "type": "PractitionerRole", + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RYJ02" + } + }, + "performer": [ + { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "699N0" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "https://fhir.nhs.uk/CodeSystem/reasonfortesting-genomics", + "code": "staging-or-prognosis", + "display": "Staging or Prognosis" + } + ] + } + ], + "supportingInfo": [ + { + "reference": "urn:uuid:3e58d52e-aff3-4a70-956b-28509c664f59", + "type": "Observation" + }, + { + "reference": "urn:uuid:193e30bd-6827-468d-b9b7-0849278305db", + "type": "Observation" + }, + { + "reference": "urn:uuid:a0684de7-7cf5-43a3-b3ba-3dd13e4c2f4f", + "type": "Observation" + }, + { + "reference": "urn:uuid:554cddd5-7b36-4931-aef2-e96c7fc1f322", + "type": "Observation" + }, + { + "reference": "urn:uuid:e8f9a82e-4a01-4449-9c80-c4d38090884f", + "type": "Observation" + }, + { + "reference": "urn:uuid:e1858a31-b153-4525-83d6-805cb682df28", + "type": "Observation" + }, + { + "reference": "urn:uuid:5398e192-d44a-4e07-9cdb-63cdeb4ed47a", + "type": "Observation" + }, + { + "reference": "urn:uuid:fe049bb9-7988-4209-a5a7-364f7829950d", + "type": "Procedure" + }, + { + "reference": "urn:uuid:ac29fd1f-6749-4771-9633-25f39976e48a", + "type": "RelatedPerson" + }, + { + "reference": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", + "type": "Patient" + }, + { + "reference": "urn:uuid:6c83fb14-0eb9-465b-8d2c-062b03b12371", + "type": "Specimen" + } + ], + "note": [ + { + "text": "Samples are to be provided at a later date" + }, + { + "text": "No family history of relevant testing" + }, + { + "text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms/ E.g. large echogenic kidneys with normal bladder" + } + ] + }, + "response": { + "status": "422 UNPROCESSABLE_ENTITY", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "fatal", + "code": "exception", + "diagnostics": "Response from MDS validation endpoint mandatory-core-rare-non-wgs was not a valid MdsValidationResponse" + }, + { + "severity": "fatal", + "code": "exception", + "diagnostics": "Unable to parse validation result from MDS validation endpoint mandatory-core-rare-non-wgs" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:3e58d52e-aff3-4a70-956b-28509c664f59", + "resource": { + "resourceType": "Observation", + "id": "3e58d52e-aff3-4a70-956b-28509c664f59", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "161743003", + "display": "Past pregnancy history of stillbirth" + } + ], + "text": "Is the testing for a fetal loss from 24+0 or more weeks of gestation?" + }, + "subject": { + "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "type": "Patient", + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + } + }, + "effectiveDateTime": "2023-09-25", + "valueBoolean": false + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:554cddd5-7b36-4931-aef2-e96c7fc1f322", + "resource": { + "resourceType": "Observation", + "id": "554cddd5-7b36-4931-aef2-e96c7fc1f322", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "77386006", + "display": "Pregnancy" + } + ] + }, + "subject": { + "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "type": "Patient", + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + } + }, + "effectiveDateTime": "2023-09-25", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "720451000000102", + "display": "Assisted conception" + } + ] + } + }, + { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "226081000000107", + "display": "Gestational age" + } + ] + }, + "valueQuantity": { + "value": 87, + "unit": "day", + "system": "http://unitsofmeasure.org", + "code": "d" + } + }, + { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "161714006", + "display": "Estimated date of delivery" + } + ] + }, + "valueDateTime": "2024-05-01" + } + ] + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:193e30bd-6827-468d-b9b7-0849278305db", + "resource": { + "resourceType": "Observation", + "id": "193e30bd-6827-468d-b9b7-0849278305db", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "160475008", + "display": "Family history of consanguinity" + } + ] + }, + "subject": { + "reference": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", + "type": "Patient" + }, + "effectiveDateTime": "2023-09-25", + "valueBoolean": false + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:e8f9a82e-4a01-4449-9c80-c4d38090884f", + "resource": { + "resourceType": "Observation", + "id": "e8f9a82e-4a01-4449-9c80-c4d38090884f", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "416128008", + "display": "No history of procedure" + } + ] + }, + "subject": { + "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "type": "Patient", + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + } + }, + "effectiveDateTime": "2023-09-25", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "263903005", + "display": "Transplant" + } + ] + } + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:e1858a31-b153-4525-83d6-805cb682df28", + "resource": { + "resourceType": "Observation", + "id": "e1858a31-b153-4525-83d6-805cb682df28", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "609520005", + "display": "Disorder of fetal structure" + } + ], + "text": "First Trimester Anomalies?" + }, + "subject": { + "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "type": "Patient", + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + } + }, + "effectiveDateTime": "2023-09-25", + "valueBoolean": false, + "component": [ + { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "255246003", + "display": "First trimester" + } + ] + } + } + ] + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:5398e192-d44a-4e07-9cdb-63cdeb4ed47a", + "resource": { + "resourceType": "Observation", + "id": "5398e192-d44a-4e07-9cdb-63cdeb4ed47a", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "609520005", + "display": "Disorder of fetal structure" + } + ], + "text": "Second Trimester Anomalies?" + }, + "subject": { + "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "type": "Patient", + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + } + }, + "effectiveDateTime": "2023-09-25", + "valueBoolean": false, + "component": [ + { + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "255247007", + "display": "Second trimester" + } + ] + } + } + ] + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:fe049bb9-7988-4209-a5a7-364f7829950d", + "resource": { + "resourceType": "Procedure", + "id": "fe049bb9-7988-4209-a5a7-364f7829950d", + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "52637005", + "display": "In vitro fertilisation" + } + ] + }, + "subject": { + "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "type": "Patient", + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + } + }, + "performedDateTime": "2023-09-25", + "note": [ + { + "text": "Woman`s own egg" + } + ] + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:6c83fb14-0eb9-465b-8d2c-062b03b12371", + "resource": { + "resourceType": "Specimen", + "id": "6c83fb14-0eb9-465b-8d2c-062b03b12371", + "meta": { + "tag": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-FundingCategory", + "code": "nhs-england", + "display": "NHS England" + } + ] + }, + "identifier": [ + { + "system": "https://fhir.add.nhs.uk/Id/specimenId", + "value": "RGT19427897" + } + ], + "status": "unavailable", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "258565009", + "display": "Chorionic villi specimen" + } + ] + }, + "subject": { + "reference": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", + "type": "Patient" + }, + "request": [ + { + "reference": "urn:uuid:a5838f88-99af-4ef9-bcb6-150781680d4d", + "type": "ServiceRequest" + } + ] + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + }, + { + "fullUrl": "urn:uuid:ac29fd1f-6749-4771-9633-25f39976e48a", + "resource": { + "resourceType": "RelatedPerson", + "id": "ac29fd1f-6749-4771-9633-25f39976e48a", + "identifier": [ + { + "system": "urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24", + "value": "6988036185", + "assigner": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RAX" + } + } + } + ], + "patient": { + "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", + "type": "Patient", + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449308322" + } + }, + "relationship": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "code": "NCHILD", + "display": "natural child" + } + ] + } + ] + }, + "response": { + "status": "200 OK", + "outcome": { + "resourceType": "OperationOutcome", + "issue": [ + { + "severity": "information", + "code": "informational", + "diagnostics": "No issues detected during validation" + } + ] + } + } + } + ] +} \ No newline at end of file From 5571a418a09219dedae12dc70e15acaf0448562e Mon Sep 17 00:00:00 2001 From: KazeemHamzat Date: Mon, 8 Sep 2025 19:30:19 +0100 Subject: [PATCH 2/5] Update Bundle-NonWGSScenario5-ProductsofConception-Example Update Bundle-NonWGSScenario5-ProductsofConception-Example --- ...Scenario5-ProductsofConception-Example.json | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json index b5efb47..3a329c7 100644 --- a/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json +++ b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json @@ -165,13 +165,6 @@ } ], "link": [ - { - "other": { - "reference": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", - "type": "RelatedPerson" - }, - "type": "seealso" - }, { "other": { "reference": "https://int.api.service.nhs.uk/personal-demographics/FHIR/R4/Patient/9449308322" @@ -222,7 +215,16 @@ "family": "Fetus A of MUM" } ], - "gender": "female" + "gender": "female", + "link": [ + { + "other": { + "reference": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", + "type": "RelatedPerson" + }, + "type": "seealso" + } + ] }, "response": { "status": "200 OK", From 04ecb4a274096a67f6ec19472f6180b06d0ef83a Mon Sep 17 00:00:00 2001 From: KazeemHamzat Date: Tue, 9 Sep 2025 09:40:13 +0100 Subject: [PATCH 3/5] Update Bundle-NonWGSScenario5-ProductsofConception-Example Update Bundle-NonWGSScenario5-ProductsofConception-Example --- Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json index 3a329c7..16a5963 100644 --- a/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json +++ b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json @@ -219,7 +219,7 @@ "link": [ { "other": { - "reference": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", + "reference": "urn:uuid:ac29fd1f-6749-4771-9633-25f39976e48a", "type": "RelatedPerson" }, "type": "seealso" From 3d71071e8a0c5d37c466e0510103635e22b157a4 Mon Sep 17 00:00:00 2001 From: KazeemHamzat Date: Tue, 9 Sep 2025 14:43:50 +0100 Subject: [PATCH 4/5] Feedback Issues Update SR to basedOn --- ...cenario5-ProductsofConception-Example.json | 287 ++++++------------ ...STestOrderForm-CascadeTesting-Example.json | 2 +- ...stOrderUpdated-CascadeTesting-Example.json | 2 +- 3 files changed, 89 insertions(+), 202 deletions(-) diff --git a/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json index 16a5963..9e8811e 100644 --- a/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json +++ b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json @@ -1,7 +1,7 @@ { "resourceType": "Bundle", "id": "Bundle-NonWGSScenario5-ProductsofConception-Example", - "type": "transaction-response", + "type": "transaction", "entry": [ { "fullUrl": "urn:uuid:cf37712a-99c8-495b-9865-a96fffe5133c", @@ -80,18 +80,9 @@ } ] }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "PractitionerRole" } }, { @@ -173,18 +164,10 @@ } ] }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Patient", + "ifNoneExist": "Patient?identifier=https://fhir.nhs.uk/Id/nhs-number|9449308322" } }, { @@ -216,6 +199,8 @@ } ], "gender": "female", + "deceasedBoolean": true, + "deceasedDateTime": "2024-05-16T00:00:00-05:00", "link": [ { "other": { @@ -226,18 +211,10 @@ } ] }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Patient", + "ifNoneExist": "Patient?identifier=urn:oid:2.16.840.1.113883.2.1.3.2.4.18.24|FoetusA" } }, { @@ -245,7 +222,7 @@ "resource": { "resourceType": "Observation", "id": "a0684de7-7cf5-43a3-b3ba-3dd13e4c2f4f", - "status": "preliminary", + "status": "final", "code": { "coding": [ { @@ -265,18 +242,9 @@ }, "valueString": "unknown" }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Observation" } }, { @@ -284,19 +252,6 @@ "resource": { "resourceType": "ServiceRequest", "id": "a5838f88-99af-4ef9-bcb6-150781680d4d", - "meta": { - "tag": [ - { - "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-FundingCategory", - "code": "nhs-england", - "display": "NHS England" - }, - { - "system": "https://internal.genomics-broker.airelogic.com/Count/patients-to-be-tested", - "code": "" - } - ] - }, "extension": [ { "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Coverage", @@ -317,6 +272,11 @@ "value": "5562279a-bb88-45ef-8fbc-b62c09fbbdb2" } ], + "basedOn": [ + { + "reference": "ServieRequest/ServiceRequest-NonWGSTestOrderForm-UsingStoredSample-Example" + } + ], "status": "active", "intent": "order", "category": [ @@ -417,7 +377,9 @@ { "reference": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", "type": "Patient" - }, + } + ], + "specimen": [ { "reference": "urn:uuid:6c83fb14-0eb9-465b-8d2c-062b03b12371", "type": "Specimen" @@ -435,23 +397,9 @@ } ] }, - "response": { - "status": "422 UNPROCESSABLE_ENTITY", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "fatal", - "code": "exception", - "diagnostics": "Response from MDS validation endpoint mandatory-core-rare-non-wgs was not a valid MdsValidationResponse" - }, - { - "severity": "fatal", - "code": "exception", - "diagnostics": "Unable to parse validation result from MDS validation endpoint mandatory-core-rare-non-wgs" - } - ] - } + "request": { + "method": "POST", + "url": "ServiceRequest" } }, { @@ -460,15 +408,26 @@ "resourceType": "Observation", "id": "3e58d52e-aff3-4a70-956b-28509c664f59", "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "Social History" + } + ] + } + ], "code": { "coding": [ { "system": "http://snomed.info/sct", - "code": "161743003", - "display": "Past pregnancy history of stillbirth" + "code": "267013003", + "display": "Past pregnancy outcome" } ], - "text": "Is the testing for a fetal loss from 24+0 or more weeks of gestation?" + "text": "Outcome of pregnancy" }, "subject": { "reference": "urn:uuid:c60f7e06-79b1-4a34-9979-e8a461b3f7c8", @@ -478,21 +437,21 @@ "value": "9449308322" } }, - "effectiveDateTime": "2023-09-25", - "valueBoolean": false - }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ + "effectiveDateTime": "2025-08-25", + "valueCodeableConcept": { + "coding": [ { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" + "system": "http://snomed.info/sct", + "code": "237365001", + "display": "Fresh stillbirth" } - ] + ], + "text": "a fetal death occurring at or after 28 weeks of pregnancy" } + }, + "request": { + "method": "POST", + "url": "Observation" } }, { @@ -518,7 +477,7 @@ "value": "9449308322" } }, - "effectiveDateTime": "2023-09-25", + "effectiveDateTime": "2025-08-25", "component": [ { "code": { @@ -558,22 +517,13 @@ } ] }, - "valueDateTime": "2024-05-01" + "valueDateTime": "2025-08-25" } ] }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Observation" } }, { @@ -595,21 +545,12 @@ "reference": "urn:uuid:037d8ff3-da35-4fad-9d28-7a120d4fffe9", "type": "Patient" }, - "effectiveDateTime": "2023-09-25", + "effectiveDateTime": "2025-08-25", "valueBoolean": false }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Observation" } }, { @@ -635,7 +576,7 @@ "value": "9449308322" } }, - "effectiveDateTime": "2023-09-25", + "effectiveDateTime": "2025-08-25", "valueCodeableConcept": { "coding": [ { @@ -646,18 +587,9 @@ ] } }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Observation" } }, { @@ -684,7 +616,7 @@ "value": "9449308322" } }, - "effectiveDateTime": "2023-09-25", + "effectiveDateTime": "2025-08-25", "valueBoolean": false, "component": [ { @@ -700,18 +632,9 @@ } ] }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Observation" } }, { @@ -738,7 +661,7 @@ "value": "9449308322" } }, - "effectiveDateTime": "2023-09-25", + "effectiveDateTime": "2025-08-25", "valueBoolean": false, "component": [ { @@ -754,18 +677,9 @@ } ] }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Observation" } }, { @@ -791,25 +705,16 @@ "value": "9449308322" } }, - "performedDateTime": "2023-09-25", + "performedDateTime": "2025-05-25", "note": [ { "text": "Woman`s own egg" } ] }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Procedure" } }, { @@ -848,23 +753,14 @@ }, "request": [ { - "reference": "urn:uuid:a5838f88-99af-4ef9-bcb6-150781680d4d", + "reference": "ServieRequest/ServiceRequest-NonWGSTestOrderForm-UsingStoredSample-Example", "type": "ServiceRequest" } ] }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "Specimen" } }, { @@ -904,18 +800,9 @@ } ] }, - "response": { - "status": "200 OK", - "outcome": { - "resourceType": "OperationOutcome", - "issue": [ - { - "severity": "information", - "code": "informational", - "diagnostics": "No issues detected during validation" - } - ] - } + "request": { + "method": "POST", + "url": "RelatedPerson" } } ] diff --git a/ServiceRequest/ServiceRequest-NonWGSTestOrderForm-CascadeTesting-Example.json b/ServiceRequest/ServiceRequest-NonWGSTestOrderForm-CascadeTesting-Example.json index 3c4dd73..1fe95f5 100644 --- a/ServiceRequest/ServiceRequest-NonWGSTestOrderForm-CascadeTesting-Example.json +++ b/ServiceRequest/ServiceRequest-NonWGSTestOrderForm-CascadeTesting-Example.json @@ -3,7 +3,7 @@ "id": "ServiceRequest-NonWGSTestOrderForm-CascadeTesting-Example", "basedOn": [ { - "reference": "ServiceRequest-NonWGSTestOrderForm-FatherOfFayMutlow-Example" + "reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderForm-FatherOfFayMutlow-Example" } ], "extension": [ diff --git a/ServiceRequest/ServiceRequest-SavedTestOrderUpdated-CascadeTesting-Example.json b/ServiceRequest/ServiceRequest-SavedTestOrderUpdated-CascadeTesting-Example.json index f49fb8f..dbb373c 100644 --- a/ServiceRequest/ServiceRequest-SavedTestOrderUpdated-CascadeTesting-Example.json +++ b/ServiceRequest/ServiceRequest-SavedTestOrderUpdated-CascadeTesting-Example.json @@ -3,7 +3,7 @@ "id": "ServiceRequest-SavedTestOrderUpdated-CascadeTesting-Example", "basedOn": [ { - "reference": "ServiceRequest-NonWGSTestOrderForm-FatherOfFayMutlow-Example" + "reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderForm-FatherOfFayMutlow-Example" } ], "meta": { From 1eb34cdec8c4d241bb4d21f41eeef935b947e014 Mon Sep 17 00:00:00 2001 From: KazeemHamzat Date: Tue, 9 Sep 2025 15:54:32 +0100 Subject: [PATCH 5/5] Update Bundle-NonWGSScenario5-ProductsofConception-Example.json Feedback Issues --- Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json | 1 - 1 file changed, 1 deletion(-) diff --git a/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json index 9e8811e..589c4c6 100644 --- a/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json +++ b/Bundle/Bundle-NonWGSScenario5-ProductsofConception-Example.json @@ -199,7 +199,6 @@ } ], "gender": "female", - "deceasedBoolean": true, "deceasedDateTime": "2024-05-16T00:00:00-05:00", "link": [ {