Table of Contents | ||||
---|---|---|---|---|
|
...
Page Properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
if verification_status = NOT_VERIFIED
in case of error - return 409 ('verification status comment is required')
Service logic
Set fields person_verifications table (mpi database):
nhs_verification_status = $.verification_status
nhs_verification_comment = $.verification_comment
nhs_verification_reason = MANUAL
updated_by = user_id (from token)
updated_at = current timestamp
Calculate cumulative verification status based on persons verification status in each stream:
Manual NHS verification, DRFO registry verification, DRACS death acts registry verification according to logic described at https://e-health-ua.atlassian.net/wiki/spaces/DRACS/pages/17250582534/Person + verification + status + model_EN#Cumulative-verification-statusEN:Set calculated status to persons.verification_status field
Create StatusChangeEvent in event manager with new verification status if it was changed
Create StatusChangeEvent in event manager with verification_status
Processing
API paragraph not found
...