Get Patient's Program by name (for active only)
GET {{url}}/{{tenantName}}/{{instanceName}}/patients/{{patientId}}/programs/current/{{prog_name}}
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 |