Difference between revisions of "Scheduling Support"
From Hiasobi - FHIR
(→REQUEST) |
(→REQUEST) |
||
Line 1: | Line 1: | ||
==Search appointment books as Schedule resource== | ==Search appointment books as Schedule resource== | ||
+ | |||
+ | |||
+ | |||
+ | See: Core FHIR Resources [http://hl7.org/fhir/STU3/appointment.html Appointment], [http://hl7.org/fhir/STU3/schedule.html Schedule], [http://hl7.org/fhir/STU3/schedule.html Slot] | ||
+ | |||
===REQUEST=== | ===REQUEST=== | ||
Line 14: | Line 19: | ||
Get all schedules for a practitioner on a date: | Get all schedules for a practitioner on a date: | ||
GET [base]/Schedule?date=<date>&actor=Practitioner/<practitioner id> | GET [base]/Schedule?date=<date>&actor=Practitioner/<practitioner id> | ||
− | |||
===RESPONSE=== | ===RESPONSE=== |
Revision as of 18:14, 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 practitioner on a date:
GET [base]/Schedule?date=<date>&actor=Practitioner/<practitioner id>
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
Get all slots in a given schedule (appointment book)
GET [base]/Slot?schedule=<schedule.id>
RESPONSE
slot-response-xml slot-response-json
Archive Material: Appointment Management