-
Type:
Story
-
Resolution: Unresolved
-
Priority:
High
-
Affects Version/s: None
-
STOP TB Sprint 12, STOP TB Sprint 13
Scale target: 100,000 records, scaling up to 1,000,000 records. Which record types count: [TBD/CLARIFICATION REQUIRED]
Background / Context
Camps often work with a local network that may have no internet. Records and diagnostic updates entered on one device must reach the others.
Problem Statement
- Records saved while the camp network is unavailable may take several minutes to sync after connectivity returns.
- Pending records may not start syncing automatically when users reopen the app.
- When a nurse enters a reason for marking an X-ray or TrueNat test as Not Conducted, the reason may not appear on other devices.
Current Behaviour
Delayed sync after reconnect, no sync on app reopen, and Not Conducted reasons are not shared across devices.
Expected Behaviour / Requirement
- Syncing resumes automatically when the camp network becomes available.
- Pending records start syncing when the app is opened.
- Diagnostic information and reasons entered by one user are visible on other connected devices.
User Story
As a nurse, I want my offline work and Not Conducted reasons to reach the registrar and counsellor devices automatically so that everyone sees the same information.
Acceptance Criteria
- Given records saved offline, when the camp network becomes available, then syncing starts automatically.
- Given pending records, when the user reopens the app, then syncing starts.
- Given a Not Conducted reason entered for an X-ray or TrueNat test, then it is visible on all connected devices.
- Given a camp network without internet access, then offline syncing still works.
- Given Registrar, Nurse and Counsellor devices, then the complete workflow is verified end to end.
- Given a network interruption, then no saved records are lost.
Business Rules / Validations
Not Conducted requires a reason: [TBD/CLARIFICATION REQUIRED whether this is mandatory today]
Dependencies
Data syncing story. X-ray and TrueNat result updates story.
Impact / Affected Areas
Offline sync, X-ray and TrueNat workflows, Registrar, Nurse and Counsellor roles.
Out of Scope
Speed of X-ray and TrueNat result retrieval (covered in the result updates story).
QA / Testing Considerations
Multi-device test with network on/off, local-only network, and app close and reopen.
Open Questions / Clarifications
- Acceptable delay between reconnect and sync start?
- How are conflicting entries on the same test resolved?