{
  "resourceType": "Encounter",
  "id": "EncounterPatient1",
  "meta": {
    "profile": [
      "https://fhir.ee/StructureDefinition/ee-encounter"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"EncounterPatient1\"> </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;EncounterPatient1&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ee-encounter.html\">EEBase Encounter</a></p></div><p><b>Encounter Mode Of Arrival</b>: Ambulance (Details: http://terminology.hl7.org/CodeSystem/v2-0430 code A = 'Ambulance', stated as 'Ambulance')</p><p><b>status</b>: in-progress</p><p><b>class</b>: inpatient encounter <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ActCode.html\">ActCode</a>#IMP)</span></p><p><b>subject</b>: <a href=\"Patient-pat1.html\">Patient/pat1</a> &quot; METS&quot;</p><p><b>episodeOfCare</b>: <a href=\"EpisodeOfCare-eoc1.html\">EpisodeOfCare/eoc1</a></p><p><b>serviceProvider</b>: <a href=\"Organization-rh.html\">Organization/rh</a> &quot;Rakvere Haigla&quot;</p><p><b>actualPeriod</b>: 2023-05-09 --&gt; (ongoing)</p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td><td><b>Status</b></td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td><span>: Emergency Waiting Room</span></td><td>active</td><td>2023-05-09 19:00:00+0200 --&gt; (ongoing)</td></tr></table></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
      "valueCoding": {
        "system": "http://terminology.hl7.org/CodeSystem/v2-0430",
        "code": "A",
        "display": "Ambulance"
      }
    }
  ],
  "status": "in-progress",
  "class": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "IMP"
        }
      ]
    }
  ],
  "subject": {
    "reference": "Patient/pat1"
  },
  "episodeOfCare": [
    {
      "reference": "EpisodeOfCare/eoc1"
    }
  ],
  "serviceProvider": {
    "reference": "Organization/rh"
  },
  "actualPeriod": {
    "start": "2023-05-09"
  },
  "location": [
    {
      "location": {
        "display": "Emergency Waiting Room"
      },
      "status": "active",
      "period": {
        "start": "2023-05-09T17:00:00+00:00"
      }
    }
  ]
}