...
Only authenticated and authorized OWNER, ADMIN, RECEPTIONIST, DOCTOR SPECIALIST or RECEPTIONIST employees can merge prepersons with prepersons.
Prepersons can be merged in EMERGENCY , MSP, MSP_PHARMACY, OUTPATIENT, PRIMARY_CARE or OUTPATIENT legal entities.
Employee can merge any active preperson to any active person.
To merge person with preperson only their MPI ids needed.
Change status should be logged in the Event manager.
...