IHE UK Patient Administration Management (Unofficial)
0.1.0 - ci-build
IHE UK Patient Administration Management (Unofficial) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
<Bundle xmlns="http://hl7.org/fhir">
<id value="scenario-a21"/>
<meta>
<profile
value="https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMBundleMessage"/>
</meta>
<language value="en"/>
<identifier>
<value value="SCN0000002"/>
</identifier>
<type value="message"/>
<timestamp value="2026-11-06T10:00:00+00:00"/>
<entry>
<fullUrl
value="https://fhir.ihe-uk.org/ITI/PAM/MessageHeader/scenario-a21-header"/>
<resource>
<MessageHeader>
<id value="scenario-a21-header"/>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><a name="MessageHeader_scenario-a21-header"> </a><p class="res-header-id"><b>Generated Narrative: MessageHeader scenario-a21-header</b></p><a name="scenario-a21-header"> </a><a name="hcscenario-a21-header"> </a><p><b>event</b>: <a href="http://terminology.hl7.org/7.5.0/CodeSystem-v2-0003.html#v2-0003-A21">event: A21</a> (ADT/ACK - Patient goes on a "leave of absence")</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&canonical=http://example.org/hl7v2/ROUTE">http://example.org/hl7v2/ROUTE</a></td></tr></table><p><b>sender</b>: YORK AND SCARBOROUGH TEACHING HOSPITALS NHS FOUNDATION TRUST (Identifier: <a href="NamingSystem-ods-organization-code.html" title="NHS Organisation Data Service (ODS) organisation code. HL7 v2 MSH-4, MSH-6, CX-6, PD1-3.">ODSOrganisationCode</a>/RCB)</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&canonical=http://example.org/hl7v2/PAS">http://example.org/hl7v2/PAS</a></td></tr></table><p><b>focus</b>: <a href="Bundle-scenario-a01.html#Encounter_inpatient-spell-5000123">Encounter: extension = 2026-11-02 13:00:00+0000,Patient to stay in hospital for at least one night; identifier = Account number: 5000123 (use: official); status = in-progress; class = inpatient encounter (ActCode#IMP); serviceType = GENERAL MEDICINE; period = 2026-11-02 14:30:00+0000 --> (ongoing)</a></p></div>
</text>
<eventCoding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0003"/>
<code value="A21"/>
</eventCoding>
<destination>
<name value="ROUTE"/>
<endpoint value="http://example.org/hl7v2/ROUTE"/>
</destination>
<sender>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
<value value="RCB"/>
</identifier>
<display
value="YORK AND SCARBOROUGH TEACHING HOSPITALS NHS FOUNDATION TRUST"/>
</sender>
<source>
<name value="PAS"/>
<endpoint value="http://example.org/hl7v2/PAS"/>
</source>
<focus>
<reference value="Encounter/inpatient-spell-5000123"/>
</focus>
</MessageHeader>
</resource>
</entry>
<entry>
<fullUrl
value="https://fhir.ihe-uk.org/ITI/PAM/Provenance/scenario-a21-event"/>
<resource>
<Provenance>
<id value="scenario-a21-event"/>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><a name="Provenance_scenario-a21-event"> </a><p class="res-header-id"><b>Generated Narrative: Provenance scenario-a21-event</b></p><a name="scenario-a21-event"> </a><a name="hcscenario-a21-event"> </a><p>Provenance for <a href="Bundle-scenario-a01.html#Encounter_inpatient-spell-5000123">Encounter: extension = 2026-11-02 13:00:00+0000,Patient to stay in hospital for at least one night; identifier = Account number: 5000123 (use: official); status = in-progress; class = inpatient encounter (ActCode#IMP); serviceType = GENERAL MEDICINE; period = 2026-11-02 14:30:00+0000 --> (ongoing)</a></p><p>Summary</p><table class="grid"><tr><td>Occurrence</td><td>2026-11-06 10:00:00+0000</td></tr><tr><td>Recorded</td><td>2026-11-06 10:00:00+0000</td></tr><tr><td>Activity</td><td><span title="Codes:{http://terminology.hl7.org/CodeSystem/v2-0003 A21}">ADT/ACK - Patient goes on a "leave of absence"</span></td></tr></table><p><b>Agents</b></p><table class="grid"><tr><td><b>who</b></td></tr><tr><td>Emily Cortana (Identifier: OP000123)</td></tr></table></div>
</text>
<target>
<reference value="Encounter/inpatient-spell-5000123"/>
</target>
<occurredDateTime value="2026-11-06T10:00:00+00:00"/>
<recorded value="2026-11-06T10:00:00+00:00"/>
<activity>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0003"/>
<code value="A21"/>
</coding>
</activity>
<agent>
<who>
<identifier>
<value value="OP000123"/>
</identifier>
<display value="Emily Cortana"/>
</who>
</agent>
</Provenance>
</resource>
</entry>
<entry>
<fullUrl
value="https://fhir.ihe-uk.org/ITI/PAM/Patient/Patient-EDITESTPATIENT-TEN-9999999557"/>
<resource>
<Patient>
<id value="Patient-EDITESTPATIENT-TEN-9999999557"/>
<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-EDITESTPATIENT-TEN-9999999557"> </a><p class="res-header-id"><b>Generated Narrative: Patient Patient-EDITESTPATIENT-TEN-9999999557</b></p><a name="Patient-EDITESTPATIENT-TEN-9999999557"> </a><a name="hcPatient-EDITESTPATIENT-TEN-9999999557"> </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;">TEN EDITESTPATIENT (official) Female, DoB: 1980-01-01 ( National Health Plan Identifier: NHSNumber#9999999557)</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Known Marital status of Patient">Marital Status:</td><td><span title="Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-PersonMaritalStatusEngland M}">Married/Civil Partner</span></td><td style="background-color: #f3f5da" title="Known multipleBirth status of Patient">Multiple Birth:</td><td colspan="3">false</td></tr><tr><td style="background-color: #f3f5da" title="Ways to contact the Patient">Contact Detail</td><td colspan="3"><ul><li><a href="tel:+441234567890">+441234567890</a></li><li>1 TEST STREET BRACKNELL RG12 9AX 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: MALTON GP PRACTICE (Identifier: <a href="NamingSystem-ods-organization-code.html" title="NHS Organisation Data Service (ODS) organisation code. HL7 v2 MSH-4, MSH-6, CX-6, PD1-3.">ODSOrganisationCode</a>/Y06601)</li><li>General Practitioner: Dr Gregory Townley (Identifier: <a href="NamingSystem-gmp-number.html" title="National GP code (G + 6 digits + check digit). HL7 v2 PD1-4 XCN-1.">GMPNumber</a>/G5612908)</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&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}">White - British</span></td></tr><tr><td style="background-color: #f3f5da" title="The nationality of the patient.">Patient Nationality:</td><td colspan="3"><ul><li>code: <span title="Codes:{urn:iso:std:iso:3166 DEU}">Germany</span></li></ul></td></tr><tr><td style="background-color: #f3f5da" title="Mother's maiden (unmarried) name, commonly collected to help verify patient identity."><a href="http://hl7.org/fhir/extensions/5.4.0/StructureDefinition-patient-mothersMaidenName.html">Patient Mother's Maiden Name</a></td><td colspan="3">SCHMIDT</td></tr><tr><td style="background-color: #f3f5da" title="The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements."><a href="http://hl7.org/fhir/extensions/5.4.0/StructureDefinition-patient-birthPlace.html">Patient Birth Place</a></td><td colspan="3">Berlin </td></tr><tr><td style="background-color: #f3f5da" title="The patient's legal status as citizen of a country.">Patient Citizenship:</td><td colspan="3"><ul><li>code: <span title="Codes:{urn:iso:std:iso:3166 GBR}">United Kingdom</span></li></ul></td></tr></table></div>
</text>
<extension
url="http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName">
<valueString value="SCHMIDT"/>
</extension>
<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"/>
</coding>
</valueCodeableConcept>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/patient-birthPlace">
<valueAddress>
<city value="Berlin"/>
</valueAddress>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/patient-citizenship">
<extension url="code">
<valueCodeableConcept>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="GBR"/>
</coding>
</valueCodeableConcept>
</extension>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/patient-nationality">
<extension url="code">
<valueCodeableConcept>
<coding>
<system value="urn:iso:std:iso:3166"/>
<code value="DEU"/>
</coding>
</valueCodeableConcept>
</extension>
</extension>
<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="9999999557"/>
</identifier>
<name>
<use value="official"/>
<family value="EDITESTPATIENT"/>
<given value="TEN"/>
<prefix value="MRS"/>
</name>
<telecom>
<system value="phone"/>
<value value="+441234567890"/>
<use value="home"/>
</telecom>
<gender value="female"/>
<birthDate value="1980-01-01">
<extension
url="http://hl7.org/fhir/StructureDefinition/patient-birthTime">
<valueDateTime value="1980-01-01T15:15:00+00:00"/>
</extension>
</birthDate>
<address>
<use value="home"/>
<line value="1 TEST STREET"/>
<city value="BRACKNELL"/>
<district value="BERKSHIRE"/>
<postalCode value="RG12 9AX"/>
<country value="GBR"/>
</address>
<maritalStatus>
<coding>
<system
value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PersonMaritalStatusEngland"/>
<code value="M"/>
</coding>
</maritalStatus>
<multipleBirthBoolean value="false"/>
<communication>
<language>
<coding>
<system value="urn:ietf:bcp:47"/>
<code value="en"/>
</coding>
</language>
</communication>
<generalPractitioner>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
<value value="Y06601"/>
</identifier>
<display value="MALTON GP PRACTICE"/>
</generalPractitioner>
<generalPractitioner>
<identifier>
<system value="https://fhir.hl7.org.uk/Id/gmp-number"/>
<value value="G5612908"/>
</identifier>
<display value="Dr Gregory Townley"/>
</generalPractitioner>
</Patient>
</resource>
</entry>
<entry>
<fullUrl
value="https://fhir.ihe-uk.org/ITI/PAM/Encounter/inpatient-spell-5000123"/>
<resource>
<Encounter>
<id value="inpatient-spell-5000123"/>
<language value="en"/>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><a name="Encounter_inpatient-spell-5000123"> </a><p class="res-header-id"><b>Generated Narrative: Encounter inpatient-spell-5000123</b></p><a name="inpatient-spell-5000123"> </a><a name="hcinpatient-spell-5000123"> </a><p><b>identifier</b>: Account number/5000123 (use: official)</p><p><b>status</b>: On Leave</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-EDITESTPATIENT-TEN-9999999557.html">TEN EDITESTPATIENT (official) Female, DoB: 1980-01-01 ( National Health Plan Identifier: NHSNumber#9999999557)</a></p><blockquote><p><b>participant</b></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType ATND}">attender</span></p><p><b>individual</b>: Dr Samuel Darwin (Identifier: <a href="NamingSystem-gmc-number.html" title="General Medical Council number (consultant code). HL7 v2 XCN-1 (PV1-7, PV1-8, PV1-9, PV1-17).">GMCNumber</a>/C3456789)</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType REF}">referrer</span></p><p><b>individual</b>: Dr Gregory Townley (Identifier: <a href="NamingSystem-gmp-number.html" title="National GP code (G + 6 digits + check digit). HL7 v2 PD1-4 XCN-1.">GMPNumber</a>/G5612908)</p></blockquote><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>: Dr Samuel Darwin (Identifier: <a href="NamingSystem-gmc-number.html" title="General Medical Council number (consultant code). HL7 v2 XCN-1 (PV1-7, PV1-8, PV1-9, PV1-17).">GMCNumber</a>/C3456789)</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>: Dr Samuel Darwin (Identifier: <a href="NamingSystem-gmc-number.html" title="General Medical Council number (consultant code). HL7 v2 XCN-1 (PV1-7, PV1-8, PV1-9, PV1-17).">GMCNumber</a>/C3456789)</p></blockquote><p><b>period</b>: 2026-11-02 14:30:00+0000 --> (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></tr><tr><td style="display: none">*</td><td>RCB OBS1 BAY2-6 (Identifier: OBS1)</td><td>Active</td></tr></table><p><b>serviceProvider</b>: Identifier: <a href="NamingSystem-ods-organization-code.html" title="NHS Organisation Data Service (ODS) organisation code. HL7 v2 MSH-4, MSH-6, CX-6, PD1-3.">ODSOrganisationCode</a>/RCB</p></div>
</text>
<identifier>
<use value="official"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="AN"/>
</coding>
</type>
<value value="5000123"/>
<assigner>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
<value value="RCB"/>
</identifier>
</assigner>
</identifier>
<status value="onleave"/>
<class>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="IMP"/>
</class>
<serviceType>
<coding>
<system
value="https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function"/>
<code value="300"/>
</coding>
</serviceType>
<subject>🔗
<reference value="Patient/Patient-EDITESTPATIENT-TEN-9999999557"/>
</subject>
<participant>
<type>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
<code value="ATND"/>
</coding>
</type>
<individual>
<identifier>
<system value="https://fhir.hl7.org.uk/Id/gmc-number"/>
<value value="C3456789"/>
</identifier>
<display value="Dr Samuel Darwin"/>
</individual>
</participant>
<participant>
<type>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
<code value="REF"/>
</coding>
</type>
<individual>
<identifier>
<system value="https://fhir.hl7.org.uk/Id/gmp-number"/>
<value value="G5612908"/>
</identifier>
<display value="Dr Gregory Townley"/>
</individual>
</participant>
<participant>
<type>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
<code value="CON"/>
</coding>
</type>
<individual>
<identifier>
<system value="https://fhir.hl7.org.uk/Id/gmc-number"/>
<value value="C3456789"/>
</identifier>
<display value="Dr Samuel Darwin"/>
</individual>
</participant>
<participant>
<type>
<coding>
<system
value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
<code value="ADM"/>
</coding>
</type>
<individual>
<identifier>
<system value="https://fhir.hl7.org.uk/Id/gmc-number"/>
<value value="C3456789"/>
</identifier>
<display value="Dr Samuel Darwin"/>
</individual>
</participant>
<period>
<start value="2026-11-02T14:30:00+00:00"/>
</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="22"/>
</coding>
</valueCodeableConcept>
</extension>
<admitSource>
<coding>
<system
value="https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland"/>
<code value="19"/>
</coding>
</admitSource>
</hospitalization>
<location>
<location>
<identifier>
<value value="OBS1"/>
</identifier>
<display value="RCB OBS1 BAY2-6"/>
</location>
<status value="active"/>
</location>
<serviceProvider>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
<value value="RCB"/>
</identifier>
</serviceProvider>
</Encounter>
</resource>
</entry>
</Bundle>