...
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
Set fields in person_verifications table (mpi database) for a $.
personId
:dms_passport_verification_status = $.
dmsPassportVerificationStatus
dms_passport_verification_reason = $.
dmsPassportVerificationReason
updated_by = user_id (from token)
updated_at = current timestamp
dms_passport_data_id = null
dms_passport_data_status = null
dms_passport_synced_at = null
dms_passport_unverified_at = null
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
Create StatusChangeEvent in event manager with the cumulative verification status if such was changed