RapidRX
Link to open source: https://github.com/shikharshahi/RapidRX-Hack-E-Awadh
Link to Live Project: https://rapidrx-portal.web.app/
**Problem**
- A handwritten Indian prescription is read correctly only about half the time. The printed bill in the same visit is right more than 99% of the time on the phone.
- Guessing that gap is how the wrong tablet is taken.
- After the clinic, a missed dose is invisible to the family.
**Research**
- We split the job by what each source is actually good at.
- Identity follows the printed bill, then the strip, then the doctor, then the handwriting.
- Timing follows the doctor, then the prescription, then the chemist. The bill has no timing, so it is not allowed to invent one.
- Where the sources disagree, both readings stay visible and a person decides. The merge is plain Dart, the same result every run.
**Tech stack**
- Flutter 3.47, Android first. The dose logic is pure Dart.
- On-device ML Kit for Latin and Devanagari. Optional Gemini for handwriting only.
- AES-256-GCM on the phone, key in the phone keystore.
- On-device voice. Exact alarms and a full-screen dose screen.
- WhatsApp through Twilio. Caretaker site is a static portal with a notification bay.
**USP**
- **On-device storage.** Medicines, the dose log, and the visit stay on the phone, encrypted. There is no cloud medical record.
- **Voice support.** Every screen is read aloud in Hindi or English, including onboarding, before the person has said Yes.
- **On-device reading.** ML Kit and a rule parser run offline. They turn “1-0-1 p/c” and “subah ek, khane ke baad” into a dose. A model does not choose the dose.
- **Gemini.** Used only after the person taps Read, and only for the handwriting. That reading gets no extra trust. It still has to agree with the printed bill.
- **Guardrails.** Consent before any capture. A non-medical photo is refused, with the reason, and the person can override. A red card cannot be confirmed. Doctor timing is never moved. “Sent” and “opened in WhatsApp” are different words.
- **Stepper flow.** One new prescription is eight steps, one decision per screen, ending in an explicit Approve.
- **QR matching.** The patient scans the caretaker’s QR. The caretaker types the code the patient’s phone shows. A paid caretaker also needs the patient’s PIN.
- **Prescription voice intake.** What the doctor said, and what the chemist said, can be spoken. The recording is evidence, not a silent transcript.
- **Dosage alarm.** One reminder, one nudge 30 minutes later, then silence. The screen shows the name and one pill picture per tablet.
- **Two-way notification.** The patient answers Yes or No on the alarm. Yes logs the dose. A miss is sent to the caretaker.
- **WhatsApp.** The family gets plain text on the app they already have. They can forward it. No second app to install.
- **Simple UI for older adults.** At least 20pt text, 64px taps, pictograms beside the words, medicine names in English letters so they match the strip.
- **Offline friendly.** Photos, parsing, the schedule, the alarm, and voice all run with no network. Gemini is the only optional online read.
**Edge cases**
- A brand swap at the counter, such as TELMA and TELMISARTAN, stays a conflict until a person chooses.
- “Come back after ten days” stays a note, not a ten-day course.
- “AMLONG 5 TAB” is 5 mg, not five tablets.
- An as-needed medicine never gets an alarm.
- A holiday photo or a café receipt is turned away.
- A slot already marked taken does not ask again. A demo alarm writes nothing.
**Use cases**
- Turn today’s clinic visit into a schedule the same evening.
- Wake an older patient with a screen they can read and a voice that says the name.
- Tell a son or daughter, on WhatsApp, that the morning dose was missed.
- Let a paid caretaker see doses only after the patient’s PIN.
- Catch a chemist’s substitution before it is approved.
**Patient flow**
- Choose language and whether voice should keep talking.
- Add phone, name, and PIN. Choose Patient.
- Add age. Height, weight, and the Ayushman lookup are optional, and the card is labelled demo until they confirm it.
- New prescription: say what the doctor said, choose who is verifying, photograph the prescription, bill, and strips, check the chemist, read the cards, place each medicine beside what they already take, then Approve.
- Each day, the alarm shows the dose. Yes logs it. No leaves it due.
- Scan a caretaker’s QR when they want someone else to be told.
**Caregiver flow**
- Choose Caretaker, then family or paid.
- Show a QR. The patient scans it. Type the code from the patient’s phone.
- Family sees missed doses and prescriptions added this week, and gets WhatsApp.
- A paid caretaker types the patient’s PIN on each visit, then sees today’s doses, the schedule, and notes.
- The website notification bay shows the same alert. It does not hold photos, transcripts, or the health profile.
ppt link - PPT LINK
video link - YOUTUBE VIDEO
This build was uploaded as a hackathon project




