Patient Documents
View patient documents
Changed onThis endpoint returns all documents associated with the given patient, ordered by creation date.
get/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
Headers
Nex-Api-Versionstring required
The NexHealth API version
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