- Find legal_entities for which flag nhs_verified = false and or edr_verified = false and it was set 3 months ago.
- Find set legal entity activity_types with nhs_verified = true. For each found record:set nhs_verified = false_entities.is_suspended = true
- find contracts by contractor_legal_entity_id=$legal_entity_id and status='VERIFIED' AND ops.contracts.type corresponding to activity_type, set ops.contracts.is_suspended=true
ops.contracts.type to activity_type mapping: capitation_activity_types: PRIMARY_CARE,
reimbursement_activity_types: PHARMACY
Page Comparison
General
Content
Integrations