OPD Triage Lens OPD / 04

Future Health · Statement #4 Precision Prevention & Screening · Statement #5 Closing the Screening-to-Care Loop

The OPD queue,
sorted by urgency —
not by arrival.

लक्षण बताइए — हम बताएँगे कि कितनी जल्दी दिखाना है।

Type symptoms in Hinglish or English. A deterministic rule engine — no model, no guess — assigns one of four colours, tells you which OPD slot to take, and writes the handoff summary your doctor actually wants to read. And when you have no symptoms at all, Prevent checks the signals that come before symptoms — an interactive risk profiler and a screening schedule, built the same transparent way.

REDEmergency · now
AMBERUrgent · today
GREENRoutine · next slot
BLUESelf-care · at ease
Rules in the book
—
Labelled test cases
—
Measured accuracy*
—
Data leaves device
Never

*Accuracy measured on our own 45-case labelled test set (built by us, not real patient data). See How it works.

Not a diagnosis. OPD Triage Lens triages urgency for OPD flow only. It never diagnoses, never prescribes. In an emergency, call 108 — do not wait for a slot.

01 — Intake

Describe the symptoms

Voice uses your browser’s built-in speech service (Chrome). Typing always works.

Try one — tap a chip

Who is this for?
OPD load right now
Optional vitals — helps the handoff (patient-entered)

Or run a scripted case: · ·

02 — Verdict

—

No verdict yet. Describe the symptoms and press Triage.

The engine matches your words against 34 written rules, checks four combination rules, then applies duration, age and vitals modifiers — in that order, every time.

03 — The dial

One disc. Four colours.
Every rule lives on it.

Move your pointer over the dial — it tilts in 3D. The needle points at the colour of your last verdict. Tap a quadrant to filter the rule book below.

OPD
RED
Emergency — go now, call 108. Chest pain with breathlessness, unconsciousness, stroke signs, heavy bleeding.
AMBER
Urgent — same-day OPD slot. Chest pain alone, high fever, severe stomach pain, repeated vomiting.
GREEN
Routine — next available slot. Mild fever, cold and cough, headache, rash, back pain.
BLUE
Self-care — no urgent slot. Checkups, vaccines, tiredness, small cuts, diet questions.

The needle only moves when a real verdict exists. An honest “cannot triage” leaves it at rest — the dial never pretends to know.

04 — Rule book

Every rule, on the table.

Nothing is hidden. Filter by colour or search a word — each card shows the exact keywords the engine matches and the advice it gives.

05 — How it works

Deterministic. Auditable.
Nothing to hide.

  1. 1 · Match. Your words are matched against 34 written rules (English + Hinglish keywords). Phrases count double; single words count once.
  2. 2 · Second look. Four combination rules run — chest pain + breathlessness is an emergency even though chest pain alone is not. This is the part a keyword list alone gets wrong.
  3. 3 · Modifiers. Duration (fever 3+ days), age group (child with fever) and vitals (SpO2 under 92%) adjust the verdict — each by an explicit, listed rule.
  4. 4 · Handoff. The verdict, the matched rule, the confidence band and the slot advice are written into a structured summary for the doctor — with the refusal path kept open.

How Prevent works

  1. 1 · Consent. Two checkboxes — screening-only, local-only — before any input is entered. Continue stays disabled until both are checked.
  2. 2 · Inputs. Age band, family history in broad categories, lifestyle factors, and markers you already know. Every field except consent is optional; “Not known” is a first-class answer.
  3. 3 · Signals. Three weighted scores (metabolic, cardiovascular, sleep/stress), each with the exact inputs that moved it listed underneath. The urgent screen comes only from the “worrying symptoms right now” checkbox — never from a score.
  4. 4 · Schedule. A dated list of preventive checks — annual, 2-yearly or 5-yearly by risk band — with referral pathways and a check-off list, plus a prevention plan you can carry to a clinician.

Measured, not claimed

—

The number is agreement between the engine and our own labels — a correctness check on the rule book, not a claim about real patients. The labelled set is published in corpus.js; anyone can re-run it with node tests/test.js.

What it does NOT do

  • No diagnosis, no prescription, no treatment advice.
  • No model, no API call, no data leaves your device — everything runs in this page.
  • Unknown symptoms get an honest “cannot triage” — never a guessed colour.
  • It does not replace a clinician. Red flags always point to emergency care first.

Why it fits Future Health

Statement #4 — Precision Prevention and Screening: it identifies people with unmet or elevated risk and connects them to the right pathway at the right time, in Hinglish as well as English — personalized and culturally appropriate.

Statement #5 — Closing the Screening-to-Care Loop: every actionable result becomes a structured, documented handoff with clear ownership (the patient carries it to the clinician) and a closed loop — triage → slot → handoff.