GetPatients
Returns the list of patients. Note that the list includes only patients the logged in user is allowed to view.
JavaScript library method
patientportal.patients.getPatients({
text: <text>,
name: <name>,
surname: <surname>,
department: <department>,
division: <division>,
personalEmail: <personal-email>,
workEmail: <work-email>,
employeeNumber: <employee-number>,
dobFrom: <dob-from>,
dobTo: <dob-to>,
pageSortColumn: <page-sort-column>,
pageSortDescending: <page-sort-descending>,
pageNumber: <page-number>,
pageSize: <page-size>
});
HTTP Method
Verb | URL |
---|---|
GET | /patientportalapi/patients/patients |
URL Parameters
text | string (optional) | Any text the API will try to filter by name, email or employee number. | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
name | string (optional) | Name filter. | |||||||||
surname | string (optional) | Surname filter. | |||||||||
department | string (optional) | Key of the department provided by the API upon GetDepartments. | |||||||||
division | string (optional) | Key of the division provided by the API upon GetDepartments. | |||||||||
personal-email | string (optional) | Personal email filter. | |||||||||
work-email | string (optional) | Work email filter. | |||||||||
employee-number | string (optional) | Employee number filter. | |||||||||
dob-from | string (optional) | Filter by DOB from. If provided the patients without DOB are filtered out. | |||||||||
dob-to | string (optional) | Filter by DOB to. If provided the patients without DOB are filtered out. | |||||||||
page-sort-column | int (optional) | The column index to sort the result:
|