Maternal Intelligence is a Tanzania STG 2021-grounded clinical decision support engine that scores maternal risk, fires real-time guideline alerts, and generates ICD-10-coded care plans at every visit.
Most maternal deaths are preventable when warning signs are caught early. Overworked clinicians, fragmented records, and inconsistent risk screening mean critical signals are missed every day — especially in Tanzania's low-resource settings.
Three real-world cases showing how the engine evaluates different maternal conditions, fires guideline alerts, and generates prioritised interventions.
Alerts are not generic warnings. Each one carries a severity level, a clinical message, a specific STG 2021 chapter reference, and a rule ID — so clinicians always know exactly what triggered it and where to find the protocol.
The risk engine combines weighted clinical parameters with a rule-firing system grounded in Tanzania STG 2021. Every score is explainable — clinicians see exactly what drove the alert and which protocol step to follow.
The engine stores every visit in a patient timeline and derives a trend — worsening, stable, or improving. Care plans adapt automatically based on trajectory, not just a single snapshot.
GET /cds/timeline/:id returns full history
Every condition module is built directly from Tanzania STG 2021 — rules, thresholds, intervention priorities, and ICD-10 mappings are all traceable to a published guideline chapter.
| Condition | Alerts | ICD-10 |
|---|---|---|
| Pre-eclampsia | 8 | O14.x |
| Postpartum Haemorrhage | 6 | O72.x |
| Sepsis | 5 | O85 |
| Anaemia | 4 | O99.0 |
| Gestational Diabetes | 4 | O24.4 |
| ANC Routine | 6 | Z34.x |
| PNC Routine | 5 | Z39.x |
| Obstructed Labour | 3 | O65.x |
| Maternal Default | 2 | O99.8 |
Clinicians can describe a patient in plain language. The NLP parser extracts condition, vitals, and symptoms automatically — then the full CDS pipeline runs as normal. No structured form required.
/cds/story — response includes raw + structured + evaluation
A lightweight REST API — POST a patient payload or a clinical story, GET a timeline or risk snapshot. Everything returns structured JSON ready for EHR integration.
/cds/evaluate — or paste into Swagger UI above.Whether you're at the bedside, building a system, or setting policy — the engine is designed to serve you directly.
The full interactive demo is hosted on Hugging Face Spaces. Submit a structured patient intake or paste a free-text clinical narrative — the engine returns a real-time risk score, STG 2021 alerts, ICD-10 code, and prioritised interventions.
Maternal Intelligence puts Tanzania's best clinical guidelines into the hands of every provider, at every visit, in every facility — no matter the resource level.