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

<Encounter xmlns="http://hl7.org/fhir">
  <id value="VirtualWardStay"/>
  <meta>
    <profile value="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/HospitalSpell"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Encounter VirtualWardStay</b></p><a name="VirtualWardStay"> </a><a name="hcVirtualWardStay"> </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-HospitalSpell.html">Hospital Spell</a></p></div><p><b>Discharge Method</b>: <span title="Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland 1}">Discharged on clinical advice</span></p><p><b>identifier</b>: Account number/VW-20261006-01</p><p><b>status</b>: Finished</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:{http://snomed.info/sct 418112009}">Pulmonary medicine</span></p><p><b>subject</b>: <a href="Patient-Patient-Manchester.html">Sansa MANCHESTER  Female, DoB: 1972-09-21 ( National Health Plan Identifier: NHS Number#9737383192)</a></p><p><b>basedOn</b>: <a href="ServiceRequest-VirtualWardReferral.html">ServiceRequest Referral to virtual ward</a></p><p><b>period</b>: 2026-10-06 11:00:00+0100 --&gt; 2026-10-13 10:00:00+0100</p><p><b>reasonReference</b>: <a href="Condition-ConditionCOPDExacerbation.html">Condition Acute exacerbation of chronic obstructive airways disease</a></p><h3>Hospitalizations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>AdmitSource</b></td><td><b>DischargeDisposition</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/virtual-ward-admission-route step-up}">Step-up</span></td><td><span title="Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeDestinationEngland 19}">Usual place of residence - care returned to the GP</span></td></tr></table><h3>Locations</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Location</b></td></tr><tr><td style="display: none">*</td><td><a href="Location-PatientManchesterHome.html">Patient's home (Patient's Residence)</a></td></tr></table><p><b>serviceProvider</b>: <a href="Organization-R0A.html">Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</a></p></div>
  </text>
  <extension url="https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/DischargeMethod">
    <valueCodeableConcept>
      <coding>
        <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland"/>
        <code value="1"/>
      </coding>
      <text value="Discharged on clinical advice"/>
    </valueCodeableConcept>
  </extension>
  <identifier>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
        <code value="AN"/>
      </coding>
    </type>
    <value value="VW-20261006-01"/>
    <assigner>
      <identifier>
        <system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
        <value value="R0A"/>
      </identifier>
    </assigner>
  </identifier>
  <status value="finished"/>
  <class>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
    <code value="IMP"/>
  </class>
  <serviceType>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="418112009"/>
      <display value="Pulmonary medicine"/>
    </coding>
  </serviceType>
  <subject>
    <reference value="Patient/Patient-Manchester"/>
  </subject>
  <basedOn>
    <reference value="ServiceRequest/VirtualWardReferral"/>
  </basedOn>
  <period>
    <start value="2026-10-06T11:00:00+01:00"/>
    <end value="2026-10-13T10:00:00+01:00"/>
  </period>
  <reasonReference>
    <reference value="Condition/ConditionCOPDExacerbation"/>
  </reasonReference>
  <hospitalization>
    <admitSource>
      <coding>
        <system value="https://fhir.acmeexample.org.uk/PatientCareCoordination/CodeSystem/virtual-ward-admission-route"/>
        <code value="step-up"/>
        <display value="Step-up"/>
      </coding>
    </admitSource>
    <dischargeDisposition>
      <coding>
        <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeDestinationEngland"/>
        <code value="19"/>
      </coding>
      <text value="Usual place of residence - care returned to the GP"/>
    </dischargeDisposition>
  </hospitalization>
  <location>
    <location>
      <reference value="Location/PatientManchesterHome"/>
    </location>
  </location>
  <serviceProvider>
    <reference value="Organization/R0A"/>
  </serviceProvider>
</Encounter>