Difference between revisions of "Scheduling Support"

From Hiasobi - FHIR
Jump to: navigation, search
Line 1: Line 1:
  
 +
==Search appointment books as Schedule resource==
  
 +
===REQUEST===
  
== Search available slots as Slot resource==
+
Appointment books may be broken in to periods during a single day.
  
=== REQUEST ===  
+
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>
 +
 
 +
 
 +
==Search available slots as Slot resource==
 +
 
 +
===REQUEST===  
 
Get all slots in a given schedule (appointment book)
 
Get all slots in a given schedule (appointment book)
  
 
  GET [base]/Slot?schedule=<schedule.id>
 
  GET [base]/Slot?schedule=<schedule.id>
  
=== RESPONSE ===  
+
===RESPONSE===  
 
* Return a FHIR [http://hl7.org/fhir/bundle.html Bundle]  
 
* Return a FHIR [http://hl7.org/fhir/bundle.html Bundle]  
 
* Bundle.entry will contain [http://hl7.org/fhir/slot.html Slot] entries
 
* Bundle.entry will contain [http://hl7.org/fhir/slot.html Slot] entries

Revision as of 17:53, 17 June 2018

Search appointment books as Schedule resource

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>


Search available slots as Slot resource

REQUEST

Get all slots in a given schedule (appointment book)

GET [base]/Slot?schedule=<schedule.id>

RESPONSE

  • Return a FHIR Bundle
  • Bundle.entry will contain Slot entries
  • Example response in xml + json format:

slot-response-xml slot-response-json



Archive Material: Appointment Management