...
Validate preperson_mpi_id UUID
In case of error - return 422
Check preperson_mpi_id doesn't exist in mpi.persons, but exists in medical_data.patients as patient_id. It means that preperson_mpi_id relates to preperson, but not to person.
In case of error - return 422 (Such preperson doesn't exist)
Check preperson status is active in medical_data.patients
In case of error - return 409 (Preperson is not active)
Check if exists another preperson merge requests with status NEW or APPROVED for this preperson
if exists - update status to REJECTED
...