User Stories: Chest X-Ray Referral, Order Management & Result Workflow
Epic Description:
As part of the TB screening workflow, the system shall create and manage Chest X-Ray test orders against a beneficiary's visit after completion of TB symptom screening. The system shall support automated and manual result entry, multiple test orders against the same visit, result-based referrals to Truenat, repeat testing for AI-invalid results, and automatic closure of pending orders at the end of the day.
US-CXR-001: Create Visit ID
As a TB Screening Application,
I want to create a Visit ID for a beneficiary after completion of TB symptom screening,
so that all clinical and diagnostic activities performed during the beneficiary's visit can be linked to a common visit record.
Acceptance Criteria
US-CXR-002: Create New Chest X-Ray Order
As a Nurse User/authorized clinical user,
I want the system to automatically create a Chest X-Ray Order ID when a new Chest X-Ray referral is made,
so that the diagnostic test can be uniquely tracked against the beneficiary's visit.
Acceptance Criteria
US-CXR-003: Manage Order Status
As a system,
I want to maintain the status of each Chest X-Ray Order ID,
so that the current state of the diagnostic test is clearly tracked.
Order Statuses
Status | Description |
Pending | Order created but test is not completed or valid result is not available |
Completed | Test conducted and result is valid, i.e., result is other than AI Invalid Result |
Closed | Order is no longer active, including not conducted, end-of-day closure, or AI Invalid Result order being replaced by a new order |
Acceptance Criteria
US-CXR-004: Receive Automated X-Ray Result
As a Radiographer,
I want the Chest X-Ray result to be automatically received from the integrated Digital X-Ray/AI system,
so that I do not have to manually enter the result when device integration is available.
Acceptance Criteria
US-CXR-005: Enter X-Ray Result Manually
As an authorized user,
I want to manually enter the Chest X-Ray result when automated device integration is unavailable,
so that the screening workflow can continue without dependency on device integration.
Authorized Users
Depending on configured role permissions, manual result entry may be provided to:
Acceptance Criteria
US-CXR-006: Capture Chest X-Ray Result
As a authorized user/system,
I want to record a standardized Chest X-Ray result,
so that the appropriate downstream action can be initiated automatically.
The system shall support exactly the following four result types:
Result Types | Meaning | Next Action |
Normal | No abnormality requiring TB diagnostic referral | No further action |
Abnormal but not TB Presumptive | Abnormal finding, but not suggestive of presumptive TB | Create Truenat Order |
TB Presumptive | Finding is suggestive of presumptive TB | Create Truenat Order |
AI Invalid Result | AI/device result cannot be considered valid | Repeat Chest X-Ray using same Order ID |
US-CXR-007: Process Normal Result
As a system,
I want to complete the Chest X-Ray order when the result is Normal,
so that no unnecessary diagnostic referral is generated.
Acceptance Criteria
US-CXR-008: Refer Abnormal Result to Truenat
As a system,
I want to refer beneficiaries with an abnormal Chest X-Ray result to Truenat testing,
so that further diagnostic evaluation can be performed.
Acceptance Criteria
US-CXR-009: Refer TB Presumptive Result to Truenat
As a system,
I want to automatically refer a beneficiary with a TB Presumptive Chest X-Ray result for Truenat testing,
so that molecular confirmation can be performed.
Acceptance Criteria
US-CXR-010: Handle AI Invalid Result
As a system,
I want to handle an AI Invalid Result by closing the current order and creating a new order for repeat testing,
so that an invalid AI result does not incorrectly complete the diagnostic workflow.
Acceptance Criteria
Example
Order ID: CXR-001
│
▼
AI Invalid Result
│
▼
CXR-001 = CLOSED
│
▼
Create New Order
│
▼
Order ID: CXR-002
Status = PENDING
│
▼
Repeat Chest X-Ray
US-CXR-011: Close Unconducted X-Ray Order
As a Radiographer/authorized user,
I want to close a Chest X-Ray order when the test is not conducted,
so that incomplete orders are properly accounted for.
Acceptance Criteria
Example Reasons
For Other, the user should be required to provide a description.
US-CXR-012: Automatically Close Open Orders
As a system,
I want to automatically close all eligible open Chest X-Ray orders at the end of the day,
so that there are no stale pending orders remaining from the day's camp activity.
Acceptance Criteria
At EoD, the system shall identify all Chest X-Ray orders for the current day that remain:
and change their status to Closed.
The system shall preserve the order history and closure timestamp.
Important Rule
An order shall not remain Pending after the end-of-day processing for that day's activity.
US-CXR-013: Reorder Chest X-Ray
As an authorized user,
I want to create a new Chest X-Ray Order ID from a previously closed order,
so that the beneficiary can undergo another Chest X-Ray when clinically required.
Acceptance Criteria
US-CXR-014: Support Multiple Chest X-Ray Orders
As a system,
I want to allow multiple Chest X-Ray Order IDs against the same Visit ID,
so that repeat testing can be tracked without overwriting previous test records.
Acceptance Criteria
For example:
Beneficiary ID: BEN-001
│
▼
Visit ID: VIS-001
│
├── CXR-001 → AI Invalid → Closed
│
├── CXR-002 → AI Invalid → Closed
│
└── CXR-003 → Normal → Completed
Each Order ID shall maintain its own:
Rule ID | Business Rule |
BR-CXR-01 | A Visit ID shall be created after TB symptom screening is completed. |
BR-CXR-02 | A new Chest X-Ray referral shall automatically create a unique Order ID. |
BR-CXR-03 | Multiple X-Ray Order IDs may exist under one Visit ID. |
BR-CXR-04 | Every Order ID is valid for the day on which it is created. |
BR-CXR-05 | New orders shall have status Pending. |
BR-CXR-06 | A valid X-Ray result shall change the order status to Completed. |
BR-CXR-07 | AI Invalid Result shall close the current order and generate a new order for repeat testing. |
BR-CXR-08 | A Not Conducted reason is mandatory before closing an order for a test that was not conducted. |
BR-CXR-09 | Eligible open orders shall be automatically closed at EoD. |
BR-CXR-10 | Closed orders shall not be deleted. |
BR-CXR-11 | A new order can be manually created from a closed order when another test is required. |
BR-CXR-12 | Each test attempt shall have a unique Test ID/Order ID as applicable. |
BR-CXR-13 | Abnormal but not TB Presumptive and TB Presumptive results shall initiate Truenat referral. |
BR-CXR-14 | Automated and manual result-entry mechanisms shall produce the same standardized result types and downstream workflow. |
Beneficiary
│
▼
Visit ID
│
├───────────────┬────────────────┬────────────────┐
▼ ▼ ▼ ▼
CXR Order 1 CXR Order 2 CXR Order 3 Truenat Order
│ │ │
▼ ▼ ▼
Test ID Test ID Test ID
│ │ │
Result Result Result
│ │ │
Status Status Status
This design ensures that repeat Chest X-Ray attempts are never overwritten, while the Visit ID continues to provide a common clinical context for all tests performed during the beneficiary's visit.
Order has expired or has been closed because the test was not conducted, result was not entered, or the final result remained AI Invalid.
Scenario | Order Status |
New X-Ray referral | Pending |
Test not yet conducted | Pending |
Valid result entered | Completed |
Normal result | Completed |
Abnormal result | Completed |
TB Presumptive | Completed |
AI Invalid – repeat required with new order id | Closed |
AI Invalid after repeated attempts at EoD | Closed |
Test not conducted + reason recorded | Closed |
Result not entered at EoD | Closed |
Expired order at EoD | Closed |
New order after previous closure | Pending |