Contact
← Work

sanad

An offline Arabic symptom-intake demo for phones. It asks six questions, writes a summary a doctor can read, and stops with emergency guidance when a message names a red-flag symptom. Not medical advice.

Year
2026
Kind
Healthcare · TypeScript
Status
Shipped
sanad, image 1

A patient types their complaint in Modern Standard Arabic or in dialect. A deterministic engine walks six questions and screens every answer against a hand-written lexicon for 13 emergency presentations. A hit ends the intake with emergency guidance. A language model plugged in would only phrase replies. It is never called for an escalation message, so it cannot rewrite or suppress one.

Negation is the hard part. "No chest pain" should be recorded as a denial, while "No, I have chest pain" must escalate. Early versions got this wrong in the dangerous direction many times. Every sentence that broke the rule is pinned in an 877-case sweep, and anything the engine cannot read as a clean denial escalates.

The recall corpus reads 158 of 158, but only because every miss was added to the lexicon. On 64 held-out phrasings it catches 17, so a phrasing it has never seen is usually a silent miss. No physician has reviewed the lexicon, and the phone checks ran in emulated Chromium, not on a real handset. It is a technology demo, not medical advice.

sanad, image 2
Next projectTakeout Lens →