Get the details of an individual patient
Path parameters
-
The ID of the patient to retrieve
GET /patients/{patientId}
curl \
-X GET https://example.com/api/patients/{patientId} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"_id": "b5ac2f19-56c3-4db9-9d6d-76a821cff842",
"name": "John Doe",
"gender": "MALE",
"patientCategory": "GENERAL",
"phoneNumber": "01234567890",
"residentialAddress": "Guesthouse"
}
Response examples (200)
{
"_id": "string",
"patientNumber": "23-72362",
"age": 23,
"name": "John Doe",
"gender": "MALE",
"patientCategory": "GENERAL",
"phoneNumber": "+1234567890",
"residentialAddress": "Guesthouse"
}