-
Type:
Story
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: None
-
None
As a system, I want to create a Visit ID after completion of TB Symptoms Screening and create a Test Order ID whenever a new Truenat referral is generated, so that every Truenat test can be uniquely identified and tracked against the beneficiary's visit.
Acceptance Criteria
AC-01: Visit ID Creation
- Given TB Symptoms Screening is completed,
- When the screening is submitted successfully,
- Then the system shall create a unique Visit ID against the beneficiary.
AC-02: New Truenat Referral
- Given a valid Visit ID exists,
- When a new Truenat test referral is generated,
- Then the system shall automatically create a unique Test Order ID under the Visit ID.
AC-03: Multiple Orders
- The system shall allow multiple Test Order IDs to be created against the same Visit ID on the same date.
- Each Test Order ID shall have its own status, result, timestamps and audit trail.
- A closed Test Order ID shall not be overwritten or reused.
AC-04: Order Validity
- Each Test Order ID shall be valid for one day only.
- Any open/pending order remaining at the end of the day shall be automatically closed.