AI Architecture

Materna AI is built as a pipeline of transparent layers. Every layer is inspectable; no layer makes a diagnosis. The prototype implements each layer with deterministic, explainable logic that can later be replaced by validated models without changing the product workflow.

Monitoring → Understanding → Action

  1. User Health Data

    Blood pressure, weight, heart rate, glucose, symptoms, pregnancy history, documents

  2. Health Monitoring Layer

    Validated entry, longitudinal timeline, filtering, charts

  3. Trend & Anomaly Analysis

    Baseline vs recent · moving averages · rate of change · repeated readings · configurable prototype bands

  4. Explainability Layer

    Observation · evidence · trend · explanation · data used · confidence

  5. Care Recommendation Logic

    Deterministic safety escalation: stable → increasing → needs attention → urgent attention

  6. Care Action

    Online consultation

    Offline appointment

    Facility referral

    Emergency access

    Medicine workflow

  7. Continuous Monitoring

    New readings, documents and check-ins re-enter the loop; observations are recomputed with every request.

Medical Document Intelligence

  1. Medical documents

  2. OCR / NLP (prototype: demo mapping + PDF text)

  3. Structured information

  4. User confirmation

  5. Health timeline

Prototype implementation notes

  • Trend engine: transparent statistics, not a trained model. No accuracy claim.
  • Thresholds are configuration, labelled “Prototype/Demo Logic — Not for Clinical Use”.
  • Document extraction: demo mapping for synthetic documents, real PDF text extraction with conservative pattern matching for uploads; OCR unavailable state for images.
  • Assistant: rule-based prototype by default; optional LLM mode with a strict safety system prompt.
  • Human-in-the-loop: every document value must be confirmed; every observation links to “Ask Your Doctor”.