Difference between revisions of "Scheduling Support"
From Hiasobi - FHIR
(→Typical Usage) |
(→Typical Usage) |
||
Line 54: | Line 54: | ||
<pre>https://localhost.oridashi.com.au:8102/Schedule?date=2018-06-19&_include=Schedule:actor</pre> | <pre>https://localhost.oridashi.com.au:8102/Schedule?date=2018-06-19&_include=Schedule:actor</pre> | ||
− | |||
===ARCHIVE=== | ===ARCHIVE=== | ||
Archive Material: [[Appointment Management]] | Archive Material: [[Appointment Management]] |
Revision as of 19:13, 17 June 2018
Contents
Search appointment books as Schedule resource
See: Core FHIR Resources Appointment, Schedule, Slot
REQUEST
Appointment books may be broken in to periods during a single day.
Get 'all' is 6 weeks of all practitioners as Schedule resource:
GET [base]/Schedule
Get all schedules for a practitioner:
GET [base]/Schedule?actor=Practitioner/<practitioner id>
Get all schedules for a location:
GET [base]/Schedule?actor=Location/<location id>
Get all schedules for a practitioner at a location on a date:
GET [base]/Schedule?date=<date>&actor=Practitioner/<practitioner id>&actor=Location/<location id>
Can include details also
&_include=Schedule:actor
RESPONSE
- Return a FHIR Bundle
- Bundle.entry will contain Schedule entries
- Example response in xml and json format:
schedule-response-xml schedule-response-json
Search available slots as Slot resource
REQUEST
ONLY SUPPORTED Get all slots in a given schedule (appointment book)
GET [base]/Slot?schedule=<schedule.id>
RESPONSE
slot-response-xml slot-response-json
Typical Usage
Get calendars and include practitioners and locations
https://localhost.oridashi.com.au:8102/Schedule?date=2018-06-19&_include=Schedule:actor
ARCHIVE
Archive Material: Appointment Management