US-TRUENAT-006: Automatically Close Open Orders at EoD

XMLWordPrintable

    • Type: Story
    • Resolution: Unresolved
    • Priority: Low
    • 2.4
    • Affects Version/s: None
    • None

      As a system, I want to automatically close all applicable open/pending Truenat Test Orders at the end of the day, so that no Test Order remains active beyond its one-day validity.

      Acceptance Criteria

      At EoD, the system shall identify Truenat Test Orders with status Pending where:

      • Test was not conducted; or
      • Result has not been entered/received; or
      • The order has reached the end of its one-day validity.

      The system shall:

      1. Change the order status to Closed.
      2. Record EoD as the closure reason.
      3. Record closure date/time.
      4. Maintain the complete order history.
      5. Ensure that a new Test Order can subsequently be created from the beneficiary record when required.

      Important Rule

      A Completed order shall not be closed by the EoD process because it already represents a successfully completed test.

      An Invalid/Error attempt is closed as soon as the result is recorded, and a new repeat order is created. If the repeat order remains Pending at EoD, that repeat order shall subsequently be closed by EoD.

              Assignee:
              Ankit Singh Bish
              Reporter:
              Shivani Garg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: