Patient Documents
Create patient document
Changed onThis endpoint uploads a document for the given patient; the file's name is used when inserting the document into the EHR's filesystem, while the optional name param is for NexHealth display purposes only.
post/patients/{id}/documents
Request
- Base URLhttps://nexhealth.info
- AuthAPI key in header Authorization
Path parameters
idinteger required
ID of the patient
Query parameters
subdomainstring required
Used to scope the request to the specified institution
location_idinteger required
Used to scope the request to the specified location
Headers
Nex-Api-Versionstring required
The NexHealth API version
Request body multipart/form-data
Response
Successful
Example response
{
"description": "Description",
"error": [
"Error message"
],
"data": {
"id": 18,
"filename": "patient_document.pdf",
"type": "application/pdf",
"url": "/documents/18/download",
"created_at": "2020-06-05T20:16:57.007Z",
"document_type_id": 1
},
"count": 2
}Changes
- breaking
added the new required
headerrequest parameterNex-Api-Version
- breaking