Versions Compared

Key

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

approve_request.graphml

...

If authentication_method is NULL - return Error

If authentication_method

...

== OFFLINE - check uploaded documents

If authentication_method IN (SMS, SMS_TRUSTEE) - verify SMS code and check uploaded documents for

...

declaration form

Verify code

Invoke verification module to verify OTP

...

  1. Change entity status in IL_DB.patient_request to APPROVED
  2. Set updated_at - now() (Get current date-time)

  3. Set updated_by - user_id (Extract user from token)