{
  "resourceType": "Encounter",
  "id": "TII-ED-encounter-1",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Emergency visit  @example</div>"
  },
  "status": "finished",
  "class": {
    "system": "http://hl7.org/fhir/v3/ActCode",
    "code": "EMER",
    "display": "emergency"
  },
  "subject": {
    "reference": "Patient/pat-enc-1"
  },
  "period": {
    "start": "2018-06-19T05:15:00+00:00",
    "end": "2018-06-19T13:20:00+00:00"
  },
  "reason": [
    {
      "text": "Acute asthma attack"
    }
  ],
  "location": [
    {
      "location": {
        "display": "Emergency Department @some hospital"
      },
      "status": "active",
      "period": {
        "start": "2018-06-19T05:15:00+00:00",
        "end": "2018-06-19T13:20:00+00:00"
      }
    }
  ],
  "serviceProvider": {
    "reference": "Organization/TII-ED-Organization"
  }
}