{
  "resourceType" : "Encounter",
  "id" : "1a1fafa9-c22c-4557-9670-4010f68f0745",
  "meta" : {
    "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/ebookings-encounter"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter 1a1fafa9-c22c-4557-9670-4010f68f0745</b></p><a name=\"1a1fafa9-c22c-4557-9670-4010f68f0745\"> </a><a name=\"hc1a1fafa9-c22c-4557-9670-4010f68f0745\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ebookings-encounter.html\">EBookings Encounter</a></p></div><p><b>status</b>: Planned</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode: IMP</a> (inpatient encounter)</p><p><b>subject</b>: <a href=\"Patient-6ad72107-5bf0-4100-a948-24e91f77abf5.html\">Bob Smith (official) Male, DoB: 1969-02-01 ( IHI:\u00a0Austalian Healthcare Identifier - Individual#8003604122594301)</a></p><p><b>basedOn</b>: <a href=\"ServiceRequest-8e25f073-cbaa-4ff5-af3c-cc13db829ac6.html\">ServiceRequest </a></p><p><b>period</b>: 2022-04-01 11:45:00+1000 --&gt; 2022-04-02</p><h3>Lengths</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Value</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>2</td><td><a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ucum.html\">http://unitsofmeasure.org</a></td><td>d</td></tr></table><p><b>reasonCode</b>: <span title=\"Codes:\">Sore stomach</span></p><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td></tr><tr><td style=\"display: none\">*</td><td>Ashford Private Hospital</td></tr></table></div>"
  },
  "status" : "planned",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "IMP",
    "display" : "inpatient encounter"
  },
  "subject" : {
    "reference" : "Patient/6ad72107-5bf0-4100-a948-24e91f77abf5"
  },
  "basedOn" : [{
    "reference" : "ServiceRequest/8e25f073-cbaa-4ff5-af3c-cc13db829ac6"
  }],
  "period" : {
    "start" : "2022-04-01T11:45:00+10:00",
    "end" : "2022-04-02"
  },
  "length" : {
    "value" : 2,
    "system" : "http://unitsofmeasure.org",
    "code" : "d"
  },
  "reasonCode" : [{
    "text" : "Sore stomach"
  }],
  "location" : [{
    "location" : {
      "display" : "Ashford Private Hospital"
    }
  }]
}