Skip to content
M

MedExtract

Scan. Schedule. Stay Healthy.

Created on 24th August 2025

•

M

MedExtract

Scan. Schedule. Stay Healthy.

The problem MedExtract solves

We created an intelligent prescription helper that converts sloppy, handwritten physician scribbles into something your phone — and your life — can work with. You input a photo of a prescription into a robust LLM that reads and interprets the handwriting, pulls out salient information such as medication names, dosages, start and end dates, and any special directions, and stores everything as structured JSON. That JSON then serves as the source of truth: it fills up a light database so you can see history, medications, and refill needs over time. When the user logs in with their Google account, the app sets up calendar events for every dosage schedule and syncs to Google Calendar so reminders show up reliably on all devices. To loop back, the system sends a friendly WhatsApp reminder fifteen minutes prior to every dose, an appropriate prompt without intrusiveness. The workflow is focused on simplicity and safety: one photo, an instantaneous structured record, and scheduling that automates to minimize skipped doses and confusion. Patients and caregivers have a peaceful, reliable aide that interprets scrawled prescriptions into unambiguous action. It's privacy-conscious, sensible, and designed to liberate individuals from fear of missing medicines without compromising the doctor's intention. Simple. Reliable. Useful.

Challenges we ran into

Firebase auth — Challenge: secure Google sign-in and token verification. Fix: Firebase Auth + Admin SDK; store minimal profiles.

Next.js UI — Challenge: SSR/CSR and API glue. Fix: React components in Next.js, API routes for backend, SWR for live state.

Google Calendar OAuth2 — Challenge: token/refresh flow. Fix: server-side OAuth2, encrypted refresh tokens in Firestore, backend creates events.

Handwriting recognition — Challenge: messy scribbles. Fix: ensemble DeepSeek + TrOCR/PaddleOCR, image denoise/contrast, confidence scoring and human review for low confidence.

WhatsApp reminders — Challenge: scheduling and delivery limits. Fix: Twilio/WhatsApp Business API + cloud scheduled functions, retries and exponential backoff.

Privacy & compliance — Challenge: PHI safety. Fix: encryption in transit/at rest, minimal retention, user consent and opt-out.

Hallucinations & parsing errors — Challenge: model invents info. Fix: tight prompts, regex validators, automated tests, and manual verification fallback.

Tracks Applied (4)

Best Use of Gemini API

Our project showcases the Gemini API’s capabilities in a way that’s practical, responsible, and demonstrably impactful f...Read More
Major League Hacking

Major League Hacking

Best Use of MongoDB Atlas

Our project is a natural fit for the “Best Use of MongoDB Atlas” track because Atlas powers the exact capabilities a pre...Read More
Major League Hacking

Major League Hacking

Medical Track

We built a smart prescription assistant that translates handwritten doctor notes into structured medication schedules, m...Read More

Open Innovation

We built a smart prescription assistant that transforms handwritten doctor notes into structured, actionable care — and ...Read More

Discussion

Builders also viewed

See more projects on Devfolio