Patient Alerts

Create patient alert

POST
/patients/{id}/alerts

This endpoint creates a new patient alert for the given patient with a required note.

Authorization

Authorization
Authorization<token>

In: header

Path Parameters

id*integer

ID of the patient

Formatint32

Query Parameters

subdomain*string

Used to scope the request to the specified institution

Header Parameters

Nex-Api-Version*string

The NexHealth API version

Default"v3.0.0"

Request Body

application/json

Create patient alert

patient_alert*

Patient alert details

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 POST "https://example.com/patients/0/alerts?subdomain=string" \  -H "Nex-Api-Version: v3.0.0" \  -H "Content-Type: application/json" \  -d '{    "patient_alert": {      "note": "string"    }  }'
{  "code": false,  "description": "Description",  "error": [    "Error message"  ],  "data": {    "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"  },  "count": 2}