# Encounter example of emergency visit that escalated into inpatient patient - QI-Core Implementation Guide v7.0.2

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Encounter example of emergency visit that escalated into inpatient patient**

## Example Encounter: Encounter example of emergency visit that escalated into inpatient patient

| |
| :--- |
| *Page standards status:*[Informative](http://hl7.org/fhir/R4/versions.html#std-process) |

Profile: [QICore Encounter](StructureDefinition-qicore-encounter.md)

**status**: In Progress

**class**: [ActCode: IMP](http://terminology.hl7.org/6.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP) (inpatient encounter)

**type**: Initial hospital inpatient or observation care, per day, for the evaluation and management of a patient, which requires a medically appropriate history and/or examination and high level of medical decision making. When using total time on the date of the encounter for code selection, 75 minutes must be met or exceeded.

**subject**: [Jim Chalmers Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --> (ongoing)))](Patient-example.md)

**period**: 2017-02-01 07:15:00+1000 --> (ongoing)

> **location****location**: [Emergency Waiting Room](Location-example.md)**status**: Active**period**: 2017-02-01 07:15:00+1000 --> 2017-02-01 08:45:00+1000

> **location****location**: [Emergency](Location-example.md)**status**: Active**period**: 2017-02-01 08:45:00+1000 --> 2017-02-01 09:27:00+1000

> **location****location**: [Ward 1, Room 42, Bed 1](Location-example.md)**status**: Active**period**: 2017-02-01 09:27:00+1000 --> 2017-02-01 12:15:00+1000

> **location****location**: [Ward 1, Room 42, Bed 1](Location-example.md)**status**: Reserved**period**: 2017-02-01 12:15:00+1000 --> 2017-02-01 12:45:00+1000

> **location****location**: [Ward 1, Room 42, Bed 1](Location-example.md)**status**: Active**period**: 2017-02-01 12:45:00+1000 --> (ongoing)



## Resource Content

```json
{
  "resourceType" : "Encounter",
  "id" : "encounter-ed-example",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter"]
  },
  "status" : "in-progress",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "IMP",
    "display" : "inpatient encounter"
  },
  "type" : [{
    "coding" : [{
      "system" : "http://www.ama-assn.org/go/cpt",
      "code" : "99223",
      "display" : "Initial hospital inpatient or observation care, per day, for the evaluation and management of a patient, which requires a medically appropriate history and/or examination and high level of medical decision making. When using total time on the date of the encounter for code selection, 75 minutes must be met or exceeded."
    }]
  }],
  "subject" : {
    "reference" : "Patient/example"
  },
  "period" : {
    "start" : "2017-02-01T07:15:00+10:00"
  },
  "location" : [{
    "location" : {
      "reference" : "Location/example",
      "display" : "Emergency Waiting Room"
    },
    "status" : "active",
    "period" : {
      "start" : "2017-02-01T07:15:00+10:00",
      "end" : "2017-02-01T08:45:00+10:00"
    }
  },
  {
    "location" : {
      "reference" : "Location/example",
      "display" : "Emergency"
    },
    "status" : "active",
    "period" : {
      "start" : "2017-02-01T08:45:00+10:00",
      "end" : "2017-02-01T09:27:00+10:00"
    }
  },
  {
    "location" : {
      "reference" : "Location/example",
      "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" : {
      "reference" : "Location/example",
      "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" : {
      "reference" : "Location/example",
      "display" : "Ward 1, Room 42, Bed 1"
    },
    "status" : "active",
    "period" : {
      "start" : "2017-02-01T12:45:00+10:00"
    }
  }]
}

```
