Procedures

View procedures

GET
/procedures

This endpoint returns a list of procedures. You can filter by provider_id, patient_id, appointment_id, started_after, started_before, ended_after, ended_before or updated_since. You must provide at least one filter. You may additionally narrow any of these filters by location_id, but location_id alone does not satisfy the at-least-one-filter requirement.

Authorization

Authorization
Authorization<token>

In: header

Query Parameters

subdomain*string

Used to scope the request to the specified institution

sort?string

Optional comma-separated string of fields to sort on. Include a leading dash for descending order.

Available fields:

  • updated_at
  • -updated_at
location_id?integer

Filter for specific location. Cannot be used as the only filter — combine it with at least one other filter

Formatint32
provider_id?integer

Filter for specific provider

Formatint32
patient_id?integer

Filter for specific patient

Formatint32
appointment_id?integer

Filter for specific appointment

Formatint32
updated_since?string

Procedures updated at or after the specified time (UTC). The comparison is inclusive, so a record whose updated_at exactly equals the given value is returned

Formatdate-time
started_after?string

Filter for procedures with start_date after a specific date (including the date)

Formatdate
started_before?string

Filter for procedures with start_date before a specific date (including the date)

Formatdate
ended_after?string

Filter for procedures with end_date after a specific date (including the date)

Formatdate
ended_before?string

Filter for procedures with end_date before a specific date (including the date)

Formatdate
start_cursor?string

First item of the current page. Starts empty

end_cursor?string

Last item of the current page. Starts empty

per_page?integer

Number of results to return per page. Maximum allowed amount is 1000.

Formatint32
Default5

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/procedures?subdomain=string&location_id=21&provider_id=84&patient_id=162&appointment_id=283&updated_since=2024-04-12T10%3A30%3A00Z&started_after=2024-04-01&started_before=2024-04-30&ended_after=2024-04-01&ended_before=2024-04-30" \  -H "Nex-Api-Version: v3.0.0"
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": [    {      "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"  }}