<?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>
  <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Encounter</b><a name="colonoscopy"> </a></p><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">Resource Encounter "colonoscopy" </p></div><p><b>status</b>: completed</p><p><b>class</b>: <span title=" Encounter has been completed ">inpatient encounter <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.1.0/CodeSystem-v3-ActCode.html">ActCode</a>#IMP)</span></span></p><p><b>type</b>: Colonoscopy <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a>#73761001 "Colonoscopy (procedure)")</span></p><p><b>subject</b>: <a href="patient-glossy-example.html">Patient/glossy: Henry Levin the 7th</a> "Henry LEVIN"</p><p><b>serviceProvider</b>: <a href="organization-example-gastro.html">Organization/1: Gastroenterology @ Acme Hospital</a> "Gastroenterology"</p><h3>Participants</h3><table class="grid"><tr><td>-</td><td><b>Type</b></td><td><b>Actor</b></td></tr><tr><td>*</td><td>Participation <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.1.0/CodeSystem-v3-ParticipationType.html">ParticipationType</a>#PART)</span></td><td><a href="practitioner-example.html">Practitioner/example: Dr Adam Careful</a> "Adam CAREFUL"</td></tr></table><p><b>actualPeriod</b>: 2013-03-11 --&gt; 2013-03-20</p><blockquote><p><b>reason</b></p><h3>Values</h3><table class="grid"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Routine investigation <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></td></tr></table></blockquote></div></text><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>
    <subject>
        <reference value="Patient/glossy"/>
        <display value="Henry Levin the 7th"/>
            <!--   
            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>
    <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>