MLCCP. Lung cancer screening that works without signal.

- Status
- Live. We maintain it and keep adding features.
- We built
- Screening web app, supervisor portal, API
- Works on
- Phone, tablet and desktop
- Built with
- React, Material UI, NestJS, PostgreSQL, Redis
A web app that guides a health worker through a screening, and a portal that follows it up.
It opens in the browser and can be installed as a Progressive Web App (PWA), so it works fully offline. It works out the risk score as the questions are asked. The portal shows what came in, what needs checking, and which referrals nobody has answered.
The problem. A long paper form, in places with no signal.
Lung cancer in Sub-Saharan Africa is often mistaken for TB and usually found late, when treatment works less well. Health workers screened people for it with a long paper form, from village outreach to oncology units.
On paper, scores were added by hand and red flags could be missed. Referral slips went missing between facilities, and research data arrived late and inconsistent. Many sites have weak or no internet, so a tool that only works online was no answer.
The solution. The whole screening runs on the device.
The paper form became ten guided steps on a phone, tablet or computer. It is a web app, so there is nothing to get from an app store: it is set up once with a connection and stays on the device. After that a health worker can take consent, ask every question, see the result and submit, with the network off.
When a connection comes back, the screening goes to the server and appears in the portal, where staff follow it up.

What it does. From the first question to the follow-up.
It works with no signal.
Every answer is saved on the device as it is given. Finished screenings wait there and send when the app is unlocked and online. The health worker always sees what is still waiting.

A red flag is hard to miss.
The moment a red-flag symptom is answered Yes, the app says to refer urgently and not to wait for the full screening. The warning cannot be closed while the answer stands.

Nobody adds up the score.
The app adds the points, from 0 to 16, and shows the risk level and the next step. When an answer is not known, it shows the range the score could be instead of guessing.

Referrals get followed up.
A referral prints with its study number and a QR code. The portal lists referrals with no answer, and devices that have gone quiet. A slip that arrives before its screening waits, and is linked when the screening comes in.

How we built it.
The form, as data
Every field on the paper form was defined once, so the app, the server, the portal and the exports all read the same form.
The rules
Eligibility, red flags, points and risk levels, kept apart from the screens and tested on worked cases, including every boundary.
The web app, offline first
Set-up, consent, the ten steps, review and submit. All of it worked with no network before there was a server.
The server and syncing
Receiving screenings, scoring them again, encrypting who they belong to, and checking each device that sends one.
The portal
Checking and correcting screenings, reviewing a sample of them, following up referrals, and exporting data for research as CSV or in REDCap and ODK form.
Live, then onwards
Staff invites came with the release. Since then: structured addresses that work offline, quicker answers and a simpler referrals page.
The hard parts.
Sent means received
A screening stays on the device until the server sends back a receipt for it. A good connection is not proof.
Real addresses, offline
Provinces ship with the web app, and a list of real places comes down with a sync. So a health worker picks a real village with no signal, and types one only when it is not listed.
Maps, offline
A map normally loads from the internet, piece by piece, as you move around it. Health workers need one in places where there is no internet to load it from.
Nothing is turned away
If the server cannot read a screening, it does not refuse it. It sets it aside and confirms to the device that it arrived.
Two scores, one set of rules
The device and the server run the same rules, on the version the screening was made with. If they ever disagree, the portal says so.
The rules can change safely
Age bands, thresholds and points live in a versioned file, not in the code. A change is a new version, so an old screening keeps the rules that scored it.
Private by design.
On the device
Screenings are encrypted, under a key locked with the health worker's PIN.
On the server
Names and contact details are kept apart from health answers.
For every person
Each person sees only what their role and sites allow.
Where it stands. Live, and still growing.
MLCCP is live. We maintain it, release updates and keep adding features.
Capsul Africa. A safe place for your bags, booked on your phone.
