Patients
View patient
This endpoint returns a single patient by its NexHealth ID.
Authorization
Authorization Authorization<token>
In: header
Path Parameters
id*integer
NexHealth ID of the patient
Format
int32Query Parameters
subdomain*string
Used to scope the request to the specified institution
include[]?array<>
Resources to be included in the response
Header Parameters
Nex-Api-Version*string
The NexHealth API version
Default
"v3.0.0"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/patients/0?subdomain=string" \ -H "Nex-Api-Version: v3.0.0"{ "code": false, "description": "Description", "error": [ "Error message" ], "data": { "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", "provider_id": 23, "hipaa": { "authorization": true, "authorization_date": "2023-03-22", "privacy": true, "privacy_date": "2023-03-22", "consent": true, "consent_date": "2023-03-22" }, "children": [ { "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": 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" }, "provider": { "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" }, "last_visited_appointment": { "id": 1822, "provider_id": 102, "provider_name": "Dr. John Smith", "start_time": "2021-12-06T09:45:00.000Z", "end_time": "2021-12-06T10:00:00.000Z", "location_id": 1, "confirmed": true }, "upcoming_appts": [ { "id": 1822, "provider_id": 102, "provider_name": "Dr. John Smith", "start_time": "2021-12-06T09:45:00.000Z", "end_time": "2021-12-06T10:00:00.000Z", "location_id": 1, "confirmed": true } ], "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", "treatment_plan_ids": [ 42, 57 ] } ], "insurance_coverages": [ { "id": 18, "subscription_relation": "self", "patient_id": 25, "priority": 2, "plan_id": 18, "subscriber_num": "123456789", "effective_date": "2022-01-01", "expiration_date": "2022-12-31", "plan": { "id": 18, "payer_id": "87726", "name": "United Healthcare", "address": "123 Law St", "address2": "85335, North East", "city": "New York", "state": "NY", "zip_code": "54700", "country_code": "US", "group_num": "12345", "employer_name": "Walmart", "foreign_id": "1", "updated_at": "2020-06-05T20:16:57.007Z", "deleted_at": "2024-09-15T11:21:26.003Z" }, "subscriber": { "id": 415, "name": "John Smith", "date_of_birth": "1990-06-05" } } ], "adjustments": [ { "id": 113, "foreign_id": "1234-5678", "location_id": 10, "patient_id": 3, "guarantor_id": 5, "provider_id": 15, "updated_at": "2024-09-05T20:31:17.007Z", "description": "This is a description", "deleted_at": "2024-09-15T11:21:26.003Z", "adjustment_amount": { "amount": "62.00", "currency": "USD" }, "adjusted_at": "2024-10-01", "transaction_id": "NHP:JXZEQ1234", "charge_id": 1111, "claim_id": 2222, "adjustment_type_id": 5 } ], "charges": [ { "id": 113, "foreign_id": "1234-5678", "location_id": 10, "patient_id": 3, "guarantor_id": 5, "provider_id": 15, "procedure_id": 34, "procedure_code": "D0120", "updated_at": "2024-09-05T20:31:17.007Z", "description": "This is a description", "fee": { "amount": "62.00", "currency": "USD" }, "charged_at": "2024-10-05", "deleted_at": "2022-01-01T00:00:00Z" } ], "payments": [ { "id": 113, "foreign_id": "1234-5678", "location_id": 10, "patient_id": 3, "guarantor_id": 5, "provider_id": 15, "updated_at": "2024-09-05T20:31:17.007Z", "description": "This is a description", "deleted_at": "2024-09-15T11:21:26.003Z", "payment_amount": { "amount": "62.00", "currency": "USD" }, "paid_at": "2024-10-01", "transaction_id": "NHP:JXZEQ1234", "charge_id": 1111, "claim_id": 2222, "payment_plan_id": 3, "insurance_plan_id": 4, "payment_type_id": 5 } ], "patient_alerts": [ { "id": 10, "patient_id": 101, "note": "Patient is late on payment", "disabled_at": "2024-02-05T20:16:57.007Z", "created_at": "2023-11-11T10:11:01.007Z", "updated_at": "2024-01-14T14:11:01.007Z" } ], "appointments": [ { "id": 1822, "provider_id": 102, "provider_name": "Dr. John Smith", "start_time": "2021-12-06T09:45:00.000Z", "end_time": "2021-12-06T10:00:00.000Z", "location_id": 1, "confirmed": true } ], "location_ids": [ 101, 102, 103 ], "address": { "line_1": "333 Bush Street", "line_2": "Apt 4B", "postal_code": "20814", "city": "New York", "region": "NY" } }, "count": 2}Create patient POST
This endpoint creates a new patient or returns an existing patient if return_existing_if_match is true. Responds with 201 when a new patient is created, or with 200 and the existing patient when return_existing_if_match is true and a patient with matching information already exists.
View patient documents GET
This endpoint returns all documents associated with the given patient, ordered by creation date.