Table of Contents

...

  • Get patient_id from URL

  • Validate person\preperson status is active

    • in case of error - return 409 ('Person is not active')

  • Validate person'sverification_status is not equal to NOT_VERIFIED.

    • in case of error return 409, "Patient is not verified"

  • Hash patient_id and store into the field $.subject

...

If patient not a preperson and his default authentication method determined by Determination of a default authentication method and return person's active auth_methods is OTP or third_person.OTP, send SMS to that patient with requisition number.

...