ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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 person doesn't have tax_id registration flow must be next:

  • input Passport Number
  • attach scan of Passport 

Passport number is stored in same field as tax_id, additionally for Party there is a boolean field 'no_tax_id'=[true, false]  


That will lead to changes described below:

  1. 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
      1. If found, update object party - Update party WS
      2. If not found - Create object party
    • Update Party:

      1. The following fields can't be changed:

        1. document_id
        2. birth_date
  2. Sign Declaration 
  3. Get Declaration requests
  4. List Search for party
  5. Fraud Black list Users - block users by adding to black list 'tax_id' (tax or passport id)
  6. Fraud replication

Also new changes must be done: 

  1. For Employee Lists must be added parameter - no_tax_id: GET /employees?no_tax_id
  2. NHS admin must be able to filter by parameter no_tax_id=true and see attached documents


  • No labels