Purpose
The logic for creating new employee must be changed so employee without tax_id will be able to register in E-health. If the employee doesn't have tax_id registration flow must be next:
...
That will lead to changes described below:
- Create employee request (https://edenlab.atlassian.net/wiki/x/SKUO) ( (apiary)
- Create/Update employee (https://edenlab.atlassian.net/wiki/x/VBYU)
- Search party_id by 'tax_id' (tax or passport id) and birth_date for deduplication Party
- If found, update object party - Update party WS
- If not found - Create object party
Update Party:
The following fields can't be changed:
- document_id
- birth_date
- Search party_id by 'tax_id' (tax or passport id) and birth_date for deduplication Party
- Sign Declaration (https://edenlab.atlassian.net/wiki/x/Y_oQ) Declaration - drfo=[tax_id, passport_number]
- Create new party, Update Party (apiary)
- List Search for party (apiary)
- Get Party details (apiary)
- Get employee details (apiary)
- Fraud Black list Users - block users by adding to black list 'tax_id' (tax or passport id)
- Fraud replication - add field parties.no_tax_id
...
- For Employee Lists must be added parameter - no_tax_id: GET /employees?no_tax_id (apiary)
- NHS admin must be able to filter by parameter no_tax_id=true and see attached documents
- Update Employee request list and Employee request by id (apiary)