Get the details of an individual visit
Path parameters
-
The ID of the affected patient
-
The ID of the visit to retrieve
GET /patients/{patientId}/visits/{visitId}
curl \
-X GET https://example.com/api/patients/{patientId}/visits/{visitId} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"_id": "ce1d3f10-eef8-4f3e-a598-928e6d6fcdb9",
"type": "OPD",
"opdNumber": "21-1001",
"timeStart": "string",
"timeEnd": "2023-05-13T10:55:06.618498"
}
Response examples (200)
{
"_id": "ce1d3f10-eef8-4f3e-a598-928e6d6fcdb9",
"type": "OPD",
"opdNumber": "21-1001",
"timeStart": "string",
"timeEnd": "2023-05-13T10:55:06.618498"
}