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

CodeDescription
200OK
401Unauthorized
403Forbidden
404Not Found

Request Params

KeyDatatypeRequiredDescription
assignedProgramsnullAssigned or unassigned programs
pagenullPagination: page number
sizenullPagination: page size
sortnullSort field with sorting order(asc or desc) after coma