I'm new to OD (Open Dental) and have a few questions related to the "Appointments for date" use-case. I'm following what's described here https://www.opendental.com/resources/Op ... -1Spec.pdf in page 13.
In my OD demo development install I can see (snapshot below) several bookings for tomorrow with date 2019-06-07. But when I query the FHIR API for that date using all organizations and locations I get no bookings i.e. this is my request sequence:
Code: Select all
https://api.opendental.com/fhir/organization?name=Relaxation%20Dental
https://api.opendental.com/fhir/location?organization=organization/0
https://api.opendental.com/fhir/appointment?location=1,2,3,4,5,6&date=2019-06-07&status=booked
Code: Select all
{"type":"searchset","total":0,"entry":[]}
Additional questions for this use-case:
* Why some times the GET parameter value has the form `organization/0` and for location `1,2,3,etc`? I suspected a mistake in the document and tried with `location/1,location/2,location/3` too but didn't work either.
* Can this same use-case be used for querying appointment bookings in a dates interval, dates range or are there separate APIs for that?
TIA,
Best regards,
Giovanni
