Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


Purpose 

...

  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:

...

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.