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

<Encounter xmlns="http://hl7.org/fhir">
  <meta>
    <versionId value="1"/>
    <lastUpdated value="2025-09-04T09:00:00.000Z"/>
    <source value="https://standards.digital.health.nz/ns/hpi-facility-id/F04066-D"/>
    <profile value="https://fhir-ig.digital.health.nz/shared-care/StructureDefinition/DHOEncounter"/>
    <tag>
      <system value="https://hub.services.digital.health.nz/ns/correlation-id"/>
      <code value="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"/>
    </tag>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Encounter dho-outpatient-encounter-update-instance</b></p><a name="dho-outpatient-encounter-update-instance"> </a><a name="hcdho-outpatient-encounter-update-instance"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">version: 1; Last updated: 2025-09-04 09:00:00+0000; </p><p style="margin-bottom: 0px">Information Source: <a href="https://standards.digital.health.nz/ns/hpi-facility-id/F04066-D">https://standards.digital.health.nz/ns/hpi-facility-id/F04066-D</a></p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-DHOEncounter.html">Dunedin Hospital Outpatient Encounter</a></p><p style="margin-bottom: 0px">Tag: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (Details: correlation-id code xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)</p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href="http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB">ActCode AMB</a>: Ambulatory</p><p><b>subject</b>: Mr Test Patient | Male | 2001-01-01 (Identifier: <a href="http://fhir.org.nz/ig/base/NamingSystem-nhi.html" title="NHI number">NHI</a>/ZZZ0008)</p></div>
  </text>
  <status value="finished"/>
  <class>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
    <code value="AMB"/>
    <display value="Ambulatory"/>
  </class>
  <subject>
    <type value="Patient"/>
    <identifier>
      <system value="https://standards.digital.health.nz/ns/nhi-id"/>
      <value value="ZZZ0008"/>
    </identifier>
    <display value="Mr Test Patient | Male | 2001-01-01"/>
  </subject>
</Encounter>