AI prescription review · 2026
Check every prescription against the patient in front of you.
Stack: Next.js, TypeScript, Supabase, Groq, RxNorm

A drug pair can be safe for one patient and dangerous for another. Kidney function, liver function, age and existing conditions change the answer, and prescriptions often leave that context out. I built ClinDex because catching a bad interaction shouldn't mean drowning in alerts or reading formularies at 1am.
Ask first, then check
Before ClinDex runs any check, an adaptive intake asks for the clinical markers it still needs, such as eGFR or hepatic function. Early versions asked the same questions twice, so I rewrote the flow to ask only for what's missing.
Grounded, not guessed
Every drug gets normalised through RxNorm and cross-checked against OpenFDA data, so the model works from real records instead of memory. Groq runs the reasoning step.
Results come back in three tiers, Avoid, Caution or Safe, each with the mechanism behind it and an evidence-backed alternative.
How it scores
On the project's own test cohorts:
- 100% safety recall, with zero missed contraindications
- 0.909 harmonic F1 and 85.7% accuracy
- About 5.2 seconds per review, against 5 to 10 minutes by hand
Scope
ClinDex is a research and educational capstone. Its output is decision support, and it isn't a certified medical device.
