<?xml version="1.0" encoding="UTF-8"?>

<Bundle xmlns="http://hl7.org/fhir">
  <id value="ReferralOrderMessage"/>
  <meta>
    <profile value="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/BundleMessage"/>
  </meta>
  <language value="en"/>
  <identifier>
    <system value="https://fhir.example-practice.nhs.uk/Id/message"/>
    <value value="MSG000124"/>
  </identifier>
  <type value="message"/>
  <timestamp value="2026-09-04T10:15:00+01:00"/>
  <entry>
    <fullUrl value="https://fhir.example.nhs.uk/R4/MessageHeader/ReferralOrderMessageHeader"/>
    <resource>
      <MessageHeader>
        <id value="ReferralOrderMessageHeader"/>
        <meta>
          <lastUpdated value="2026-09-04T10:15:00+01:00"/>
          <profile value="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/MessageHeader"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="MessageHeader_ReferralOrderMessageHeader"> </a><p class="res-header-id"><b>Generated Narrative: MessageHeader ReferralOrderMessageHeader</b></p><a name="ReferralOrderMessageHeader"> </a><a name="hcReferralOrderMessageHeader"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Last updated: 2026-09-04 10:15:00+0100</p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-MessageHeader.html">Document Message (MessageHeader)</a></p></div><p><b>event</b>: <a href="http://terminology.hl7.org/7.5.0/CodeSystem-v2-0003.html#v2-0003-O19">event: O19</a> (OMG - General clinical order)</p><h3>Destinations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td style="display: none">*</td><td><a href="https://fhir.mft.nhs.uk/R4/$process-message">https://fhir.mft.nhs.uk/R4/$process-message</a></td><td>Identifier: <a href="NamingSystem-ods-organization-code-namingsystem.html" title="The identifier system for an Organisation registered with the Organisation Data Service (ODS).">ODS Organisation Code</a>/R0A</td></tr></table><p><b>sender</b>: Identifier: <a href="NamingSystem-ods-organization-code-namingsystem.html" title="The identifier system for an Organisation registered with the Organisation Data Service (ODS).">ODS Organisation Code</a>/P89020</p><h3>Sources</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Endpoint</b></td></tr><tr><td style="display: none">*</td><td><a href="https://fhir.example-practice.nhs.uk/R4">https://fhir.example-practice.nhs.uk/R4</a></td></tr></table><p><b>focus</b>: <a href="ServiceRequest-CardiologyReferral.html">ServiceRequest Referral to cardiology service</a></p><p><b>definition</b>: <a href="MessageDefinition-referral-order.html">Referral Order (O19)</a></p></div>
        </text>
        <eventCoding>
          <system value="http://terminology.hl7.org/CodeSystem/v2-0003"/>
          <code value="O19"/>
        </eventCoding>
        <destination>
          <endpoint value="https://fhir.mft.nhs.uk/R4/$process-message"/>
          <receiver>
            <identifier>
              <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
              <value value="R0A"/>
            </identifier>
          </receiver>
        </destination>
        <sender>
          <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
            <value value="P89020"/>
          </identifier>
        </sender>
        <source>
          <endpoint value="https://fhir.example-practice.nhs.uk/R4"/>
        </source>
        <focus>
          <reference value="ServiceRequest/CardiologyReferral"/>
        </focus>
        <definition value="https://fhir.acmeexample.org.uk/PatientCareCoordination/MessageDefinition/referral-order"/>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.example.nhs.uk/R4/ServiceRequest/CardiologyReferral"/>
    <resource>
      <ServiceRequest>
        <id value="CardiologyReferral"/>
        <meta>
          <profile value="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/ReferralRequest"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="ServiceRequest_CardiologyReferral"> </a><p class="res-header-id"><b>Generated Narrative: ServiceRequest CardiologyReferral</b></p><a name="CardiologyReferral"> </a><a name="hcCardiologyReferral"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-ReferralRequest.html">Referral Request</a></p></div><p><b>identifier</b>: Placer Identifier/REF-2026-000123, <code>https://fhir.nhs.uk/Id/UBRN</code>/000049637246</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title="Codes:{http://snomed.info/sct 3457005}">Patient referral</span></p><p><b>priority</b>: Urgent</p><p><b>code</b>: <span title="Codes:{http://snomed.info/sct 183519002}">Referral to cardiology service</span></p><p><b>subject</b>: <a href="Patient-Patient-Tameside.html">Hodor TAMESIDE  Male, DoB: 1960-07-27 ( National Health Plan Identifier: NHS Number#9737383397)</a></p><p><b>occurrence</b>: 2026-09-11</p><p><b>authoredOn</b>: 2026-09-04 10:15:00+0100</p><p><b>requester</b>: <a href="PractitionerRole-GPAllenRole.html">Allen (https://fhir.hl7.org.uk/Id/gmp-number#GMP Number#G1234567): General practitioner at HT PRACTICE (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#P89020)</a></p><p><b>performer</b>: <a href="HealthcareService-CardiologyService.html">General Cardiology Outpatients by Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A) (http://fhir.nhs.net/Id/ers-service#1234567)</a></p><p><b>reasonCode</b>: <span title="Codes:{http://snomed.info/sct 267036007}">Dyspnea</span></p><p><b>reasonReference</b>: <a href="Condition-ConditionDyspnoea.html">Condition Dyspnea</a></p><p><b>note</b>: </p><blockquote><div><p>Determine the origin of Mr Tameside's shortness of breath. BMI 30, non-smoker, no chest pain, family history of coronary artery disease.</p>
</div></blockquote></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="PLAC"/>
            </coding>
          </type>
          <system value="https://fhir.example-practice.nhs.uk/Id/referral"/>
          <value value="REF-2026-000123"/>
          <assigner>
            <identifier>
              <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
              <value value="P89020"/>
            </identifier>
          </assigner>
        </identifier>
        <identifier>
          <system value="https://fhir.nhs.uk/Id/UBRN"/>
          <value value="000049637246"/>
        </identifier>
        <status value="active"/>
        <intent value="order"/>
        <category>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="3457005"/>
            <display value="Patient referral"/>
          </coding>
        </category>
        <priority value="urgent"/>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="183519002"/>
            <display value="Referral to cardiology service"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/Patient-Tameside"/>
          <identifier>
            <type>
              <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                <code value="NH"/>
              </coding>
            </type>
            <system value="https://fhir.nhs.uk/Id/nhs-number"/>
            <value value="9737383397"/>
          </identifier>
        </subject>
        <occurrenceDateTime value="2026-09-11"/>
        <authoredOn value="2026-09-04T10:15:00+01:00"/>
        <requester>
          <reference value="PractitionerRole/GPAllenRole"/>
        </requester>
        <performer>
          <reference value="HealthcareService/CardiologyService"/>
        </performer>
        <reasonCode>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="267036007"/>
            <display value="Dyspnea"/>
          </coding>
        </reasonCode>
        <reasonReference>
          <reference value="Condition/ConditionDyspnoea"/>
        </reasonReference>
        <note>
          <text value="Determine the origin of Mr Tameside's shortness of breath. BMI 30, non-smoker, no chest pain, family history of coronary artery disease."/>
        </note>
      </ServiceRequest>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.example.nhs.uk/R4/Patient/Patient-Tameside"/>
    <resource>
      <Patient>
        <id value="Patient-Tameside"/>
        <meta>
          <profile value="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/Patient"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_Patient-Tameside"> </a><p class="res-header-id"><b>Generated Narrative: Patient Patient-Tameside</b></p><a name="Patient-Tameside"> </a><a name="hcPatient-Tameside"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-Patient.html">Patient</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Hodor TAMESIDE  Male, DoB: 1960-07-27 ( National Health Plan Identifier: NHS Number#9737383397)</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Other Id (see the one above)">Other Id:</td><td colspan="3">Medical record number/B6789012</td></tr><tr><td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td><td colspan="3">Stockport Road Tameside OL7 0NS </td></tr><tr><td style="background-color: #f3f5da" title="Patient Links">Links:</td><td colspan="3"><ul><li>General Practitioner: HT PRACTICE (Identifier: <a href="NamingSystem-ods-organization-code-namingsystem.html" title="The identifier system for an Organisation registered with the Organisation Data Service (ODS).">ODS Organisation Code</a>/P89020)</li></ul></td></tr></table></div>
        </text>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="NH"/>
            </coding>
          </type>
          <system value="https://fhir.nhs.uk/Id/nhs-number"/>
          <value value="9737383397"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="MR"/>
            </coding>
          </type>
          <system value="https://fhir.mft.nhs.uk/Id/mrn"/>
          <value value="B6789012"/>
          <assigner>
            <identifier>
              <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
              <value value="R0A"/>
            </identifier>
          </assigner>
        </identifier>
        <name>
          <family value="TAMESIDE"/>
          <given value="Hodor"/>
        </name>
        <gender value="male"/>
        <birthDate value="1960-07-27"/>
        <address>
          <line value="Stockport Road"/>
          <city value="Tameside"/>
          <postalCode value="OL7 0NS"/>
        </address>
        <generalPractitioner>
          <type value="Organization"/>
          <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
            <value value="P89020"/>
          </identifier>
          <display value="HT PRACTICE"/>
        </generalPractitioner>
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.example.nhs.uk/R4/PractitionerRole/GPAllenRole"/>
    <resource>
      <PractitionerRole>
        <id value="GPAllenRole"/>
        <meta>
          <profile value="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/PractitionerRole"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="PractitionerRole_GPAllenRole"> </a><p class="res-header-id"><b>Generated Narrative: PractitionerRole GPAllenRole</b></p><a name="GPAllenRole"> </a><a name="hcGPAllenRole"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-PractitionerRole.html">PractitionerRole</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Allen (https://fhir.hl7.org.uk/Id/gmp-number#GMP Number#G1234567): General practitioner at HT PRACTICE (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#P89020)</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="The practitioner who is able to provide the services in this role">Practitioner:</td><td colspan="3"><a href="Practitioner-GPAllen.html">Allen (https://fhir.hl7.org.uk/Id/gmp-number#GMP Number#G1234567)</a></td></tr><tr><td style="background-color: #f3f5da" title="The organization where the practitioner performs the roles">Organization:</td><td colspan="3"><a href="Organization-P89020.html">HT PRACTICE (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#P89020)</a></td></tr><tr><td style="background-color: #f3f5da" title="Roles which this practitioner is authorized to perform for the organization">Role:</td><td colspan="3"><span title="Codes:{http://snomed.info/sct 62247001}">General practitioner</span></td></tr></table></div>
        </text>
        <practitioner>
          <reference value="Practitioner/GPAllen"/>
        </practitioner>
        <organization>
          <reference value="Organization/P89020"/>
          <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
            <value value="P89020"/>
          </identifier>
        </organization>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="62247001"/>
            <display value="General practitioner"/>
          </coding>
        </code>
      </PractitionerRole>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.example.nhs.uk/R4/Practitioner/GPAllen"/>
    <resource>
      <Practitioner>
        <id value="GPAllen"/>
        <meta>
          <profile value="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/Practitioner"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Practitioner_GPAllen"> </a><p class="res-header-id"><b>Generated Narrative: Practitioner GPAllen</b></p><a name="GPAllen"> </a><a name="hcGPAllen"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-Practitioner.html">Practitioner</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Allen (https://fhir.hl7.org.uk/Id/gmp-number#GMP Number#G1234567)</p><hr/></div>
        </text>
        <identifier>
          <system value="https://fhir.hl7.org.uk/Id/gmp-number"/>
          <value value="G1234567"/>
        </identifier>
        <name>
          <family value="Allen"/>
          <prefix value="Dr"/>
        </name>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.example.nhs.uk/R4/Organization/P89020"/>
    <resource>
      <Organization>
        <id value="P89020"/>
        <meta>
          <profile value="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/Organization"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Organization_P89020"> </a><p class="res-header-id"><b>Generated Narrative: Organization P89020</b></p><a name="P89020"> </a><a name="hcP89020"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-Organization.html">Organization</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">HT PRACTICE (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#P89020)</p><hr/></div>
        </text>
        <identifier>
          <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
          <value value="P89020"/>
        </identifier>
        <name value="HT PRACTICE"/>
      </Organization>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.example.nhs.uk/R4/HealthcareService/CardiologyService"/>
    <resource>
      <HealthcareService>
        <id value="CardiologyService"/>
        <meta>
          <profile value="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/HealthcareService"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="HealthcareService_CardiologyService"> </a><p class="res-header-id"><b>Generated Narrative: HealthcareService CardiologyService</b></p><a name="CardiologyService"> </a><a name="hcCardiologyService"> </a><div style="display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-HealthcareService.html">HealthcareService</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">General Cardiology Outpatients by Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A) (http://fhir.nhs.net/Id/ers-service#1234567)</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="The organization that provides this service">Provided By:</td><td colspan="3"><a href="Organization-R0A.html">Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</a></td></tr><tr><td style="background-color: #f3f5da" title="The specialties of the services that are provided">Specialty:</td><td colspan="3"><span title="Codes:{http://snomed.info/sct 394579002}">Cardiology</span></td></tr></table></div>
        </text>
        <identifier>
          <system value="http://fhir.nhs.net/Id/ers-service"/>
          <value value="1234567"/>
        </identifier>
        <providedBy>
          <reference value="Organization/R0A"/>
        </providedBy>
        <specialty>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="394579002"/>
            <display value="Cardiology"/>
          </coding>
        </specialty>
        <name value="General Cardiology Outpatients"/>
      </HealthcareService>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.example.nhs.uk/R4/Condition/ConditionDyspnoea"/>
    <resource>
      <Condition>
        <id value="ConditionDyspnoea"/>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Condition_ConditionDyspnoea"> </a><p class="res-header-id"><b>Generated Narrative: Condition ConditionDyspnoea</b></p><a name="ConditionDyspnoea"> </a><a name="hcConditionDyspnoea"> </a><p><b>clinicalStatus</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}">Active</span></p><p><b>category</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/condition-category problem-list-item}">Problem List Item</span></p><p><b>code</b>: <span title="Codes:{http://snomed.info/sct 267036007}">Dyspnea</span></p><p><b>subject</b>: <a href="Patient-Patient-Tameside.html">Hodor TAMESIDE  Male, DoB: 1960-07-27 ( National Health Plan Identifier: NHS Number#9737383397)</a></p><p><b>recordedDate</b>: 2026-09-04</p></div>
        </text>
        <clinicalStatus>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
            <code value="active"/>
          </coding>
        </clinicalStatus>
        <category>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/condition-category"/>
            <code value="problem-list-item"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="267036007"/>
            <display value="Dyspnea"/>
          </coding>
        </code>
        <subject>
          <reference value="Patient/Patient-Tameside"/>
        </subject>
        <recordedDate value="2026-09-04"/>
      </Condition>
    </resource>
  </entry>
</Bundle>