What it does
MaternalScreen is a device-only antenatal screening workflow for the first five minutes of a clinic contact. A health worker enters blood pressure, symptoms and gestational age, and the rule engine answers immediately: a deterministic RED / YELLOW / GREEN result with the exact named reasons behind it. There is no black-box score.
How we built it
The whole app is a self-contained web app: an HTML shell, a dependency-free JS engine (rule evaluation, referral generation, BP trend math) and a service worker that caches the interface and every module after the first online load. The engine evaluates deterministic rule families in pure JavaScript: SEVERE_BP, NEUROLOGIC, HEAVY_BLEEDING, SEIZURE, RUQ_PAIN, REDUCED_FETAL_MOVEMENT, and the same-day-review rule. The same decision becomes a versioned structured referral JSON with observations, reasons, urgency and destination, ready to copy, download or print. Visits stay local, so blood pressure and risk can be compared across contacts without connectivity.
Value
A reliable screening record should not depend on a stable network. MaternalScreen keeps the safety decision local and explainable, preserves a handover audit trail, and never uploads patient data.
Demo
- Click Severe BP - RED, IMMEDIATE with reasons SEVERE_BP + NEUROLOGIC.
- Open Structured referral and copy the JSON.
- Open Referral queue and mark it handed over.
- Open Visit history for BP deltas.
- Stop the server and reload - the cached app and saved visit still load offline.
Built With
- healthcare
- html5
- javascript
- localstorage
- offline
- service-worker