Difference between revisions of "Example-slot-bundle"
From Hiasobi - FHIR
Brett Esler (Talk | contribs) (Created page with " <pre> { "resourceType":"Bundle", "id":"f99a7c94-15f5-478a-8bab-2783d556a983", "meta":{ "versionId":"20180619105911", "lastUpdated":"2018-06-19T00:59:11.4...") |
Brett Esler (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | * slots returned from a given schedule | ||
+ | * start/end : date-time period of the slot | ||
+ | * status : free/busy slot | ||
+ | * overbooked : if more than one appointment booked for a busy slot | ||
<pre> | <pre> |
Revision as of 12:36, 19 June 2018
- slots returned from a given schedule
- start/end : date-time period of the slot
- status : free/busy slot
- overbooked : if more than one appointment booked for a busy slot
{ "resourceType":"Bundle", "id":"f99a7c94-15f5-478a-8bab-2783d556a983", "meta":{ "versionId":"20180619105911", "lastUpdated":"2018-06-19T00:59:11.453+00:00" }, "type":"searchset", "total":5, "link":[ { "relation":"self", "url":"http://demo.oridashi.com.au:8297/Slot?schedule=6FA2AA1CA439ABFB38D48297E0ACC3FF.1-20180621-30600-18000-900-1&_count=1000" }, { "relation":"last", "url":"http://demo.oridashi.com.au:8297/Slot?schedule=6FA2AA1CA439ABFB38D48297E0ACC3FF.1-20180621-30600-18000-900-1&_count=1000&_page=1&_snapshot=636650027514375000" } ], "entry":[ { "fullUrl":"http://demo.oridashi.com.au:8297/Slot/1-20180621-30600-18000-900-1-30600-900-1-F", "resource":{ "resourceType":"Slot", "id":"1-20180621-30600-18000-900-1-30600-900-1-F", "meta":{ "versionId":"20180619005911", "lastUpdated":"2018-06-19T00:59:11.453+00:00" }, "text":{ "status":"generated", "div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>21-06-2018 08:30:00-08:45:00</p></div>" }, "schedule":{ "reference":"Schedule/1-20180621-30600-18000-900-1" }, "status":"free", "start":"2018-06-21T08:30:00+10:00", "end":"2018-06-21T08:45:00+10:00", "overbooked":false } }, { "fullUrl":"http://demo.oridashi.com.au:8297/Slot/1-20180621-30600-18000-900-1-31500-900-1-F", "resource":{ "resourceType":"Slot", "id":"1-20180621-30600-18000-900-1-31500-900-1-F", "meta":{ "versionId":"20180619005911", "lastUpdated":"2018-06-19T00:59:11.453+00:00" }, "text":{ "status":"generated", "div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>21-06-2018 08:45:00-09:00:00</p></div>" }, "schedule":{ "reference":"Schedule/1-20180621-30600-18000-900-1" }, "status":"free", "start":"2018-06-21T08:45:00+10:00", "end":"2018-06-21T09:00:00+10:00", "overbooked":false } }, { "fullUrl":"http://demo.oridashi.com.au:8297/Slot/1-20180621-30600-18000-900-1-32400-900-0-B", "resource":{ "resourceType":"Slot", "id":"1-20180621-30600-18000-900-1-32400-900-0-B", "meta":{ "versionId":"20180619005911", "lastUpdated":"2018-06-19T00:59:11.453+00:00" }, "text":{ "status":"generated", "div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>21-06-2018 09:00:00-09:15:00</p></div>" }, "schedule":{ "reference":"Schedule/1-20180621-30600-18000-900-1" }, "status":"busy", "start":"2018-06-21T09:00:00+10:00", "end":"2018-06-21T09:15:00+10:00", "overbooked":false } }, { "fullUrl":"http://demo.oridashi.com.au:8297/Slot/1-20180621-30600-18000-900-1-33300-900-1-F", "resource":{ "resourceType":"Slot", "id":"1-20180621-30600-18000-900-1-33300-900-1-F", "meta":{ "versionId":"20180619005911", "lastUpdated":"2018-06-19T00:59:11.453+00:00" }, "text":{ "status":"generated", "div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>21-06-2018 09:15:00-09:30:00</p></div>" }, "schedule":{ "reference":"Schedule/1-20180621-30600-18000-900-1" }, "status":"free", "start":"2018-06-21T09:15:00+10:00", "end":"2018-06-21T09:30:00+10:00", "overbooked":false } }, { "fullUrl":"http://demo.oridashi.com.au:8297/Slot/1-20180621-30600-18000-900-1-34200-900-0-B", "resource":{ "resourceType":"Slot", "id":"1-20180621-30600-18000-900-1-34200-900-0-B", "meta":{ "versionId":"20180619005911", "lastUpdated":"2018-06-19T00:59:11.453+00:00" }, "text":{ "status":"generated", "div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>21-06-2018 09:30:00-09:45:00</p></div>" }, "schedule":{ "reference":"Schedule/1-20180621-30600-18000-900-1" }, "status":"busy", "start":"2018-06-21T09:30:00+10:00", "end":"2018-06-21T09:45:00+10:00", "overbooked":false } } ] }