Skip to content

Public health · Case study · In development

Disease surveillance that works where the signal doesn’t

An offline-first platform for Nigeria: community health workers report suspected cases on a phone with no signal, supervisors review them on the web, and the data is shaped to flow straight into the national surveillance systems. A six-month build, from discovery to pilot readiness, in progress now.

Client
National Disease Surveillance Project
Duration
Six-month plan, in progress
Services
Mobile App Development, Custom Software Development, Technology Strategy & Consulting

Progress so far

In development
Cases lost or duplicated in the offline sync acceptance test
0 lostCases lost or duplicated in the offline sync acceptance test
Guided case report, working end to end on Android
6 stepsGuided case report, working end to end on Android
Automated tests across the phone, the server and the shared rules
175Automated tests across the phone, the server and the shared rules
Official IDSR reporting forms every field is mapped to
3 formsOfficial IDSR reporting forms every field is mapped to

The challenge

The problem we set out to solve

Outbreak data in Nigeria arrives incomplete and late, and collecting it is expensive in people’s time. The gap is widest outside the public system: private clinics, faith-based facilities and NGO health posts report suspected cases far less often than government facilities do, so the national platforms see only part of the picture. The community health workers who meet patients first often work where mobile data is unreliable, and by the time a weekly count reaches a state dashboard an outbreak may already have moved on. We set out to give public health teams complete, real-time outbreak data, from the first case report to the state-level dashboard, without asking anyone to replace the national systems they already run.

On the phone

A case report that works with no signal at all

The health worker’s app runs on Android and iOS from one React Native codebase. Every action works offline: a report is saved on the phone first, with its identifier generated on the device, and syncs when a connection returns. A banner always says plainly where things stand, from “All changes sent” to how many changes are waiting on the phone, and a change the server refuses is kept and shown rather than silently lost.

A report is six guided steps: consent, patient, symptoms, exposures and vaccination, household, then review and submit. Each worker only ever receives the cases in their own area, and a supervisor receives everything in theirs. Before anything was built on top of it, the sync had to pass an acceptance test designed to break it: cases created in airplane mode, the app force-closed and reopened offline, a record edited while still offline, then reconnected. Every case arrived exactly once, with no duplicates and the edit applied as a single change.

Clinical logic

A second pair of eyes, never a diagnosis

The national case definitions are encoded as data and evaluated on the phone, with no connection needed. At review, the app lists every definition the patient meets, the plain-language reasons why, and whether it must be reported immediately or weekly, then pre-fills the most likely suspected illness. The wording is deliberate throughout: “meets the suspected case definition for…”, never a diagnosis.

It earned its place early. Run against the example case in our own wireframes, a suspected Lassa fever patient, the engine pointed out that the same patient also meets the definition for dengue. The form design had missed it; the rules had not.

“Complete” is enforced twice, by the same shared rules on the phone and on the server. The worker sees exactly what’s missing, with a link to each gap, and the server refuses an incomplete case even if a phone were to send one.

On the web

Supervisors, dashboards and the weekly report

The web side is being built next. Supervisors get a review queue for the cases coming in from their area, and a weekly check-in that follows the official weekly reporting form. That form maps directly onto the national aggregate dataset, so the report supervisors already owe becomes a by-product of the work rather than something collated by hand.

Above that sit state-level dashboards: suspected cases by disease, place and week, with immediate-report alerts surfaced first. The web app comes from the same codebase as the phone and shares the same domain and case-definition packages, so a phone, a browser and the server can never disagree about what a valid case is.

Privacy by design

Consent before a single field is saved

Health data is sensitive personal data under Nigeria’s Data Protection Act, and the platform is designed around that from the first screen. No patient detail, not even a name, is stored until a consent record exists. Each purpose is its own choice, nothing is pre-ticked, and consents are kept as unalterable, versioned records so they can be proven later. Sharing with government systems, and analytics, only ever read the cases whose consent allows it.

Collection is kept to what surveillance needs. Household members are named only for diseases that require contact tracing; for everything else the app records a count and age bands. Health workers unlock the app with their phone’s own fingerprint or a PIN, and no biometric data is ever stored by the platform. Legal review of the consent design is a gate in the plan: no real patient data is collected until it is complete.

Interoperability

Built to feed the national systems, not compete with them

Every field in the data dictionary is mapped to the WHO AFRO Integrated Disease Surveillance and Response forms for case-based, laboratory and weekly reporting, and to the national case definitions. The first integration pushes cases into DHIS2 through its Tracker API, so the platform’s first job is to close the private-sector gap in data the government already collects.

Diseases, case definitions, places, languages and system mappings are configuration, not code. Adding a disease, or a country, means a new “country pack” rather than a new release, which is how a platform that starts in one Nigerian state is designed to scale across the continent.

The approach

How we worked the problem

  1. Started from the problem statement and the national reporting forms, not the screens: a data dictionary mapped field by field to IDSR before any code

  2. Designed consent and data minimisation first, with legal review as a hard gate before any real patient data

  3. Proved the hardest thing first, offline sync with nothing lost or duplicated, before building the full report on top of it

  4. Encoded the national case definitions as data, with one evaluator shared by phone, web and server

  5. Planned the pilot where existing systems are weakest: private, faith-based and NGO facilities in one state

Timeline

The plan, and where it stands

  1. Months 1–2DoneDiscovery and designProblem statement and value proposition, the gap in private-sector reporting, a data dictionary mapped to the IDSR forms, the consent design, and 14 wireframed phone screens for health workers and supervisors.
  2. Month 3NowPhone app: offline case reportingOffline sync proven in its acceptance test, the full six-step case report, and the case-definition check running on the phone. Built and working on Android.
  3. Month 4NextSupervisor review and the web dashboardThe supervisor review queue, the weekly IDSR check-in, and state-level dashboards on the web, from the same codebase as the phone app.
  4. Month 5PlannedSecurity, languages and the national connectorPIN and device-biometric sign-in, encryption of the phone’s local database, long-lived offline sessions, English, Hausa, Yoruba, Igbo and Pidgin, and the DHIS2 Tracker connector.
  5. Month 6PlannedPilot readinessLegal sign-off on the consent design, then a pilot with private, faith-based and NGO facilities in one state.

Progress

Where it stands today

  • Cases lost or duplicated in the offline sync acceptance test0 lost
  • Guided case report, working end to end on Android6 steps
  • Automated tests across the phone, the server and the shared rules175
  • Official IDSR reporting forms every field is mapped to3 forms

Similar problem?

Most of our work starts with a call like this.

If you’re facing something like this public health engagement, a 30-minute conversation with Stemdot will tell you whether the approach transfers.

We reply within one business day. No pitch decks, no discovery-call gauntlet.