Get all Encounter Records with related data by user ID
GET {{url}}/{{tenantName}}/{{instanceName}}/users/:userId/full-encounters
HTTP Request
GET /{tenantName}/{instanceName}/users/{userId}/full-encounters
in our example it would be:
GET https://api.live.welkincloud.io/gh/sb-demo/users/f5b84d92-7989-45f4-bb5f-d85336c8e4b6/full-encounters
Responses
Code | Description |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
filters | string | ||
onlyWithCalendarEvent | boolean | Exclude all information not related to calendar event, except encounter record | |
calendarEventFrom | string | ||
calendarEventTo | string | ||
createdBy | string | ||
withCareTeam | boolean | If true, return only encounter thats belong to the patients in the user care team (default: true) | |
statuses | null | Encounter status. Available statuses: DRAFT,OPEN,ACTIVE,FINALIZED | |
page | null | Pagination: page number | |
size | null | Pagination: page size | |
sort | null | Sort field with sorting order(asc or desc) after coma |