...
Check at least one of allowed field is submitted and has value:
first_name
last_name
second_name
gender
external_id
birth_date
emergency_contact
death_date
confidant_person
In case of error - return 422 (Schema validation failed)
Check if any forbidden field is submitted:
note
status
In case of error - return 422 (Schema validation failed)
Validate death date
If submitted, set mpi.preperson.status = inactive
Update object in DB
prepersons table
...