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

<Encounter xmlns="http://hl7.org/fhir">
  <id value="example-dhis-encounter"/>
  <meta>
    <profile value="https://dhp.uz/fhir/core/StructureDefinition/uz-core-encounter"/>
  </meta>
  <language value="uz"/>
  <text>
    <status value="generated"/><div xml:lang="uz" lang="uz"><hr/><p><b>Uzbek</b></p><hr/><p class="res-header-id"><b>Generated Narrative: Encounter example-dhis-encounter</b></p><a name="uz-example-dhis-encounter"> </a><a name="uz-hcexample-dhis-encounter"> </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="file:///home/runner/work/digital-health-ig/digital-health-ig/output/StructureDefinition-uz-core-encounter.html">UZ Core Encounter</a></p></div><p><b>status</b>: Completed</p><p><b>class</b>: <span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}">inpatient encounter</span></p><p><b>type</b>: <span title="Codes:{https://terminology.dhp.uz/fhir/core/CodeSystem/encounter-type-cs mserv-0001-00004}">Treatment services</span></p><p><b>subject</b>: <a href="Patient-example-patient-john.html">John Smith(official) Unknown, DoB: 2026-03-13 ( National unique individual identifier)</a></p><h3>Participants</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Type</b></td><td><b>Period</b></td><td><b>Actor</b></td></tr><tr><td style="display: none">*</td><td><span title="Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType ATND}">attender</span></td><td>2026-02-12 08:00:00+0500 --&gt; 2026-02-18 14:00:00+0500</td><td><a href="Practitioner-example-practitioner.html">Practitioner Farkhod Simonov </a></td></tr></table><p><b>actualPeriod</b>: 2026-02-12 08:00:00+0500 --&gt; 2026-02-18 14:00:00+0500</p><blockquote><p><b>diagnosis</b></p><h3>Conditions</h3><table class="grid"><tr><td style="display: none">-</td><td><b>Reference</b></td></tr><tr><td style="display: none">*</td><td><a href="Condition-example-tbc-diagnosis.html">Condition Primary tuberculous complex</a></td></tr></table><p><b>use</b>: <span title="Codes:{http://hl7.org/fhir/encounter-diagnosis-use final}">Final</span></p></blockquote></div>
  </text>
  <status value="completed"/>
  <class>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="IMP"/>
      <display value="inpatient encounter"/>
    </coding>
  </class>
  <type>
    <coding>
      <system value="https://terminology.dhp.uz/fhir/core/CodeSystem/encounter-type-cs"/>
      <code value="mserv-0001-00004"/>
      <display value="Treatment services"/>
    </coding>
  </type>
  <subject>
    <reference value="Patient/example-patient-john"/>
  </subject>
  <participant>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="ATND"/>
        <display value="attender"/>
      </coding>
    </type>
    <period>
      <start value="2026-02-12T08:00:00+05:00"/>
      <end value="2026-02-18T14:00:00+05:00"/>
    </period>
    <actor>
      <reference value="Practitioner/example-practitioner"/>
    </actor>
  </participant>
  <actualPeriod>
    <start value="2026-02-12T08:00:00+05:00"/>
    <end value="2026-02-18T14:00:00+05:00"/>
  </actualPeriod>
  <diagnosis>
    <condition>
      <reference>
        <reference value="Condition/example-tbc-diagnosis"/>
      </reference>
    </condition>
    <use>
      <coding>
        <system value="http://hl7.org/fhir/encounter-diagnosis-use"/>
        <code value="final"/>
        <display value="Final"/>
      </coding>
    </use>
  </diagnosis>
</Encounter>