ЕСОЗ - публічна документація
Search Divisions
Purpose
This method is designed to search divisions on public portal by employees or any citizen of Ukraine or via cabinet by any registered patient
Divisions should be filtered on portal by settlement, edrpou and name. At the moment only MSP is shown on the map and filters, PHARMATHY will be done in future.
Each division should be linked to its LE.
Divisions have link to the map.
All datas are shown without scopes from reports DB.
Design
https://www.dropbox.com/sh/l31iagfifbfrigq/AAAtAJmNBRa2L37jVPamQUaWa?dl=0
Divisions
Specification
Search divisions
Search divisions by filters in payload.
- Search only ACTIVE divisions
Filter by
- region (optional, as `LIKE *`)
- area (optional, as `LIKE *`)
- settlement (optional, as `LIKE *`)
- name (optional, as `LIKE *`)
- type (optional, Dictionary DIVISION_TYPE)
- legal_entity_edrpou (optional)
- legal_entity_id (optional)
- legal_entity_name (optional)
- employee_id (optional)
In case none division was found return 200 and empty array.
Response
Division details + legal entity details
Show divisions on map
If there are several divisions with the same Latitude and Longitude, several meters should be added to coordinate in order to separate points on map.
ЕСОЗ - публічна документація