...
This WS serves for receiving approval from person on action of merge with preperson.
Specification
TBDApiary
Service logic
Only authenticated and authorized OWNER, ADMIN, RECEPTIONIST, DOCTOR employees can use this WS.
Usage of this WS allowed in EMERGENCY, MSP, MSP_PHARMACY, OUTPATIENT, PRIMARY_CARE legal entities.
Person should confirm merge with preperson by auth method chosen on create patient request or create declaration request processes.
The request can be approved only by the employee who works in the same legal entity in which the request was made.
Change status should be logged in the Event manager.
...