Versions Compared

Key

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

...

  • status = active

  • current_time < expiration_date (inserted_at + SERVICE_REQUEST_EXPIRATION_DAYS (365 days on Prod))

  • program_processing_status= NULL or new

  • there is no encounter or diagnostic report in ME where incoming_referral/based_on reference service_request

  • If the service request is based on the activity with quantity:

    1. Recalculate and set remaining_quantity for the activity as described at PreQualify Service Request | Validate service request