View treatment plans
Returns a cursor-paginated list of treatment plans for the institution, with each plan's procedures embedded. Soft-deleted treatment plans are excluded. Results can be filtered by patient_id, status, and updated_since, and are ordered by ID ascending — when using updated_since for incremental sync, do not assume results are ordered by update time.
Authorization
Authorization In: header
Query Parameters
Used to scope the request to the specified institution
Filter by patient
int32Filter by status
Value in
- "not_applicable"
- "proposed"
- "accepted"
- "rejected"
- "completed"
Treatment plans updated at or after the specified time (UTC). The boundary is inclusive: a plan whose updated_at exactly equals this value is returned
date-timeFirst 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.
int325Header Parameters
The NexHealth API version
"v3.0.0"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/treatment_plans?subdomain=string&patient_id=115&status=proposed&updated_since=2024-01-15T00%3A00%3A00Z" \ -H "Nex-Api-Version: v3.0.0"{ "code": false, "description": "Description", "error": [ "Error message" ], "data": [ { "id": 423, "name": "Active treatment plan", "patient_id": 115, "updated_at": "2020-06-05T20:16:57.007Z", "status": "proposed", "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" } ] } ], "page_info": { "has_previous_page": false, "has_next_page": false, "start_cursor": "AAAAA", "end_cursor": "BBBBBB" }}