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 (JSON)

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

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

Emergency transitioning into inpatient example

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

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.