Versions Compared

Key

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

...

This WS allows to submit person on repeat verification to DMS passport stream for persons using Admin panel immediately without awaiting it’s data update or verification schedule.

...

Service logic

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

    1. dms_passport_verification_status = $.dmsPassportVerificationStatus

    2. dms_passport_verification_reason = $.dmsPassportVerificationReason

    3. updated_by = user_id (from token)

    4. updated_at = current timestamp

    5. dms_passport_data_id = null

    6. dms_passport_data_status = null

    7. dms_passport_synced_at = null

    8. dms_passport_unverified_at = null

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

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