Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). 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/AStandards Status: InformativeCompartments: Encounter, Patient, Practitioner, RelatedPerson

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

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

<?xml version="1.0" encoding="UTF-8"?>

<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> : completed</p> <p> <b> class</b> : ambulatory (Details: http://terminology.hl7.org/CodeSystem/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> : </p> <blockquote> <p> <b> diagnosis</b> </p> <p> <b> condition</b> : Complications from Roel's TPF chemotherapy on January 28th, 2013</p> <p> <b> use</b> : Admission diagnosis <span> (Details : {http://terminology.hl7.org/CodeSystem/diagnosis-role code 'AD' = 'Admission
             diagnosis', given as 'Admission diagnosis'})</span> </p> <p> <b> rank</b> : 2</p> </blockquote> <blockquote> <p> <b> diagnosis</b> </p> <p> <b> condition</b> : The patient is treated for a tumor</p> <p> <b> use</b> : Chief complaint <span> (Details : {http://terminology.hl7.org/CodeSystem/diagnosis-role code 'CC' = 'Chief complaint',
             given as 'Chief complaint'})</span> </p> <p> <b> rank</b> : 1</p> </blockquote> <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="completed"/> 
  <!--   Encounter has finished   -->
  <class> 
    <system value="http://terminology.hl7.org/CodeSystem/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> 
      <concept> 
        <text value="The patient is treated for a tumor."/> 
      </concept> 
  </reason> 
  <diagnosis> 
    <condition> 
      <display value="Complications from Roel's TPF chemotherapy on January 28th, 2013"/> 
    </condition> 
    <use> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/diagnosis-role"/> 
        <code value="AD"/> 
        <display value="Admission diagnosis"/> 
      </coding> 
    </use> 
    <rank value="2"/> 
  </diagnosis> 
  <!--    Example of a principal diagnosis with role=CC and rank=1   -->
  <diagnosis> 
    <condition> 
      <display value="The patient is treated for a tumor"/> 
    </condition> 
    <use> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/diagnosis-role"/> 
        <code value="CC"/> 
        <display value="Chief complaint"/> 
      </coding> 
    </use> 
    <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.