STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Encounter-example-f202-20130128.xml

Raw XML (canonical form)

Real-world encounter example (with primaryDiagnosis extension added) (id = "f202")

<Encounter xmlns="http://hl7.org/fhir">
  <id value="f202"/>
 <text><status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: f202</p><p><b>identifier</b>: Encounter_Roel_20130128 (TEMP)</p><p><b>status</b>: finished</p><p><b>class</b>: ambulatory (Details: http://hl7.org/fhir/v3/ActCode code AMB = 'ambulatory', stated
         as 'ambulatory')</p><p><b>type</b>: Chemotherapy <span>(Details : {SNOMED CT code '367336001' = 'Chemotherapy (procedure)', given as 'Chemotherapy'})</span></p><p><b>priority</b>: Urgent <span>(Details : {SNOMED CT code '103391001' = 'Urgency (qualifier value)', given as 'Urgent'})</span></p><p><b>patient</b>: <a>Roel</a></p><h3>Participants</h3><table><tr><td>-</td><td><b>Individual</b></td></tr><tr><td>*</td><td><a>Practitioner/f201</a></td></tr></table><p><b>length</b>: 56 minutes<span> (Details: UCUM code min = 'min')</span></p><p><b>reason</b>: The patient is treated for a tumor. <span>(Details )</span></p><p><b>indication</b>: <a>Roel's TPF chemotherapy on January 28th, 2013</a></p><p><b>serviceProvider</b>: <a>Organization/f201</a></p></div></text><identifier>
    <use value="temp"/><!--    0..1 The use of this identifier    -->
    <value value="Encounter_Roel_20130128"/>
 </identifier>
 <status value="finished"/><!--   Encounter has finished   -->
    <class>
        <system value="http://hl7.org/fhir/v3/ActCode"/>
        <code value="AMB"/> <!--    outpatient encounter for chemotherapy    -->
        <display value="ambulatory"/>
    </class>
 <type>
    <coding>
       <system value="http://snomed.info/sct"/>
       <code value="367336001"/>
       <display value="Chemotherapy"/> 
    </coding>
 </type>
 <priority><!--   Urgent priority, because of complications   -->
    <coding>
       <system value="http://snomed.info/sct"/>
       <code value="103391001"/>
       <display value="Urgent"/>
    </coding>
 </priority>
 <patient>
     <reference value="Patient/f201"/>
     <display value="Roel"/>
 </patient>
 <participant>
     <individual>
         <reference value="Practitioner/f201"/>
    </individual>
 </participant>
 <length>
    <value value="56"/>
    <unit value="minutes"/>
    <system value="http://unitsofmeasure.org"/>
    <code value="min"/>
 </length>
 <reason>
    <extension url="http://hl7.org/fhir/StructureDefinition/encounter-primaryDiagnosis">
      <valuePositiveInt value="2"/>
    </extension>
   <text value="The patient is treated for a tumor."/>
 </reason>
 <indication>
    <extension url="http://hl7.org/fhir/StructureDefinition/encounter-primaryDiagnosis">
      <valuePositiveInt value="1"/>
    </extension>
     <reference value="Procedure/f201"/>
     <display value="Roel's TPF chemotherapy on January 28th, 2013"/>
 </indication>
 <!--   No hospitalization was deemed necessary   -->
 <serviceProvider>
     <reference value="Organization/f201"/>
 </serviceProvider>
</Encounter>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.