ЕСОЗ - публічна документація
[AUTO] Terminate Medical program provision_EN
Purpose
Medical program provision should have actual state depending on events invoked in the system. All event types that has influence on medical program provision are listed in PROVISION_DEACTIVATE_REASON
dictionary.
Events
When triggered | Logic |
---|---|
Legal entity status changed to CLOSED | For related divisions deactivate linked active medical program provision entities:
|
Division status changed to INACTIVE | Deactivate related active medical program provision entities:
|
Medical program deactivated (is_active=false) | Deactivate all related active medical program provision entities:
|
REIMBURSEMENT contract status changed to TERMINATED |
|
Division becomes not verified in DLS (dls_verified=false) |
|
ЕСОЗ - публічна документація