Versions Compared

Key

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

...

If person_id is not in request then 

  • search person in mpipersons in mpi, which have the same last name OR first name OR document OR son or phone. Then we create pairs of new person with people from cluster and send to the model.
    • in case deduplication model gave score <  ONLINE_PERSON_UPDATE_SCORE, create new person
    • else return error 409, "such person with  $.person_id is in mpi. Update this person.

...