DSTU2

This page is part of the FHIR Specification (v0.0.82: (v1.0.2: DSTU 1). 2). 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.29.6 5.30.5 Resource Slot - Examples

Example Index: List:

5.29.6.1 Free Example XML Example of an available slot (no appointments allocated) (id = "example") Raw XML </Slot> JSON Example of an available slot (no appointments allocated) Raw JSON ( Canonical ) { "resourceType": "Slot", "id": "example", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "type": { "coding": [ { "code": "45", "display": "Physiotherapy" } ] }, "schedule": { "reference": "Schedule/example" }, "freeBusyType": "FREE", "start": "2013-12-25T09:15:00Z", "end": "2013-12-25T09:30:00Z", "comment": "Assessments should be performed before requesting appointments in this slot." } 5.29.6.2 Busy Example XML Example for a slot that has an appointment allocated to it (id = "1") Raw XML </Slot> JSON Example for a slot that has an appointment allocated to it Raw JSON ( Canonical ) { "resourceType": "Slot", "id": "1", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "identifier": [ { "system": "http://example.org/identifiers/slots", "value": "123132" } ], "type": { "coding": [ { "code": "45", "display": "Physiotherapy" } ] }, "schedule": { "reference": "Schedule/example" }, "freeBusyType": "BUSY", "start": "2013-12-25T09:00:00Z", "end": "2013-12-25T09:15:00Z", "overbooked": true, "comment": "Assessments should be performed before requesting appointments in this slot." } 5.29.6.3 Tentative Example XML Example for tentatively occupied slot (id = "2") Raw XML </Slot> JSON Example for tentatively occupied slot Raw JSON ( Canonical ) { "resourceType": "Slot", "id": "2", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "type": { "coding": [ { "code": "45", "display": "Physiotherapy" } ] }, "schedule": { "reference": "Schedule/example" }, "freeBusyType": "BUSY-TENTATIVE", "start": "2013-12-25T09:45:00Z", "end": "2013-12-25T10:00:00Z", "comment": "Dr Careful is out of the office" } 5.29.6.4 Unavailable Example XML Example of a slot that has been marked as unavailable (id = "3") </Slot> JSON Example of a slot that has been marked as unavailable Raw JSON ( Canonical ) { "resourceType": "Slot", "id": "3", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "type": { "coding": [ { "code": "45", "display": "Physiotherapy" } ] }, "schedule": { "reference": "Schedule/example" }, "freeBusyType": "BUSY-UNAVAILABLE", "start": "2013-12-25T09:30:00Z", "end": "2013-12-25T09:45:00Z", "comment": "Dr Careful is out of the office" }
Example of an available slot (no appointments allocated) XML JSON
Example for a slot that has an appointment allocated to it XML JSON
Example for tentatively occupied slot XML JSON
Example of a slot that has been marked as unavailable XML JSON Raw XML
 

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.