Versions Compared

Key

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

Specification

Apiary

Patient request logic

  1. Only authenticated and authorized user can use this service
  2. New and Approved patient request can be rejected
  3. The request can be rejected only by the employee who works in the same legal entity in which the request was made.

...

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

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