Clinical Notes

View clinical notes

GET
/clinical_notes

This endpoint returns the clinical notes for the specified location. At least one of the patient_id, procedure_id, entered_before, entered_after, or updated_since filters must be provided. Results are cursor-paginated.

Authorization

Authorization
Authorization<token>

In: header

Query Parameters

subdomain*string

Used to scope the request to the specified institution

location_id*integer

Used to scope the request to the specified location

Formatint32
patient_id?integer

Filter by the ID of the associated patient

Formatint32
procedure_id?integer

Filter by procedure, only return clinical notes that are associated with the procedure ID. This association only exists in certain EHRs and for certain types of notes

Formatint32
entered_before?string

Only return clinical notes that were created on or before the provided datetime

Formatdate-time
entered_after?string

Only return clinical notes that were created on or after the provided datetime

Formatdate-time
updated_since?string

Only return clinical notes updated after the specified time (UTC)

Formatdate-time
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/clinical_notes?subdomain=string&location_id=0&patient_id=115&procedure_id=116&entered_before=2024-04-30T23%3A59%3A59Z&entered_after=2024-04-01T00%3A00%3A00Z&updated_since=2024-04-12T10%3A30%3A00Z" \  -H "Nex-Api-Version: v3.0.0"
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": [    {      "id": 113,      "patient_id": 115,      "procedure_id": 116,      "entered_at": "2021-01-01T00:00:00Z",      "content": "Patient has a fever",      "signed": true,      "completed": true,      "updated_at": "2020-06-05T20:16:57.007Z"    }  ],  "page_info": {    "has_previous_page": false,    "has_next_page": false,    "start_cursor": "AAAAA",    "end_cursor": "BBBBBB"  }}