From e8fb784961ea72a996d67d343ab4de45b8c4ad26 Mon Sep 17 00:00:00 2001 From: Omar Khan Date: Thu, 23 Jul 2026 15:06:12 +0100 Subject: [PATCH] Creation of QR patient extensions bundle --- ...tOrderFormQRPatientExtensions-Example.json | 516 ++++++++++++++++++ 1 file changed, 516 insertions(+) create mode 100644 Bundle/Bundle-NonWGSTestOrderFormQRPatientExtensions-Example.json diff --git a/Bundle/Bundle-NonWGSTestOrderFormQRPatientExtensions-Example.json b/Bundle/Bundle-NonWGSTestOrderFormQRPatientExtensions-Example.json new file mode 100644 index 00000000..53499f61 --- /dev/null +++ b/Bundle/Bundle-NonWGSTestOrderFormQRPatientExtensions-Example.json @@ -0,0 +1,516 @@ +{ + "resourceType": "Bundle", + "id": "Bundle-NonWGSTestOrderFormQRPatientExtensions-Example", + "type": "transaction", + "entry": [ + { + "fullUrl": "http://example.org/fhir/PractitionerRole/PractitionerRole-GeneSmithENT-Example", + "resource": { + "resourceType": "PractitionerRole", + "id": "PractitionerRole-GeneSmithENT-Example", + "practitioner": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/sds-user-id", + "value": "9999999999" + }, + "display": "Dr. Gene Smith" + }, + "organization": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/ods-organization-code", + "value": "RGT01" + }, + "display": "Addenbrooke's Hospital" + }, + "specialty": [ + { + "coding": [ + { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-PracticeSettingCode", + "code": "120", + "display": "Ear Nose and Throat" + } + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "01223586638" + }, + { + "system": "email", + "value": "gene.smith@nhs.net" + }, + { + "system": "email", + "value": "Add-tr.entsecretaries@nhs.net", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-comment", + "valueString": "reporting" + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "PractitionerRole" + } + }, + { + "fullUrl": "http://example.org/fhir/QuestionnaireResponse/QuestionnaireResponse-PatientExtensions-Example", + "resource": { + "resourceType": "QuestionnaireResponse", + "id": "QuestionnaireResponse-PatientExtensions-Example", + "questionnaire": "https://fhir.nhs.uk/Questionnaire/Patient-Extensions-Example", + "status": "completed", + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + }, + "authored": "2023-10-01T15:00:00Z", + "item": [ + { + "linkId": "364699009", + "text": "Patient - Ethnicity", + "answer": [ + { + "valueCoding": { + "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland", + "code": "A", + "display": "White - British" + } + } + ] + }, + { + "linkId": "1345193002", + "text": "Patient - Sex defined at birth", + "answer": [ + { + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", + "code": "M", + "display": "Male" + } + } + ] + } + ] + }, + "request": { + "method": "POST", + "url": "QuestionnaireResponse" + } + }, + { + "fullUrl": "http://example.org/fhir/Observation/Observation-GenomicEthnicity-Example", + "resource": { + "resourceType": "Observation", + "id": "Observation-GenomicEthnicity-Example", + "status": "preliminary", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "723621000000103", + "display": "Ethnicity" + } + ] + }, + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + }, + "valueString": "unknown" + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "http://example.org/fhir/ServiceRequest/ServiceRequest-NonWGSTestOrderForm-Example", + "resource": { + "resourceType": "ServiceRequest", + "id": "ServiceRequest-NonWGSTestOrderForm-Example", + "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" + } + ] + } + } + ], + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "https://fhir.nhs.uk/CodeSystem/rare-diseaseTesting-genomics", + "code": "diagnostic", + "display": "Diagnostic" + } + ] + } + ], + "priority": "routine", + "code": { + "coding": [ + { + "system": "https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestService", + "code": "GT488", + "display": "Monogenic hearing loss - Panel sequencing", + "extension": [ + { + "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version", + "valueDecimal": 1.0 + } + ] + } + ] + }, + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + }, + "authoredOn": "2023-08-05", + "requester": { + "reference": "PractitionerRole/PractitionerRole-GeneSmithENT-Example" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestService", + "code": "TP439", + "display": "Monogenic hearing loss", + "extension": [ + { + "url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version", + "valueDecimal": 1.0 + } + ] + } + ] + } + ], + "supportingInfo": [ + { + "reference": "QuestionnaireResponse/QuestionnaireResponse-PatientExtensions-Example" + }, + { + "reference": "Condition/Condition-MonogenicHearingLoss-Example" + }, + { + "reference": "Observation/Observation-GenomicEthnicity-Example" + }, + { + "reference": "Observation/Observation-NoPregnancy-Example" + }, + { + "reference": "Observation/Observation-NoTransplant-Example" + }, + { + "reference": "Observation/Observation-NoTransfusion-Example" + }, + { + "reference": "Condition/Condition-HearingLoss-Example" + } + ], + "note": [ + { + "text": "No family history of genomic testing" + }, + { + "text": "Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms/Patient in need of test...example" + } + ] + }, + "request": { + "method": "POST", + "url": "ServiceRequest" + } + }, + { + "fullUrl": "http://example.org/fhir/Observation/Observation-NoPregnancy-Example", + "resource": { + "resourceType": "Observation", + "id": "Observation-NoPregnancy-Example", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "60001007", + "display": "Not pregnant" + } + ] + }, + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + }, + "effectiveDateTime": "2023-08-05" + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "http://example.org/fhir/Condition/Condition-MonogenicHearingLoss-Example", + "resource": { + "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-DigitalGenomicTestService", + "code": "TP439", + "display": "Monogenic hearing loss" + } + ] + }, + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + } + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "http://example.org/fhir/Observation/Observation-NonConsanguinousUnion-Example", + "resource": { + "resourceType": "Observation", + "id": "Observation-NonConsanguinousUnion-Example", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "160475008", + "display": "Family history: Consanguinity" + } + ] + }, + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + }, + "effectiveDateTime": "2023-08-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ] + } + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "http://example.org/fhir/Observation/Observation-NoTransplant-Example", + "resource": { + "resourceType": "Observation", + "id": "Observation-NoTransplant-Example", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "416128008", + "display": "No history of procedure" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "263903005", + "display": "Transplant" + } + ] + }, + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + }, + "effectiveDateTime": "2023-08-05" + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "http://example.org/fhir/Observation/Observation-NoTransfusion-Example", + "resource": { + "resourceType": "Observation", + "id": "Observation-NoTransfusion-Example", + "status": "final", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "416128008", + "display": "No history of procedure" + } + ] + }, + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "303955003", + "display": "Transfusion - action" + } + ] + }, + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + }, + "effectiveDateTime": "2023-08-05" + }, + "request": { + "method": "POST", + "url": "Observation" + } + }, + { + "fullUrl": "http://example.org/fhir/Condition/Condition-HearingLoss-Example", + "resource": { + "resourceType": "Condition", + "id": "Condition-HearingLoss-Example", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "95820000", + "display": "Bilateral hearing loss" + } + ] + }, + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + }, + "note": [ + { + "text": "hearing loss since childhood (example)" + } + ] + }, + "request": { + "method": "POST", + "url": "Condition" + } + }, + { + "fullUrl": "http://example.org/fhir/Specimen/Specimen-BloodEDTA-Example", + "resource": { + "resourceType": "Specimen", + "id": "Specimen-BloodEDTA-Example", + "identifier": [ + { + "system": "https://fhir.add.nhs.uk/Id/specimenId", + "value": "RGT03135" + } + ], + "status": "unavailable", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "119297000", + "display": "Blood specimen" + } + ] + }, + "subject": { + "identifier": { + "system": "https://fhir.nhs.uk/Id/nhs-number", + "value": "9449307873" + } + }, + "request": [ + { + "reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderForm-Example" + } + ], + "container": [ + { + "additiveCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "69519002", + "display": "EDTA" + } + ] + } + } + ] + }, + "request": { + "method": "POST", + "url": "Specimen" + } + } + ] +} \ No newline at end of file