Skip to content
brightmesh.
Menu

MLCCP. Lung cancer screening that works without signal.

The screening web app on a tablet, drawn lungs and a risk score
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.

Three phones: screenings waiting to send, a red flag, and the risk score

What it does. From the first question to the follow-up.

How we built it.

  1. 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.

  2. The rules

    Eligibility, red flags, points and risk levels, kept apart from the screens and tested on worked cases, including every boundary.

  3. 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.

  4. The server and syncing

    Receiving screenings, scoring them again, encrypting who they belong to, and checking each device that sends one.

  5. 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.

  6. 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.

Next project

Capsul Africa. A safe place for your bags, booked on your phone.

Capsul Africa: the guest app in a hand, a numbered bag seal, and the access code