2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

5.16.8 Resource Encounter - Examples

Example Index:

Encounter exampleXMLJSON
Real-world encounter exampleXMLJSON
Real-world encounter exampleXMLJSON
Real-world encounter exampleXMLJSON
Real-world encounter exampleXMLJSON
Real-world encounter exampleXMLJSON
Real-world encounter exampleXMLJSON

5.16.8.1 example

XML

Encounter example (id = "example")

Raw XML

<Encounter xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div>
  </text>
  <status value="in-progress"/>
  <class value="inpatient"/>
  <patient>
    <reference value="Patient/example"/>
  </patient>
</Encounter>

JSON

Encounter example

Raw JSON (Canonical)

{
  "resourceType": "Encounter",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "status": "in-progress",
  "class": "inpatient",
  "patient": {
    "reference": "Patient/example"
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.