Difference between revisions of "Scheduling Support"
From Hiasobi - FHIR
Brett Esler (Talk | contribs) (→RESPONSE) |
Brett Esler (Talk | contribs) (→Search available slots as Slot resource) |
||
Line 37: | Line 37: | ||
===REQUEST=== | ===REQUEST=== | ||
− | LIMITED SUPPORT Get all slots in a given schedule (appointment book) | + | LIMITED SUPPORT Get all slots in a given schedule (appointment book); add $_count=10000 if you don't want response bundle paging |
GET [base]/Slot?schedule=<schedule.id> | GET [base]/Slot?schedule=<schedule.id> |
Revision as of 12:07, 19 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 Practitioner and Locations details also
&_include=Schedule:actor
RESPONSE
- Return a FHIR Bundle
- Bundle.entry will contain Schedule entries
- Example response in xml and json format:
Search available slots as Slot resource
REQUEST
LIMITED SUPPORT Get all slots in a given schedule (appointment book); add $_count=10000 if you don't want response bundle paging
GET [base]/Slot?schedule=<schedule.id>
RESPONSE
Typical Usage
Get calendars and include practitioners and locations; then get slots
https://localhost.oridashi.com.au:8102/Schedule?date=2018-06-19&_include=Schedule:actor
Get slots from all schedules:
https://localhost.oridashi.com.au:8102/Slot?schedule=6FA2AA1CA439ABFB38D48297E0ACC3FF.1-20180619-32400-3600-900-1
ARCHIVE
Archive Material: Appointment Management