<?xml version="1.0" encoding="UTF-8"?><Encounter xmlns="http://hl7.org/fhir">
  <id value="f203"/>
  <meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
      <display value="test health data"/>
    </security>
  </meta>
  <identifier>
    <use value="temp"/>
    <value value="Encounter_Roel_20130311"/>
  </identifier>
  <status value="completed"/>
  <!-- Encounter has been completed -->
  <class>
    <coding>
      <!-- Inpatient encounter for straphylococcus infection -->
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="IMP"/>
      <display value="inpatient encounter"/>
    </coding>
  </class>
  <priority>
    <!-- High priority -->
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="394849002"/>
      <display value="High priority"/>
    </coding>
  </priority>
  <type>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="183807002"/>
      <display value="Inpatient stay 9 days"/>
    </coding>
  </type>
  <subject>
    <reference value="Patient/f201"/>
    <display value="Roel"/>
  </subject>
  <episodeOfCare>
    <reference value="EpisodeOfCare/example"/>
  </episodeOfCare>
  <basedOn>
    <reference value="ServiceRequest/myringotomy"/>
  </basedOn>
  <partOf>
    <reference value="Encounter/f203"/>
  </partOf>
  <serviceProvider>
    <reference value="Organization/2"/>
  </serviceProvider>
  <participant>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="PART"/>
      </coding>
    </type>
    <actor>
      <reference value="Practitioner/f201"/>
    </actor>
  </participant>
  <appointment>
    <reference value="Appointment/example"/>
  </appointment>
  <actualPeriod>
    <start value="2013-03-11"/>
    <end value="2013-03-20"/>
  </actualPeriod>
  <reason>
    <value>
      <concept>
        <text value="The patient seems to suffer from bilateral pneumonia and renal insufficiency, most likely due to chemotherapy."/>
      </concept>
    </value>
  </reason>
  <diagnosis>
    <condition>
      <reference>
        <reference value="Condition/stroke"/>
      </reference>
    </condition>
    <use>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/diagnosis-role"/>
        <code value="AD"/>
        <display value="Admission diagnosis"/>
      </coding>
    </use>
  </diagnosis>
  <diagnosis>
    <condition>
      <reference>
        <reference value="Condition/f201"/>
      </reference>
    </condition>
    <use>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/diagnosis-role"/>
        <code value="DD"/>
        <display value="Discharge diagnosis"/>
      </coding>
    </use>
  </diagnosis>
  <account>
    <reference value="Account/example"/>
  </account>
  <!-- No indication, because no referral took place -->
  <dietPreference>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="276026009"/>
      <display value="Fluid balance regulation"/>
    </coding>
  </dietPreference>
  <specialArrangement>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/encounter-special-arrangements"/>
      <code value="wheel"/>
      <display value="Wheelchair"/>
    </coding>
  </specialArrangement>
  <specialCourtesy>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/v3-EncounterSpecialCourtesy"/>
      <code value="NRM"/>
      <display value="normal courtesy"/>
    </coding>
  </specialCourtesy>
  <admission>
    <origin>
      <reference value="Location/2"/>
    </origin>
    <admitSource>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="309902002"/>
        <display value="Clinical Oncology Department"/>
      </coding>
    </admitSource>
    <reAdmission>
      <coding>
        <display value="readmitted"/>
      </coding>
    </reAdmission>
    <!-- accomodation details are not available -->
    <destination>
      <!-- Fictive -->
      <reference value="Location/2"/>
    </destination>
  </admission>
</Encounter>