GetCases
Returns a list of cases filtered by any of the optional parameters specified.
JavaScript library method
patientportal.cases.getCases({
patient: <patient>,
text: <text>,
status: <status>,
case: <case>,
title: <title>,
patientName: <patient-name>,
department: <department>,
division: <division>,
pageSortColumn: <page-sort-column>,
pageSortDescending: <page-sort-descending>,
pageNumber: <page-number>,
pageSize: <page-size>
});
HTTP Method
Verb | URL |
---|---|
GET | /patientportalapi/cases/cases |
URL Parameters
Parameter | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
patient | string (optional) | The patient’s key id. | ||||||||||||||||||||||||||||||
text | string (optional) | Checks if any of the attributes of the CaseOverviewData object contain status | int (optional) | |
case | int (optional) | The case’s key id. | title | string (optional) | The public title of the case. | patientName | string (optional) | The patient’s name. | department | string (optional) | Key of the department provided by the API upon GetDepartmentsAndDivisions. | division | string (optional) | Key of the division provided by the API upon GetDepartmentsAndDivisions. | page-sort-column | int (optional) | | The column index to sort the result:
By default the result is sorted by last updated date. page-sort-descending | int (optional) | True to sort result descending. | page-number | int (optional) | Page number. Default 1. | page-size | int (optional) | Page size. Default 5. Minimum 5. Maximum 50. | |