This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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.26.8 Resource Appointment - Examples

Example Index:

General Person ExampleXMLJSON
Appointment between 2 doctors to discuss MRI resultsXMLJSON

5.26.8.1 Example

XML

General Person Example (id = "example")

Raw XML

<Appointment 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="booked"/>
  <type>
    <coding>
      <code value="52"/>
      <display value="General Discussion"/>
    </coding>
  </type>
  <priority value="5"/>
  <description value="Discussion on the results of your recent MRI"/>
  <start value="2013-12-10T09:00:00Z"/>
  <end value="2013-12-10T11:00:00Z"/>
  <comment value="Further expand on the results of the MRI and determine the next actions that may be appropriate."/>
  <participant>
    <actor>
      <reference value="Patient/example"/>
      <display value="Peter James Chalmers"/>
    </actor>
    <required value="required"/>
    <status value="accepted"/>
  </participant>
  <participant>
    <type>
      <coding>
        <code value="attending"/>
      </coding>
    </type>
    <actor>
      <reference value="Practitioner/example"/>
      <display value="Dr Adam Careful"/>
    </actor>
    <required value="required"/>
    <status value="accepted"/>
  </participant>
  <participant>
    <actor>
      <reference value="Location/1"/>
      <display value="South Wing, second floor"/>
    </actor>
    <required value="required"/>
    <status value="accepted"/>
  </participant>
</Appointment>

JSON

General Person Example

Raw JSON (Canonical)

{
  "resourceType": "Appointment",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "status": "booked",
  "type": {
    "coding": [
      {
        "code": "52",
        "display": "General Discussion"
      }
    ]
  },
  "priority": 5,
  "description": "Discussion on the results of your recent MRI",
  "start": "2013-12-10T09:00:00Z",
  "end": "2013-12-10T11:00:00Z",
  "comment": "Further expand on the results of the MRI and determine the next actions that may be appropriate.",
  "participant": [
    {
      "actor": {
        "reference": "Patient/example",
        "display": "Peter James Chalmers"
      },
      "required": "required",
      "status": "accepted"
    },
    {
      "type": [
        {
          "coding": [
            {
              "code": "attending"
            }
          ]
        }
      ],
      "actor": {
        "reference": "Practitioner/example",
        "display": "Dr Adam Careful"
      },
      "required": "required",
      "status": "accepted"
    },
    {
      "actor": {
        "reference": "Location/1",
        "display": "South Wing, second floor"
      },
      "required": "required",
      "status": "accepted"
    }
  ]
}

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.