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

<Encounter xmlns="http://hl7.org/fhir">
  <id value="hd-encounter-example"/>
  <meta>
    <profile value="https://fhir.muen.tw/ig/hd/StructureDefinition/hd-encounter"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Encounter hd-encounter-example</b></p><a name="hd-encounter-example"> </a><a name="hchd-encounter-example"> </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"/><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-hd-encounter.html">血液透析住出院 (HD Encounter)</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href="http://hl7.org/fhir/R4/v3/ActCode/cs.html#v3-ActCode-IMP">v3 Code System ActCode: IMP</a> (inpatient encounter)</p><p><b>subject</b>: <a href="Patient-hd-patient-example.html">王小明(official) Male, DoB: 1965-03-12 ( Medical record number (use: official, ))</a></p><p><b>period</b>: 2024-04-10 --&gt; 2024-04-15</p><p><b>reasonCode</b>: <span title="Codes:{https://fhir.muen.tw/ig/hd/CodeSystem/admission-reason-major A}, {https://fhir.muen.tw/ig/hd/CodeSystem/admission-reason A-11}">透析相關疾病</span></p></div>
  </text>
  <status value="finished"/>
  <class>
    <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
    <code value="IMP"/>
    <display value="inpatient encounter"/>
  </class>
  <subject>
    <reference value="Patient/hd-patient-example"/>
  </subject>
  <period>
    <start value="2024-04-10"/>
    <end value="2024-04-15"/>
  </period>
  <reasonCode>
    <coding>
      <system value="https://fhir.muen.tw/ig/hd/CodeSystem/admission-reason-major"/>
      <code value="A"/>
      <display value="透析相關疾病"/>
    </coding>
    <coding>
      <system value="https://fhir.muen.tw/ig/hd/CodeSystem/admission-reason"/>
      <code value="A-11"/>
      <display value="血管通路功能不良"/>
    </coding>
  </reasonCode>
</Encounter>