View appointment
This endpoint returns the appointment for a specific ID under the institution specified by the subdomain parameter. Related resources can be included via include[]; patient is included by default.
Authorization
Authorization In: header
Path Parameters
ID of the appointment
int64Query Parameters
Used to scope the request to the specified institution
Resources to be included in the response
Header Parameters
The NexHealth API version
"v3.0.0"Response Body
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
application/vnd.Nexhealth+json;version=2
curl -X GET "https://example.com/appointments/0?subdomain=string" \ -H "Nex-Api-Version: v3.0.0"{ "code": false, "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, "patient_missed": false, "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", "unavailable": false, "cancelled": false, "timezone": "America/New_York", "institution_id": 1, "appointment_type_id": 27, "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 }, "last_sync_time": "2020-06-05T20:16:57.007Z", "patient_confirmed": false, "created_by_user_id": 197, "is_guardian": false, "patient_confirmed_at": "2020-06-05T20:16:57.007Z", "cancelled_at": "2020-06-05T20:16:57.007Z", "is_new_clients_patient": false, "confirmed_at": "2020-06-05T20:16:57.007Z", "sooner_if_possible": false, "operatory_id": 181, "checked_out": false, "checked_out_at": "2020-06-05T20:16:57.007Z", "referrer": "http://mypractice.com/book", "is_past_patient": true, "timezone_offset": "-4:00", "patient": { "id": 415, "email": "Amy.Ramos@nexhealth.com", "first_name": "John", "middle_name": "Anthony", "last_name": "Smith", "name": "John Smith", "created_at": "2020-06-05T20:16:57.007Z", "updated_at": "2020-06-05T20:16:57.007Z", "institution_id": 105, "foreign_id": "100437", "foreign_id_type": "--DataSource-", "bio": { "city": "New York", "state": "NY", "gender": "Female", "zip_code": "20814", "new_patient": false, "non_patient": true, "phone_number": "5163042196", "date_of_birth": "1964-05-03", "address_line_1": "", "address_line_2": "", "street_address": "", "cell_phone_number": "", "home_phone_number": "", "work_phone_number": "" }, "inactive": false, "last_sync_time": "2024-04-12T10:30:00Z", "guarantor_id": 472, "billing_type": "Standard Billing - finance charges", "chart_id": "017407", "preferred_language": "es", "preferred_locale": "es", "location_ids": [ 101, 102, 103 ], "guarantor": { "id": 415, "email": "Amy.Ramos@nexhealth.com", "first_name": "John", "middle_name": "Anthony", "last_name": "Smith", "name": "John Smith", "created_at": "2020-06-05T20:16:57.007Z", "updated_at": "2020-06-05T20:16:57.007Z", "institution_id": 105, "foreign_id": "100437", "foreign_id_type": "--DataSource-", "bio": { "city": "New York", "state": "NY", "gender": "Female", "zip_code": "20814", "new_patient": false, "non_patient": true, "phone_number": "5163042196", "date_of_birth": "1964-05-03", "address_line_1": "", "address_line_2": "", "street_address": "", "cell_phone_number": "", "home_phone_number": "", "work_phone_number": "" }, "inactive": false, "last_sync_time": "2024-04-12T10:30:00Z" } }, "operatory": { "id": 1, "name": "op1", "foreign_id": "1", "foreign_id_type": "--DataSource-", "location_id": 4, "last_sync_time": "2020-06-17T19:23:49.176Z", "created_at": "2020-06-05T20:16:57.007Z", "updated_at": "2020-06-05T20:16:57.007Z", "display_name": "op1", "active": true, "bookable_online": true }, "appointment_type": { "id": 1, "name": "Medical", "parent_type": "Institution", "parent_id": 1, "minutes": 15, "bookable_online": false }, "procedures": [ { "id": 11, "location_id": 21, "patient_id": 162, "provider_id": 84, "appointment_id": 283, "code": "D6100", "name": "Implant Removal", "status": "completed", "updated_at": "2020-06-05T20:16:57.007Z", "body_site": { "tooth": [ "3", "14" ], "surface": "MOD" }, "fee": { "amount": "62.00", "currency": "USD" }, "start_date": "2022-06-24", "end_date": "2022-06-24" } ], "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, "last_sync_time": "2021-05-21T16:23:03.046Z", "created_at": "2021-05-21T16:23:03.046Z", "updated_at": "2021-05-21T16:23:03.046Z" } ], "booking_details": { "booked_via_nexhealth_generated_link": true, "campaign_type": "recall", "campaign_id": "1", "campaign_medium": "sms", "booked_via_one_click": false } }, "count": 2}View appointment type appointment descriptors GET
This endpoint returns the EHR appointment descriptors linked to the appointment type for a specific ID, under the institution specified by the subdomain parameter or a specific location within it when appointment types are location specific; location_id is required in that case. descriptor_type is an optional filter, and when location_id is present the results are also limited to that location.
Edit appointment PATCH
This endpoint updates an existing appointment.