Inspiration

Patients in India carry physical files between hospitals, prescriptions are handwritten and unreadable, and every clinic runs a separate booking system. We wanted one platform that fixes all three problems.

What it does

A unified platform where hospitals and clinics list their services and doctors. Patients book appointments with real-time availability, receive digital AI-assisted prescriptions, and carry their entire medical history - prescriptions, reports, records - across every hospital on the platform in one Health Passport.

How we built it

React + Express + PostgreSQL (Supabase). Real-time slot availability via PostgreSQL LISTEN/NOTIFY. Drag-and-drop prescription builder backed by 250K+ Indian medicines. Document text extraction using parsePDF (PDFs). LLM summaries via OpenRouter and auth via Supabase (email, Google, phone OTP).

Challenges we ran into

Preventing double-booking under concurrency using PostgreSQL soft-locks. Handling scanned PDFs that return empty text from standard parsers.

Accomplishments that we're proud of

Cross-hospital Health Passport — patients share records with a new doctor in one tap, something no existing Indian platform offers. A fully working scheduling engine with soft-locks, real-time SSE updates, and automatic waitlist fill on cancellations.

What we learned

PostgreSQL alone handles FTS, pub/sub, caching, cron, and access control — no Redis or message broker needed. Building for India means SMS fallbacks, walk-in queue support, and never auto-translating medical content.

What's next for MediNexus

ABDM health ID integration, drug interaction checker, Hindi/regional language support, telemedicine with in-call prescriptions, and direct pharmacy forwarding.

Built With

Share this project:

Updates

Submission history