Search for a patient's appointments, starting on or after a given date, including their source informationThis example demonstrates how to retrieve a patient's upcoming appointments. - Generate an access token by following the OAuth2 walkthrough
- The example below assumes you have been granted an access token of: aaaaa-bbbbb
- Confirm the Patient reference of the patient
- The example below assumes a reference of: Patient/00000000-0000-0000-0000-000000000000
- Confirm the date of interest
- The example below assumes a date of: 2018-08-01
- Make the call as detailed below, replacing the access token and search parameters with your own values
- The matching Appointment resources will be returned in the search results
Example | Details | Relative URL | /Appointment | Sandbox example | | Absolute URL | https://sandbox.patientsknowbest.com/fhir/Appointment?patient=Patient/00000000-0000-0000-0000-000000000000&date=ge2018-08-01&_revinclude=Provenance:target | curl | curl -X GET --header "Accept: application/fhir+json" --header "Authorization: Bearer aaaaa-bbbbb" "https://sandbox.patientsknowbest.com/fhir/Appointment?patient=Patient/00000000-0000-0000-0000-000000000000&date=ge2018-08-01&_revinclude=Provenance:target" |
|
|