Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Example Encounter/f202 (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: Encounter</b> <a name="f202"> </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 &quot;f202&quot; </p> </div> <p> <b> identifier</b> : id: Encounter_Roel_20130128 (use: TEMP)</p> <p> <b> status</b> : completed</p> <p> <b> class</b> : <span title=" Encounter has finished ">ambulatory <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> #AMB)</span> </span> </p> <p> <b> priority</b> : Urgent <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #103391001)</span> </p> <p> <b> type</b> : Chemotherapy <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="https://browser.ihtsdotools.org/">SNOMED CT</a> #367336001)</span> </p> <p> <b> subject</b> : <a href="patient-example-f201-roel.html">Patient/f201: Roel</a>  &quot;Roel&quot;</p> <p> <b> serviceProvider</b> : <a href="organization-example-f201-aumc.html">Organization/f201</a>  &quot;Artis University Medical Center (AUMC)&quot;</p> <h3> Participants</h3> <table class="grid"><tr> <td> -</td> <td> <b> Actor</b> </td> </tr> <tr> <td> *</td> <td> <a href="practitioner-example-f201-ab.html">Practitioner/f201</a>  &quot;Dokter Bronsig&quot;</td> </tr> </table> <h3> Lengths</h3> <table class="grid"><tr> <td> -</td> <td> <b> Value</b> </td> <td> <b> Unit</b> </td> <td> <b> System</b> </td> <td> <b> Code</b> </td> </tr> <tr> <td> *</td> <td> 56</td> <td> minutes</td> <td> <a href="http://terminology.hl7.org/5.1.0/CodeSystem-v3-ucum.html">Unified Code for Units of Measure (UCUM)</a> </td> <td> min</td> </tr> </table> <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> The patient is treated for a tumor. <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </td> </tr> </table> </blockquote> <blockquote> <p> <b> diagnosis</b> </p> <h3> Conditions</h3> <table class="grid"><tr> <td> -</td> <td> <b> Concept</b> </td> </tr> <tr> <td> *</td> <td> Complications from Roel's TPF chemotherapy on January 28th, 2013 <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </td> </tr> </table> <p> <b> use</b> : Admission diagnosis <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.1.0/CodeSystem-diagnosis-role.html">Diagnosis Role</a> #AD)</span> </p> </blockquote> <blockquote> <p> <b> diagnosis</b> </p> <h3> Conditions</h3> <table class="grid"><tr> <td> -</td> <td> <b> Concept</b> </td> </tr> <tr> <td> *</td> <td> The patient is treated for a tumor <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span> </td> </tr> </table> <p> <b> use</b> : Chief complaint <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/5.1.0/CodeSystem-diagnosis-role.html">Diagnosis Role</a> #CC)</span> </p> </blockquote> </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> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> 
      <code value="AMB"/>     <!--    outpatient encounter for chemotherapy    -->
      <display value="ambulatory"/> 
    </coding> 
  </class> 
  <priority> 
        <!--   Urgent priority, because of complications   -->
    <coding> 
      <system value="http://snomed.info/sct"/> 
      <code value="103391001"/> 
      <display value="Urgent"/> 
    </coding> 
  </priority> 
  <type> 
    <coding> 
      <system value="http://snomed.info/sct"/> 
      <code value="367336001"/> 
      <display value="Chemotherapy"/> 
    </coding> 
  </type> 
  <subject> 
    <reference value="Patient/f201"/> 
    <display value="Roel"/> 
  </subject> 
  <serviceProvider> 
    <reference value="Organization/f201"/> 
  </serviceProvider> 
  <participant> 
    <actor> 
      <reference value="Practitioner/f201"/> 
    </actor> 
  </participant> 
  <length> 
    <value value="56"/> 
    <unit value="minutes"/> 
    <system value="http://unitsofmeasure.org"/> 
    <code value="min"/> 
  </length> 
  <reason> 
    <value> 
      <concept> 
          <text value="The patient is treated for a tumor."/> 
      </concept> 
    </value> 
  </reason> 
  <diagnosis> 
    <condition> 
      <concept> 
        <text value="Complications from Roel's TPF chemotherapy on January 28th, 2013"/> 
      </concept> 
    </condition> 
    <use> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/diagnosis-role"/> 
        <code value="AD"/> 
        <display value="Admission diagnosis"/> 
      </coding> 
    </use> 
  </diagnosis> 
      <!--    Example of a principal diagnosis with role=CC and rank=1   -->
  <diagnosis> 
    <condition> 
      <concept> 
        <text value="The patient is treated for a tumor"/> 
      </concept> 
    </condition> 
    <use> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/diagnosis-role"/> 
        <code value="CC"/> 
        <display value="Chief complaint"/> 
      </coding> 
    </use> 
  </diagnosis> 
      <!--   No admission was deemed necessary   -->
</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.