Versions Compared

Key

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

...

  1. Check that legal entity status from in EDR for contractor_legal_entity_id is an ACTIVE statuswith state in (TBD)

    1. else set contract flag to is_suspended = false as below:

field

value

is_suspended

true

status_reason

$.AUTO_DEACTIVATION_LEGAL_ENTITY

updated_at

now() timestamp

updated_by

eHealth user_id

b. Add info about this changes to audit log (trigger logic)

c. Add info about this changes to Event Manager as below:

field

value

event_type

StateChangeEvent

entity_type

Contract

entity_id

$.id

properties.status.new_value

$.is_suspended

event_time

$.updated_at

changed_by

$.updated_by