There are three options of the request payload
- $mpi_id
- Check existence of $person_id in MPI - service call
- if doesn't exist - return error
- call the Register New Declaration method
- Check existence of $person_id in MPI - service call
- $patient_data
- call MPI.Add MPI record method to get $mpi_id
- call the Register New Declaration method
- $mpi_id + $patient_data
- call MPI.Edit MPI record
- call the Register New Declaration method
- General verification: If $confident_person_id has passed, check existence of $confident_person_id in MPI - service call
- if doesn't exist - return error