FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). 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

Patient Administration Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Encounter, Patient, Practitioner, RelatedPerson

Raw XML (canonical form)

Jump past Narrative

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', given as 'Chemotherapy'})</span> </p> <p> <b> priority</b> : Urgent <span> (Details : {SNOMED CT code '103391001' = 'Urgency', given as 'Urgent'})</span> </p> <p> <b> subject</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> <h3> Diagnoses</h3> <table> <tr> <td> -</td> <td> <b> Condition</b> </td> <td> <b> Role</b> </td> <td> <b> Rank</b> </td> </tr> <tr> <td> *</td> <td> Complications from Roel's TPF chemotherapy on January 28th, 2013</td> <td> Admission diagnosis <span> (Details : {http://hl7.org/fhir/diagnosis-role code 'AD' = 'Admission diagnosis', given
               as 'Admission diagnosis'})</span> </td> <td> 1</td> </tr> </table> <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> 
 <subject> 
     <reference value="Patient/f201"/> 
     <display value="Roel"/> 
 </subject> 
 <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> 
  <diagnosis> 
    <condition> 
      <display value="Complications from Roel's TPF chemotherapy on January 28th, 2013"/> 
    </condition> 
  <role> 
    <coding> 
      <system value="http://hl7.org/fhir/diagnosis-role"/> 
      <code value="AD"/> 
      <display value="Admission diagnosis"/> 
    </coding> 
  </role> 
  <rank value="1"/> 
  </diagnosis> 
  
 <!--   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.