On mpi there is only one route for person search. All persons are search with `persons.is_active=true`
Public search
Search for a person - parameters that could be sent to mpi from public search on eHealth
- first_name
- last_name
- birth_date
- second_name
- tax_id
- birth_certificate
- phone_number
Admin search
Is used to search person by Admin - [NHS admin] MPI ID search, or by uploaded file for declaration termination - auto terminate declaration
- type & number
Preload
Internal search by ids.
- ids
- status (optional)
- if no status sent return all statuses
http://ehealth.edenlabllc.com/api/persons?first_name=Иван&last_name=Иванов&birth_date=1991-08-19&second_name=Иванович&tax_id=1234567890&birth_certificate=АА123456&phone_number=+380501234567&type=PASPORT&numberFF123456&ids=0d58093b-f6d7-4ff6-802d-4b347785aafd,c3d8ec4e-998a-42fe-8e3d-e35929fed45d