Versions Compared

Key

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

...

This WS allows to submit person on repeat verification to RC_ MVS passport stream for personsdata synchronization for Persons (DMS) using Admin panel immediately without awaiting it’s data update or verification schedule.

...

  1. Set fields in person_verifications table (mpi database) for a $.personId :

    1. mvs_passport_verification_status = $.mvsPassportVerificationStatus

    2. mvs_passport_verification_reason = $.mvsPassportVerificationReason

    3. updated_by = user_id (from token)

    4. updated_at = current timestamp

    5. mvs_passport_data_id = null

    6. mvs_passport_data_status = null

    7. mvs_passport_synced_at = null

    8. mvs_passport_unverified_at = null

  2. Recalculate cumulative verification status according to logic described at https://e-health-ua.atlassian.net/wiki/spaces/EDDREH/pages/1804848339118225989067/RC_Person+verification+status+model#Cumulativemodel_EN+DMS#Cumulative-verification-status

  3. Create StatusChangeEvent in event manager with the cumulative verification status if such was changed