Table of Contents |
---|
Purpose
This method is designed to search for doctors on public portal by employees or any citizen of Ukraine or via cabinet by any registered patient.
Doctors should be filtered on portal by first name, second name, last name, speciality, settlement, division_name. Only active doctors can be found.
Each doctor must be linked to division.
All datas are shown without scopes from reports DB.
UI Design
Divisions
Specification
ApiarySearch Employees
Get doctors List
Search divisions by filters in payload.
- Search only ACTIVE doctors
- do not show employees with employees.division is null
- exclude from response doctors with declaration_count>=declaration_limit
- employee_type='DOCTOR'
...
- first_name, last_name, second_name (optional, as 'like', case insensitive) - from report.parties
- speciality (report.employees.speciality.speciality)
- region (optional, as `LIKE *`)
- area (optional, as `LIKE *`)
- settlement (optional, as `LIKE *`)
- division_name (optional, as `LIKE *`)
In case none doctors was found return 200 and empty array.
Response:
...