View appointments (beta)
🚧 Beta
Send Nex-Api-Version: v3.1.0 to use this endpoint. It is still changing, and access is limited to approved partner institutions. Contact NexHealth before you build on it.
Changed from v3.0.0: Adds query params confirmed, include[]; adds response fields data[].descriptors, data[].descriptors[].active, data[].descriptors[].code, data[].descriptors[].created_at (+8 more); and other schema changes.
This endpoint returns appointments starting within the requested time window, narrowed down by the optional filters configured.
Request
- Base URLhttps://nexhealth.info
- URLhttps://nexhealth.info/appointments
- AuthAPI key in header Authorization
Query parameters
Used to scope the request to the specified institution
Used to scope the request to the specified location
Optional comma-separated string of fields to sort on. Include a leading dash for descending order.
Available fields:
- updated_at
- -updated_at
A parseable date string defining the earliest returned records. Recommended format is YYYY-MM-DDThh:mm:ss+0000
A parseable date string defining the last returned records. Recommended format is YYYY-MM-DDThh:mm:ss+0000
IANA time zone name, such as America/New_York. Validated only: start and end are absolute instants, so it does not change which appointments are returned
Filter by cancelled status.
true returns only scheduling blocks (unavailable appointments that block time on the schedule), false only real appointments
true returns only appointments booked through NexHealth
Query appointments whose records have updated since the specified datetime in ISO8601 format. Must be a parseable date/time, recommended formats are YYYY-MM-DD or YYYY-MM-DDT00:00:00+0000
Get appointments for a specific appointment type
Unique appointment ID from the EHR
Query appointments that were created by a specific user
First item of the current page. Starts empty
Last item of the current page. Starts empty
Number of results to return per page. Maximum allowed amount is 1000.
Is appointment confirmed
Get appointments for specific patients (up to 25 IDs)
Query appointments that are booked with the specified providers only
Query appointments that are booked in the specified operatories only
Resources to be included in the response
Headers
The NexHealth API version
Response
Successful
Example response
{
"description": "Description",
"error": [
"Error message"
],
"data": [
{
"id": 1822,
"patient_id": 2897,
"provider_id": 104,
"provider_name": "Dr. John Smith",
"start_time": "2020-06-05T20:16:57.007Z",
"confirmed": true,
"created_at": "2020-06-05T20:16:57.007Z",
"updated_at": "2020-06-05T20:16:57.007Z",
"note": "Patient has been having a cough for 3 days",
"end_time": "2020-06-05T20:16:57.007Z",
"timezone": "America/New_York",
"institution_id": 1,
"checkin_at": "2020-06-05T20:16:57.007Z",
"location_id": 1,
"foreign_id": "94",
"foreign_id_type": "msg-dentrix-DataSource-100",
"misc": {
"is_booked_on_nexhealth": true
},
"created_by_user_id": 197,
"patient_confirmed_at": "2020-06-05T20:16:57.007Z",
"cancelled_at": "2020-06-05T20:16:57.007Z",
"confirmed_at": "2020-06-05T20:16:57.007Z",
"operatory_id": 181,
"checked_out_at": "2020-06-05T20:16:57.007Z",
"is_past_patient": true,
"timezone_offset": "-4:00",
"descriptors": [
{
"id": 1822,
"descriptor_type": "Procedure Code",
"name": "EHR Descriptor Name",
"code": "EHR Descriptor Code",
"location_id": 13,
"foreign_id": "94",
"foreign_id_type": "msg-dentrix-DataSource-100",
"data": {},
"active": true,
"created_at": "2021-05-21T16:23:03.046Z",
"updated_at": "2021-05-21T16:23:03.046Z"
}
]
}
],
"page_info": {
"has_previous_page": false,
"has_next_page": false,
"start_cursor": "AAAAA",
"end_cursor": "BBBBBB"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.