Get Patient's Program by ID (active and finished)
GET {{url}}/{{tenantName}}/{{instanceName}}/patients/{{patientId}}/programs/history/{{prog_id}}
HTTP Request
GET /{tenantName}/{instanceName}/patients/{patientId}/programs
in our example it would be:
GET https://api.live.welkincloud.io/gh/sb-demo/patients/08632f11-cb33-4b5b-aece-aaa360f9f747/programs
Responses
Code | Description |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
assignedPrograms | null | Assigned or unassigned programs | |
page | null | Pagination: page number | |
size | null | Pagination: page size | |
sort | null | Sort field with sorting order(asc or desc) after coma |