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

<Bundle xmlns="http://hl7.org/fhir">
  <id value="Bundle-ADT-A01"/>
  <meta>
    <profile value="https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMBundleMessage"/>
  </meta>
  <language value="en"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:uuid:0e3f6a1b-2c4d-4e5f-8a9b-7c6d5e4f0a01"/>
  </identifier>
  <type value="message"/>
  <timestamp value="2026-11-20T10:16:02Z"/>
  <entry>
    <fullUrl value="https://fhir.ihe-uk.org/ITI/PAM/MessageHeader/MessageHeader-A01"/>
    <resource>
      <MessageHeader>
        <id value="MessageHeader-A01"/>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="MessageHeader_MessageHeader-A01"> </a><p class="res-header-id"><b>Generated Narrative: MessageHeader MessageHeader-A01</b></p><a name="MessageHeader-A01"> </a><a name="hcMessageHeader-A01"> </a><p><b>event</b>: <a href="http://terminology.hl7.org/7.5.0/CodeSystem-v2-0003.html#v2-0003-A01">event: A01</a> (ADT/ACK - Admit/visit notification)</p><h3>Destinations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style="display: none">*</td><td>ROUTE</td><td><a href="https://simplifier.net/resolve?scope=fhir.r4.ukcore.stu3.currentbuild@0.29.0-pre-release&amp;canonical=http://example.org/hl7v2/ROUTE">http://example.org/hl7v2/ROUTE</a></td></tr></table><p><b>sender</b>: <a href="Organization-Organization-R0A.html">MANCHESTER UNIVERSITY NHS FOUNDATION TRUST (https://fhir.nhs.uk/Id/ods-organization-code#ODSOrganisationCode#R0A)</a></p><h3>Sources</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style="display: none">*</td><td>PAS</td><td><a href="https://simplifier.net/resolve?scope=fhir.r4.ukcore.stu3.currentbuild@0.29.0-pre-release&amp;canonical=http://example.org/hl7v2/PAS">http://example.org/hl7v2/PAS</a></td></tr></table><p><b>focus</b>: <a href="Encounter-Encounter-Inpatient-V0001234.html">Encounter: extension = 2026-11-20 09:45:00+0000,Patient to stay in hospital for at least one night; identifier = Account number: 5000001 (use: official); status = in-progress; class = inpatient encounter (ActCode#IMP); serviceType = GENERAL MEDICINE; period = 2026-11-20 10:15:00+0000 --&gt; (ongoing)</a></p></div>
        </text>
        <eventCoding>
          <system value="http://terminology.hl7.org/CodeSystem/v2-0003"/>
          <code value="A01"/>
        </eventCoding>
        <destination>
          <name value="ROUTE"/>
          <endpoint value="http://example.org/hl7v2/ROUTE"/>
        </destination>
        <sender>
          <reference value="Organization/Organization-R0A"/>
          <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
            <value value="R0A"/>
          </identifier>
        </sender>
        <source>
          <name value="PAS"/>
          <endpoint value="http://example.org/hl7v2/PAS"/>
        </source>
        <focus>
          <reference value="Encounter/Encounter-Inpatient-V0001234"/>
        </focus>
      </MessageHeader>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.ihe-uk.org/ITI/PAM/Provenance/Provenance-A01"/>
    <resource>
      <Provenance>
        <id value="Provenance-A01"/>
        <meta>
          <profile value="https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMProvenance"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Provenance_Provenance-A01"> </a><p class="res-header-id"><b>Generated Narrative: Provenance Provenance-A01</b></p><a name="Provenance-A01"> </a><a name="hcProvenance-A01"> </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-PAMProvenance.html">PAM Event (EVN)</a></p></div><p>Provenance for <a href="Encounter-Encounter-Inpatient-V0001234.html">Encounter: extension = 2026-11-20 09:45:00+0000,Patient to stay in hospital for at least one night; identifier = Account number: 5000001 (use: official); status = in-progress; class = inpatient encounter (ActCode#IMP); serviceType = GENERAL MEDICINE; period = 2026-11-20 10:15:00+0000 --&gt; (ongoing)</a></p><p>Summary</p><table class="grid"><tr><td>Occurrence</td><td>2026-11-20 10:15:00+0000</td></tr><tr><td>Recorded</td><td>2026-11-20 10:16:02+0000</td></tr><tr><td>Activity</td><td><span title="Codes:{http://terminology.hl7.org/CodeSystem/v2-0003 A01}">ADT/ACK - Admit/visit notification</span></td></tr></table><p><b>Agents</b></p><table class="grid"><tr><td><b>who</b></td></tr><tr><td><a href="Organization-Organization-R0A.html">MANCHESTER UNIVERSITY NHS FOUNDATION TRUST (https://fhir.nhs.uk/Id/ods-organization-code#ODSOrganisationCode#R0A)</a></td></tr></table></div>
        </text>
        <target>
          <reference value="Encounter/Encounter-Inpatient-V0001234"/>
        </target>
        <occurredDateTime value="2026-11-20T10:15:00Z"/>
        <recorded value="2026-11-20T10:16:02Z"/>
        <activity>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v2-0003"/>
            <code value="A01"/>
          </coding>
        </activity>
        <agent>
          <who>
            <reference value="Organization/Organization-R0A"/>
          </who>
        </agent>
      </Provenance>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.ihe-uk.org/ITI/PAM/Patient/Patient-OctaviaCHISLETT-9449305552"/>
    <resource>
      <Patient>
        <id value="Patient-OctaviaCHISLETT-9449305552"/>
        <meta>
          <profile value="https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMPatient"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_Patient-OctaviaCHISLETT-9449305552"> </a><p class="res-header-id"><b>Generated Narrative: Patient Patient-OctaviaCHISLETT-9449305552</b></p><a name="Patient-OctaviaCHISLETT-9449305552"> </a><a name="hcPatient-OctaviaCHISLETT-9449305552"> </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-PAMPatient.html">PAM Patient</a></p></div><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( National Health Plan Identifier: NHSNumber#9449305552)</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Known Marital status of Patient">Marital Status:</td><td colspan="3"><span title="Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-PersonMaritalStatusEngland S}">Single</span></td></tr><tr><td style="background-color: #f3f5da" title="Other Id (see the one above)">Other Id:</td><td colspan="3">Medical record number/MRN123456</td></tr><tr><td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td><td colspan="3"><ul><li>ph: 01632960587(Home)</li><li>1 Example Street MANCHESTER M13 9WL GBR (home)</li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Language spoken">Language:</td><td colspan="3"><span title="Codes:{urn:ietf:bcp:47 en}">English</span></td></tr><tr><td style="background-color: #f3f5da" title="Patient Links">Links:</td><td colspan="3"><ul><li>General Practitioner: <a href="Organization-Organization-Y00001.html">EXAMPLE GP PRACTICE (https://fhir.nhs.uk/Id/ods-organization-code#ODSOrganisationCode#Y00001)</a></li><li>General Practitioner: <a href="Practitioner-Practitioner-G1234560.html">Jane SMITH (https://fhir.hl7.org.uk/Id/gmp-number#GMPNumber#G1234560)</a></li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Information that describes the patient's ethnic category."><a href="https://simplifier.net/resolve?scope=fhir.r4.ukcore.stu3.currentbuild@0.29.0-pre-release&amp;canonical=https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory">Extension UK Core Ethnic Category</a></td><td colspan="3"><span title="Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland A}, {https://fhir.ihe-uk.org/ITI/PAM/CodeSystem/location-hiding 0}">White - British</span></td></tr></table></div>
        </text>
        <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory">
          <valueCodeableConcept>
            <coding>
              <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland"/>
              <code value="A"/>
              <display value="White - British"/>
            </coding>
            <coding>
              <system value="https://fhir.ihe-uk.org/ITI/PAM/CodeSystem/location-hiding"/>
              <code value="0"/>
              <display value="No location hiding"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <identifier>
          <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSNumberVerificationStatus">
            <valueCodeableConcept>
              <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-NHSNumberVerificationStatusEngland"/>
                <code value="01"/>
                <display value="Number present and verified"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <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="9449305552"/>
        </identifier>
        <identifier>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="MR"/>
            </coding>
          </type>
          <value value="MRN123456"/>
          <assigner>
            <identifier>
              <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
              <value value="R0A"/>
            </identifier>
          </assigner>
        </identifier>
        <name>
          <use value="official"/>
          <family value="CHISLETT"/>
          <given value="Octavia"/>
          <prefix value="Mrs"/>
        </name>
        <telecom>
          <system value="phone"/>
          <value value="01632960587"/>
          <use value="home"/>
        </telecom>
        <gender value="female"/>
        <birthDate value="2008-09-20"/>
        <address>
          <use value="home"/>
          <line value="1 Example Street"/>
          <city value="MANCHESTER"/>
          <postalCode value="M13 9WL"/>
          <country value="GBR"/>
        </address>
        <maritalStatus>
          <coding>
            <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PersonMaritalStatusEngland"/>
            <code value="S"/>
            <display value="Single"/>
          </coding>
        </maritalStatus>
        <communication>
          <language>
            <coding>
              <system value="urn:ietf:bcp:47"/>
              <code value="en"/>
              <display value="English"/>
            </coding>
          </language>
        </communication>
        <generalPractitioner>
          <reference value="Organization/Organization-Y00001"/>
          <identifier>
            <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
            <value value="Y00001"/>
          </identifier>
        </generalPractitioner>
        <generalPractitioner>
          <reference value="Practitioner/Practitioner-G1234560"/>
          <identifier>
            <system value="https://fhir.hl7.org.uk/Id/gmp-number"/>
            <value value="G1234560"/>
          </identifier>
        </generalPractitioner>
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl value="https://fhir.ihe-uk.org/ITI/PAM/Encounter/Encounter-Inpatient-V0001234"/>
    <resource>
      <Encounter>
        <id value="Encounter-Inpatient-V0001234"/>
        <meta>
          <profile value="https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMEncounter"/>
        </meta>
        <language value="en"/>
        <text>
          <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Encounter_Encounter-Inpatient-V0001234"> </a><p class="res-header-id"><b>Generated Narrative: Encounter Encounter-Inpatient-V0001234</b></p><a name="Encounter-Inpatient-V0001234"> </a><a name="hcEncounter-Inpatient-V0001234"> </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-PAMEncounter.html">PAM Encounter</a></p></div><p><b>Decision To Admit Date Time</b>: 2026-11-20 09:45:00+0000</p><p><b>Intended Management</b>: <span title="Codes:{https://fhir.ihe-uk.org/ITI/PAM/CodeSystem/intended-management 1}">Patient to stay in hospital for at least one night</span></p><p><b>identifier</b>: Account number/5000001 (use: official)</p><p><b>status</b>: In Progress</p><p><b>class</b>: <a href="http://terminology.hl7.org/7.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP">ActCode: IMP</a> (inpatient encounter)</p><p><b>serviceType</b>: <span title="Codes:{https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function 300}">GENERAL MEDICINE</span></p><p><b>subject</b>: <a href="Patient-Patient-OctaviaCHISLETT-9449305552.html">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( National Health Plan Identifier: NHSNumber#9449305552)</a></p><blockquote><p><b>participant</b></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType CON}">consultant</span></p><p><b>individual</b>: <a href="Practitioner-Practitioner-C1234567.html">Alan JONES (https://fhir.hl7.org.uk/Id/gmc-number#GMCNumber#C1234567)</a></p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType ADM}">admitter</span></p><p><b>individual</b>: <a href="Practitioner-Practitioner-C1234567.html">Alan JONES (https://fhir.hl7.org.uk/Id/gmc-number#GMCNumber#C1234567)</a></p></blockquote><p><b>period</b>: 2026-11-20 10:15:00+0000 --&gt; (ongoing)</p><h3>Hospitalizations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Extension</b></td><td><b>AdmitSource</b></td></tr><tr><td style="display: none">*</td><td/><td><span title="Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland 19}">Usual place of residence unless listed below, for example, a private dwelling whether owner occupied or owned by Local Authority, housing association or other landlord. This includes wardened accommodation but not residential accommodation where health care is provided. It also includes Patients with no fixed abode.</span></td></tr></table><h3>Locations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Location</b></td><td><b>Status</b></td><td><b>Period</b></td></tr><tr><td style="display: none">*</td><td><a href="Location-Location-Ward-W12.html">Ward 12 (W12)</a></td><td>Active</td><td>2026-11-20 10:15:00+0000 --&gt; (ongoing)</td></tr></table><p><b>serviceProvider</b>: <a href="Organization-Organization-R0A.html">MANCHESTER UNIVERSITY NHS FOUNDATION TRUST (https://fhir.nhs.uk/Id/ods-organization-code#ODSOrganisationCode#R0A)</a></p></div>
        </text>
        <extension url="https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/Extension-DecisionToAdmitDateTime">
          <valueDateTime value="2026-11-20T09:45:00Z"/>
        </extension>
        <extension url="https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/Extension-IntendedManagement">
          <valueCodeableConcept>
            <coding>
              <system value="https://fhir.ihe-uk.org/ITI/PAM/CodeSystem/intended-management"/>
              <code value="1"/>
              <display value="Patient to stay in hospital for at least one night"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <identifier>
          <use value="official"/>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
              <code value="AN"/>
            </coding>
          </type>
          <value value="5000001"/>
          <assigner>
            <identifier>
              <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
              <value value="R0A"/>
            </identifier>
          </assigner>
        </identifier>
        <status value="in-progress"/>
        <class>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
          <code value="IMP"/>
          <display value="inpatient encounter"/>
        </class>
        <serviceType>
          <coding>
            <system value="https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function"/>
            <code value="300"/>
          </coding>
        </serviceType>
        <subject>
          <reference value="Patient/Patient-OctaviaCHISLETT-9449305552"/>
        </subject>
        <participant>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
              <code value="CON"/>
            </coding>
          </type>
          <individual>
            <reference value="Practitioner/Practitioner-C1234567"/>
          </individual>
        </participant>
        <participant>
          <type>
            <coding>
              <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
              <code value="ADM"/>
            </coding>
          </type>
          <individual>
            <reference value="Practitioner/Practitioner-C1234567"/>
          </individual>
        </participant>
        <period>
          <start value="2026-11-20T10:15:00Z"/>
        </period>
        <hospitalization>
          <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod">
            <valueCodeableConcept>
              <coding>
                <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodEngland"/>
                <code value="21"/>
                <display value="Emergency Admission: Emergency Care Department or dental casualty department of the Health Care Provider"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <admitSource>
            <coding>
              <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland"/>
              <code value="19"/>
            </coding>
          </admitSource>
        </hospitalization>
        <location>
          <location>
            <reference value="Location/Location-Ward-W12"/>
          </location>
          <status value="active"/>
          <period>
            <start value="2026-11-20T10:15:00Z"/>
          </period>
        </location>
        <serviceProvider>
          <reference value="Organization/Organization-R0A"/>
        </serviceProvider>
      </Encounter>
    </resource>
  </entry>
</Bundle>