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.24.7 Resource Appointment - Examples

Example Index:

General Person ExampleXMLJSON

5.24.7.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>
  <priority value="5"/>
  <status value="booked"/>
  <type>
    <coding>
      <code value="52"/>
      <display value="General Discussion"/>
    </coding>
  </type>
  <description value="Discussion on the results of your recent MRI"/>
  <start value="2013-12-10T09:00:00Z"/>
  <end value="2013-12-10T11:00:00Z"/>
  <location>
    <reference value="Location/1"/>
  </location>
  <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>
  <lastModifiedBy>
    <reference value="Practitioner/example"/>
    <display value="Dr Adam Careful"/>
  </lastModifiedBy>
  <lastModified value="2012-09-17"/>
</Appointment>

JSON

General Person Example

Raw JSON (Canonical)

{
  "resourceType": "Appointment",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "priority": 5,
  "status": "booked",
  "type": {
    "coding": [
      {
        "code": "52",
        "display": "General Discussion"
      }
    ]
  },
  "description": "Discussion on the results of your recent MRI",
  "start": "2013-12-10T09:00:00Z",
  "end": "2013-12-10T11:00:00Z",
  "location": {
    "reference": "Location/1"
  },
  "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"
    }
  ],
  "lastModifiedBy": {
    "reference": "Practitioner/example",
    "display": "Dr Adam Careful"
  },
  "lastModified": "2012-09-17"
}

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.