SQL on FHIR
2.1.0-pre - release International flag

SQL on FHIR, published by SQL on FHIR Working Group. This guide is not an authorized publication; it is the continuous build for version 2.1.0-pre built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/FHIR/sql-on-fhir-v2/ and changes regularly. See the Directory of published versions

: ExampleEncounter2 - JSON Representation

Raw json | Download

{
  "resourceType" : "Encounter",
  "id" : "2",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter 2</b></p><a name=\"2\"> </a><a name=\"hc2\"> </a><p><b>status</b>: Completed</p><p><b>class</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode EMER}\">emergency</span></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode EMER}\">emergency</span></p><p><b>subject</b>: <a href=\"Patient-2.html\">Yolotzin Adel Bristow (official) Male, DoB Unknown</a></p><p><b>serviceProvider</b>: <a href=\"Organization-1.html\">Organization Example Health Service</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-1.html\">Practitioner Alice Smith </a></td></tr></table><p><b>actualPeriod</b>: 2020-01-02 14:00:00+0000 --&gt; 2020-01-03 08:00:00+0000</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><a href=\"Location-2.html\">Location Emergency Department</a></td></tr></table></div>"
  },
  "status" : "completed",
  "class" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "EMER",
          "display" : "emergency"
        }
      ]
    }
  ],
  "type" : [
    {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "EMER",
          "display" : "emergency"
        }
      ]
    }
  ],
  "subject" : {
    🔗 "reference" : "Patient/2"
  },
  "serviceProvider" : {
    🔗 "reference" : "Organization/1"
  },
  "participant" : [
    {
      "actor" : {
        🔗 "reference" : "Practitioner/1"
      }
    }
  ],
  "actualPeriod" : {
    "start" : "2020-01-02T14:00:00Z",
    "end" : "2020-01-03T08:00:00Z"
  },
  "location" : [
    {
      "location" : {
        🔗 "reference" : "Location/2"
      }
    }
  ]
}