<?xml version="1.0" encoding="UTF-8"?><Encounter xmlns="http://hl7.org/fhir">
  <id value="colonoscopy"/>
  <meta>
    <security>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
      <code value="HTEST"/>
      <display value="test health data"/>
    </security>
  </meta>
  <status value="completed"/>
  <!-- Encounter has been completed -->
  <class>
    <coding>
      <!-- Inpatient encounter for colonoscopy  -->
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <code value="IMP"/>
      <display value="inpatient encounter"/>
    </coding>
  </class>
  <type>
    <coding>
      <system value="http://snomed.info/sct"/>
      <code value="73761001"/>
      <display value="Colonoscopy (procedure)"/>
    </coding>
    <text value="Colonoscopy"/>
  </type>
  <!--  
            Note that this patient record is associated with Organization/2,
            however the service provider is Organization/1 who contracts 
            gastroenterology services (in this case performed by Dr Adam).
         -->
  <subject>
    <reference value="Patient/glossy"/>
    <display value="Henry Levin the 7th"/>
  </subject>
  <serviceProvider>
    <reference value="Organization/1"/>
    <display value="Gastroenterology @ Acme Hospital"/>
  </serviceProvider>
  <participant>
    <type>
      <coding>
        <system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
        <code value="PART"/>
      </coding>
    </type>
    <actor>
      <reference value="Practitioner/example"/>
      <display value="Dr Adam Careful"/>
    </actor>
  </participant>
  <actualPeriod>
    <start value="2013-03-11"/>
    <end value="2013-03-20"/>
  </actualPeriod>
  <reason>
    <value>
      <concept>
        <text value="Routine investigation"/>
      </concept>
    </value>
  </reason>
</Encounter>