Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are three two options of the request payload$mpi_id

  1. Check existence of $person_id in MPI - service call
    1. if doesn't exist - return error
  2. call the Register New Declaration method

$patient_data or $patient_data only

  1. $patient_data
    1. call MPI.Add MPI record method to get $mpi_id
    2. call the Register New Declaration method
  2. $mpi_id + $patient_data
    1. call MPI.Edit MPI record
    2. call the Register New Declaration method
    General verification: If $confident_person_id has passed, check existence of $confident_person_id in MPI - service callif doesn't exist - return error
  3. (lightbulb) TODO: decide how and where we should store confident_persons data