Versions Compared

Key

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

...

  1. Search for approval by patient_id + approval_id
    1. Validate person by patient.id
      1. In case error return 404 (message "Person not found")
    2. Validate approval by approval.id
      1. In case error return 404 (message "Approval with such id is not found")
  2. send Send SMS with OTP-code to persons person_authentication_method.phone_number