Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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

Example Encounter/emerg (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

Emergency transitioning into inpatient example (id = "emerg")

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

<Encounter xmlns="http://hl7.org/fhir">
  <id value="emerg"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">Emergency visit that escalated into inpatient patient @example</div> 
  </text> 
  <status value="in-progress"/> 
  <statusHistory> 
    <status value="planned"/> 
    <period> 
      <start value="2017-02-01T07:15:00+10:00"/> 
      <end value="2017-02-01T08:45:00+10:00"/> 
    </period> 
  </statusHistory> 
  <statusHistory> 
    <status value="in-progress"/> 
    <period> 
      <start value="2017-02-01T08:45:00+10:00"/> 
      <end value="2017-02-01T12:15:00+10:00"/> 
    </period> 
  </statusHistory> 
  <statusHistory> 
    <status value="onhold"/> 
    <period> 
      <start value="2017-02-01T12:15:00+10:00"/> 
      <end value="2017-02-01T12:45:00+10:00"/> 
    </period> 
  </statusHistory> 
  <statusHistory> 
    <status value="in-progress"/> 
    <period> 
      <start value="2017-02-01T08:45:00+10:00"/> 
    </period> 
  </statusHistory> 
  <class> 
    <coding> 
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> 
      <code value="IMP"/> 
      <display value="inpatient encounter"/> 
    </coding> 
  </class> 
  <classHistory> 
    <class> 
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> 
      <code value="EMER"/> 
      <display value="emergency"/> 
    </class> 
    <period> 
      <start value="2017-02-01T07:15:00+10:00"/> 
      <end value="2017-02-01T09:27:00+10:00"/> 
    </period> 
  </classHistory> 
  <classHistory> 
    <class> 
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/> 
      <code value="IMP"/> 
      <display value="inpatient encounter"/> 
    </class> 
    <period> 
      <start value="2017-02-01T09:27:00+10:00"/> 
    </period> 
  </classHistory> 
  <subject> 
    <reference value="Patient/example"/> 
  </subject> 
  <actualPeriod> 
    <start value="2017-02-01T07:15:00+10:00"/> 
  </actualPeriod> 
  <admission> 
    <admitSource> 
      <coding> 
        <system value="http://terminology.hl7.org/CodeSystem/admit-source"/> 
        <code value="emd"/> 
        <display value="From accident/emergency department"/> 
      </coding> 
    </admitSource> 
  </admission> 
  <location> 
    <location> 
      <display value="Emergency Waiting Room"/> 
    </location> 
    <status value="active"/> 
    <period> 
      <start value="2017-02-01T07:15:00+10:00"/> 
      <end value="2017-02-01T08:45:00+10:00"/> 
    </period> 
  </location> 
  <location> 
    <location> 
      <display value="Emergency"/> 
    </location> 
    <status value="active"/> 
    <period> 
      <start value="2017-02-01T08:45:00+10:00"/> 
      <end value="2017-02-01T09:27:00+10:00"/> 
    </period> 
  </location> 
  <location> 
    <location> 
      <display value="Ward 1, Room 42, Bed 1"/> 
    </location> 
    <status value="active"/> 
    <period> 
      <start value="2017-02-01T09:27:00+10:00"/> 
      <end value="2017-02-01T12:15:00+10:00"/> 
    </period> 
  </location> 
  <location> 
    <location> 
      <display value="Ward 1, Room 42, Bed 1"/> 
    </location> 
    <status value="reserved"/> 
    <period> 
      <start value="2017-02-01T12:15:00+10:00"/> 
      <end value="2017-02-01T12:45:00+10:00"/> 
    </period> 
  </location> 
  <location> 
    <location> 
      <display value="Ward 1, Room 42, Bed 1"/> 
    </location> 
    <status value="active"/> 
    <period> 
      <start value="2017-02-01T12:45:00+10:00"/> 
    </period> 
  </location> 
</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.