Bundle-NonWGSTestOrderFormQRPatientExtensions-Example

Example of a Non-WGS test request sent to the central broker, illustrating use of the QuestionnaireResponse resource for birthSex and Ethnicity as mentioned in Known Issues. This example also illustrates referencing an NHS patient by identifier only (as preferred by the private broker implementation).

Bundle
{
"resourceType": "Bundle",
"id": "Bundle-NonWGSTestOrderFormQRPatientExtensions-Example",
"type": "transaction",
"entry": [
{
"fullUrl": "http://example.org/fhir/PractitionerRole/PractitionerRole-GeneSmithENT-Example",
"resourceType": "PractitionerRole",
"id": "PractitionerRole-GeneSmithENT-Example",
"system": "https://fhir.nhs.uk/Id/sds-user-id",
"value": "9999999999"
},
"display": "Dr. Gene Smith"
},
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "RGT01"
},
"display": "Addenbrooke's Hospital"
},
{
"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"
},
{
{
"url": "http://hl7.org/fhir/StructureDefinition/contactpoint-comment",
"valueString": "reporting"
}
],
"system": "email",
"value": "Add-tr.entsecretaries@nhs.net"
}
]
},
"request": {
"method": "POST",
"url": "PractitionerRole"
}
},
{
"fullUrl": "http://example.org/fhir/QuestionnaireResponse/QuestionnaireResponse-PatientExtensions-Example",
"resourceType": "QuestionnaireResponse",
"id": "QuestionnaireResponse-PatientExtensions-Example",
"questionnaire": "https://fhir.nhs.uk/Questionnaire/Patient-Extensions-Example",
"status": "completed",
"subject": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307873"
}
},
"authored": "2023-10-01T15:00:00Z",
"item": [
{
"linkId": "364699009",
"text": "Patient - Ethnicity",
"answer": [
{
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland",
"code": "A",
"display": "White - British"
}
}
]
},
{
"linkId": "1345193002",
"text": "Patient - Sex defined at birth",
"answer": [
{
"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",
"resourceType": "Observation",
"id": "Observation-GenomicEthnicity-Example",
"status": "preliminary",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "723621000000103",
"display": "Ethnicity"
}
]
},
"subject": {
"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",
"resourceType": "ServiceRequest",
"id": "ServiceRequest-NonWGSTestOrderForm-Example",
{
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Coverage",
"coding": [
{
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-FundingCategory",
"code": "nhs-england",
"display": "NHS England"
}
]
}
}
],
"status": "active",
"intent": "order",
{
"coding": [
{
"system": "https://fhir.nhs.uk/CodeSystem/rare-diseaseTesting-genomics",
"code": "diagnostic",
"display": "Diagnostic"
}
]
}
],
"priority": "routine",
"code": {
"coding": [
{
{
"url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version",
}
],
"system": "https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestService",
"code": "GT488",
"display": "Monogenic hearing loss - Panel sequencing"
}
]
},
"subject": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307873"
}
},
"authoredOn": "2023-08-05",
"reference": "PractitionerRole/PractitionerRole-GeneSmithENT-Example"
},
{
"coding": [
{
{
"url": "https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version",
}
],
"system": "https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestService",
"code": "TP439",
"display": "Monogenic hearing loss"
}
]
}
],
{
"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",
"resourceType": "Observation",
"id": "Observation-NoPregnancy-Example",
"status": "final",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "60001007",
"display": "Not pregnant"
}
]
},
"subject": {
"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",
"resourceType": "Condition",
"id": "Condition-MonogenicHearingLoss-Example",
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "inactive",
"display": "Inactive"
}
]
},
"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": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307873"
}
}
},
"request": {
"method": "POST",
"url": "Condition"
}
},
{
"fullUrl": "http://example.org/fhir/Observation/Observation-NonConsanguinousUnion-Example",
"resourceType": "Observation",
"id": "Observation-NonConsanguinousUnion-Example",
"status": "final",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "160475008",
"display": "Family history: Consanguinity"
}
]
},
"subject": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307873"
}
},
"effectiveDateTime": "2023-08-05",
"coding": [
{
"system": "http://snomed.info/sct",
"code": "260385009",
"display": "Negative"
}
]
}
},
"request": {
"method": "POST",
"url": "Observation"
}
},
{
"fullUrl": "http://example.org/fhir/Observation/Observation-NoTransplant-Example",
"resourceType": "Observation",
"id": "Observation-NoTransplant-Example",
"status": "final",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "416128008",
"display": "No history of procedure"
}
]
},
"subject": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307873"
}
},
"effectiveDateTime": "2023-08-05",
"coding": [
{
"system": "http://snomed.info/sct",
"code": "263903005",
"display": "Transplant"
}
]
}
},
"request": {
"method": "POST",
"url": "Observation"
}
},
{
"fullUrl": "http://example.org/fhir/Observation/Observation-NoTransfusion-Example",
"resourceType": "Observation",
"id": "Observation-NoTransfusion-Example",
"status": "final",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "416128008",
"display": "No history of procedure"
}
]
},
"subject": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307873"
}
},
"effectiveDateTime": "2023-08-05",
"coding": [
{
"system": "http://snomed.info/sct",
"code": "303955003",
"display": "Transfusion - action"
}
]
}
},
"request": {
"method": "POST",
"url": "Observation"
}
},
{
"fullUrl": "http://example.org/fhir/Condition/Condition-HearingLoss-Example",
"resourceType": "Condition",
"id": "Condition-HearingLoss-Example",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "95820000",
"display": "Bilateral hearing loss"
}
]
},
"subject": {
"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",
"resourceType": "Specimen",
"id": "Specimen-BloodEDTA-Example",
{
"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": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9449307873"
}
},
"request": [
{
"reference": "ServiceRequest/ServiceRequest-NonWGSTestOrderForm-Example"
}
],
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "69519002",
"display": "EDTA"
}
]
}
}
]
},
"request": {
"method": "POST",
"url": "Specimen"
}
}
]
}
<Bundle xmlns="http://hl7.org/fhir">
<id value="Bundle-NonWGSTestOrderFormQRPatientExtensions-Example" />
<type value="transaction" />
<fullUrl value="http://example.org/fhir/PractitionerRole/PractitionerRole-GeneSmithENT-Example" />
<PractitionerRole>
<id value="PractitionerRole-GeneSmithENT-Example" />
<system value="https://fhir.nhs.uk/Id/sds-user-id" />
<value value="9999999999" />
</identifier>
<display value="Dr. Gene Smith" />
</practitioner>
<system value="https://fhir.nhs.uk/Id/ods-organization-code" />
<value value="RGT01" />
</identifier>
<display value="Addenbrooke's Hospital" />
</organization>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PracticeSettingCode" />
<code value="120" />
<display value="Ear Nose and Throat" />
</coding>
</specialty>
<system value="phone" />
<value value="01223586638" />
</telecom>
<system value="email" />
<value value="gene.smith@nhs.net" />
</telecom>
<extension url="http://hl7.org/fhir/StructureDefinition/contactpoint-comment">
<valueString value="reporting" />
</extension>
<system value="email" />
<value value="Add-tr.entsecretaries@nhs.net" />
</telecom>
</PractitionerRole>
</resource>
<method value="POST" />
<url value="PractitionerRole" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/QuestionnaireResponse/QuestionnaireResponse-PatientExtensions-Example" />
<QuestionnaireResponse>
<id value="QuestionnaireResponse-PatientExtensions-Example" />
<questionnaire value="https://fhir.nhs.uk/Questionnaire/Patient-Extensions-Example" />
<status value="completed" />
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
<authored value="2023-10-01T15:00:00Z" />
<linkId value="364699009" />
<text value="Patient - Ethnicity" />
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland" />
<code value="A" />
<display value="White - British" />
</valueCoding>
</answer>
</item>
<linkId value="1345193002" />
<text value="Patient - Sex defined at birth" />
<system value="http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender" />
<code value="M" />
<display value="Male" />
</valueCoding>
</answer>
</item>
</QuestionnaireResponse>
</resource>
<method value="POST" />
<url value="QuestionnaireResponse" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/Observation/Observation-GenomicEthnicity-Example" />
<Observation>
<id value="Observation-GenomicEthnicity-Example" />
<status value="preliminary" />
<system value="http://snomed.info/sct" />
<code value="723621000000103" />
<display value="Ethnicity" />
</coding>
</code>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
<valueString value="unknown" />
</Observation>
</resource>
<method value="POST" />
<url value="Observation" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/ServiceRequest/ServiceRequest-NonWGSTestOrderForm-Example" />
<ServiceRequest>
<id value="ServiceRequest-NonWGSTestOrderForm-Example" />
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Coverage">
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-FundingCategory" />
<code value="nhs-england" />
<display value="NHS England" />
</coding>
</valueCodeableConcept>
</extension>
<status value="active" />
<intent value="order" />
<system value="https://fhir.nhs.uk/CodeSystem/rare-diseaseTesting-genomics" />
<code value="diagnostic" />
<display value="Diagnostic" />
</coding>
</category>
<priority value="routine" />
<extension url="https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version">
<valueDecimal value="1.0" />
</extension>
<system value="https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestService" />
<code value="GT488" />
<display value="Monogenic hearing loss - Panel sequencing" />
</coding>
</code>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
<authoredOn value="2023-08-05" />
<reference value="PractitionerRole/PractitionerRole-GeneSmithENT-Example" />
</requester>
<extension url="https://fhir.nhs.uk/England/StructureDefinition/Extension-GenomicTestCode-Version">
<valueDecimal value="1.0" />
</extension>
<system value="https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestService" />
<code value="TP439" />
<display value="Monogenic hearing loss" />
</coding>
</reasonCode>
<reference value="QuestionnaireResponse/QuestionnaireResponse-PatientExtensions-Example" />
</supportingInfo>
<reference value="Condition/Condition-MonogenicHearingLoss-Example" />
</supportingInfo>
<reference value="Observation/Observation-GenomicEthnicity-Example" />
</supportingInfo>
<reference value="Observation/Observation-NoPregnancy-Example" />
</supportingInfo>
<reference value="Observation/Observation-NoTransplant-Example" />
</supportingInfo>
<reference value="Observation/Observation-NoTransfusion-Example" />
</supportingInfo>
<reference value="Condition/Condition-HearingLoss-Example" />
</supportingInfo>
<text value="No family history of genomic testing" />
</note>
<text value="Free text for diagnosis/reason for referral, relevant information including family history, phenotypic details/ HPO Terms/Patient in need of test...example" />
</note>
</ServiceRequest>
</resource>
<method value="POST" />
<url value="ServiceRequest" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/Observation/Observation-NoPregnancy-Example" />
<Observation>
<id value="Observation-NoPregnancy-Example" />
<status value="final" />
<system value="http://snomed.info/sct" />
<code value="60001007" />
<display value="Not pregnant" />
</coding>
</code>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
<effectiveDateTime value="2023-08-05" />
</Observation>
</resource>
<method value="POST" />
<url value="Observation" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/Condition/Condition-MonogenicHearingLoss-Example" />
<Condition>
<id value="Condition-MonogenicHearingLoss-Example" />
<system value="http://terminology.hl7.org/CodeSystem/condition-clinical" />
<code value="inactive" />
<display value="Inactive" />
</coding>
</clinicalStatus>
<system value="http://terminology.hl7.org/CodeSystem/condition-ver-status" />
<code value="provisional" />
<display value="Provisional" />
</coding>
</verificationStatus>
<system value="https://fhir.nhs.uk/CodeSystem/England-DigitalGenomicTestService" />
<code value="TP439" />
<display value="Monogenic hearing loss" />
</coding>
</code>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
</Condition>
</resource>
<method value="POST" />
<url value="Condition" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/Observation/Observation-NonConsanguinousUnion-Example" />
<Observation>
<id value="Observation-NonConsanguinousUnion-Example" />
<status value="final" />
<system value="http://snomed.info/sct" />
<code value="160475008" />
<display value="Family history: Consanguinity" />
</coding>
</code>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
<effectiveDateTime value="2023-08-05" />
<system value="http://snomed.info/sct" />
<code value="260385009" />
<display value="Negative" />
</coding>
</valueCodeableConcept>
</Observation>
</resource>
<method value="POST" />
<url value="Observation" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/Observation/Observation-NoTransplant-Example" />
<Observation>
<id value="Observation-NoTransplant-Example" />
<status value="final" />
<system value="http://snomed.info/sct" />
<code value="416128008" />
<display value="No history of procedure" />
</coding>
</code>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
<effectiveDateTime value="2023-08-05" />
<system value="http://snomed.info/sct" />
<code value="263903005" />
<display value="Transplant" />
</coding>
</valueCodeableConcept>
</Observation>
</resource>
<method value="POST" />
<url value="Observation" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/Observation/Observation-NoTransfusion-Example" />
<Observation>
<id value="Observation-NoTransfusion-Example" />
<status value="final" />
<system value="http://snomed.info/sct" />
<code value="416128008" />
<display value="No history of procedure" />
</coding>
</code>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
<effectiveDateTime value="2023-08-05" />
<system value="http://snomed.info/sct" />
<code value="303955003" />
<display value="Transfusion - action" />
</coding>
</valueCodeableConcept>
</Observation>
</resource>
<method value="POST" />
<url value="Observation" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/Condition/Condition-HearingLoss-Example" />
<Condition>
<id value="Condition-HearingLoss-Example" />
<system value="http://snomed.info/sct" />
<code value="95820000" />
<display value="Bilateral hearing loss" />
</coding>
</code>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
<text value="hearing loss since childhood (example)" />
</note>
</Condition>
</resource>
<method value="POST" />
<url value="Condition" />
</request>
</entry>
<fullUrl value="http://example.org/fhir/Specimen/Specimen-BloodEDTA-Example" />
<Specimen>
<id value="Specimen-BloodEDTA-Example" />
<system value="https://fhir.add.nhs.uk/Id/specimenId" />
<value value="RGT03135" />
</identifier>
<status value="unavailable" />
<system value="http://snomed.info/sct" />
<code value="119297000" />
<display value="Blood specimen" />
</coding>
</type>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9449307873" />
</identifier>
</subject>
<reference value="ServiceRequest/ServiceRequest-NonWGSTestOrderForm-Example" />
</request>
<system value="http://snomed.info/sct" />
<code value="69519002" />
<display value="EDTA" />
</coding>
</additiveCodeableConcept>
</container>
</Specimen>
</resource>
<method value="POST" />
<url value="Specimen" />
</request>
</entry>
</Bundle>