...
Find MITHRIL.clients.id=$merged_from legal_entity.id and update: set MSP_Limited if LE type is MSP or PRIMARY_CARE, set PHARMACY_LIMITED if LE type is PHARMACY, set OUTPATIENT_LIMITED if LE Type is OUTPATIENT, set MSP_PHARMACY_LIMITED if LE Type is MSP_Pharmacy, set EMERGENCY_LIMITED if LE Type is EMERGENCY EMERGENCY, OUTPATIENT, PHARMACY, MSP_Pharmacy
field | value |
---|---|
update_at | now() |
client_type_id | $MSP_LIMITED_ID(3770c4b3-05cd-42d9-8e15-233b193aee86) |
...