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

Suspended Contracts



Purpose 

This process is done for actualizing contractor_owner data.


Process 

  1. On Approve employee request find all employees related to  employee.party_id. For each employee check whether employee_id=contractor_owner_id and  contract.status='VERIFIED'. Check if at least one of next fields was changed:
  • first_name
  • second_name
  • last_name

    In case there is such match find contracts with contractor_owner_id=$employee_id and status='VERIFIED'. Set ops.contracts.is_suspended=true.  

2. On Dismiss employee check whether employee_id=contractor_owner_id and  contract.status='VERIFIED'. In case there is such match set ops.contracts.is_suspended=true

3. On Approve employee request check employee_type. In case employee_type='OWNER', find previous OWNER. Fetch employee_id of previous doctor and find contracts with contractor_owner_id=$old_owner_employee_id. In case there is such match set ops.contracts.is_suspended=true


Statements 

  1. if is_suspeneded = true such contract must be updated via 2 signed content. (Create Contract request with same contract_number as for suspended contract)
  2. if is_suspeneded = true then declarations which belongs to such contract won't be included in capitation report.

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