
Sanjeevni AI
Smart rural telehealth & pharmacy intelligence platform built for low-bandwidth, multilingual environments with Google Gemini AI triage, offline QR prescriptions, and SOS dispatch.
Timeline
2 months
Role
Full Stack & AI Engineer
Team
Solo
Status
CompletedTechnology Stack
Key Challenges
- AI-powered clinical triage accuracy and urgency classification (Critical/Urgent/Moderate/Routine)
- Adaptive connectivity engine for smooth fallback from video to voice on weak 2G/3G rural networks
- Tamper-proof offline QR prescription encoding and decoding with zero active mobile connectivity
- Multi-tier Role-Based Access Control (RBAC) with administrative license approval workflow
- Real-time pharmacy inventory sync and automatic chemically identical generic drug substitution
Key Learnings
- Google Gemini API integration with structured prompt schemas for clinical evaluation
- High-performance edge routing using Hono on Bun with Turborepo monorepo architecture
- Neobrutalist accessibility design for high contrast and extreme legibility in rural settings
- Vector map simulations for real-time ambulance routing and SOS emergency dispatch
- Offline-first web patterns with QR payload encryption and local device decryption
Sanjeevni — Smart Rural Telehealth & Pharmacy Intelligence Platform
Overview
Sanjeevni is an advanced, high-performance telemedicine and rural health logistics platform built specifically for low-bandwidth, multilingual, and medicine-scarce environments. Designed with a high-contrast Neobrutalist UI, it guarantees maximum legibility, zero-confusion workflows, and offline accessibility for patients, doctors, village pharmacies, and regional health administrators.
Multi-Tier User Roles (RBAC)
-
Patient (Instant Onboarding):
- AI-driven symptom triage in regional languages.
- Doctor audio/video consultations with adaptive bandwidth scaling.
- Tamper-proof digital QR prescriptions with visual time-of-day iconography (Morning 🌅, Afternoon ☀️, Evening 🌆, Night 🌙) for low-literacy patients.
- Offline village pharmacy stock search, medicine reservation, and one-tap emergency SOS.
-
Doctor (Admin Verification Required):
- Live patient queue management.
- Low-bandwidth video/audio consultations with auto-fallback to high-clarity voice on 2G/3G.
- Digital QR prescription generator with dosage, frequency, and duration encoding.
- Patient medical history review.
-
Pharmacy (Admin Verification Required):
- Offline-capable QR prescription scanner to decrypt dosages and dispense medications.
- Real-time drug inventory management and price updates in Rupees/Paise.
- Automatic generic drug substitution engine when branded medications are out of stock.
- Pre-arrival medicine reservation fulfillment.
-
Administrator (Command Center):
- Verification and approval gates for doctor medical licenses and pharmacy drug registrations.
- Live emergency SOS dispatch simulation map with real-time GPS routing.
- System analytics, usage metrics, and audit log inspection.
Core Platform Capabilities
- AI Clinical Triage: Powered by Google Gemini AI to evaluate urgency into 4 clinical tiers (
CRITICAL,URGENT,MODERATE,ROUTINE). Critical ratings immediately alert admins and trigger the Emergency SOS dispatch map. - Adaptive Connectivity Engine: Continuously monitors ping and jitter, gracefully degrading video calls to high-clarity voice when signal quality drops below thresholds.
- Offline QR Code Tokens: Works with zero active mobile network. The generated QR code contains a complete self-contained prescription payload readable by local chemists offline.
- Smart Pharmacy Inventory & Generic Substitution: If a prescribed brand is unavailable, the system automatically suggests chemically identical generic alternatives to save costs and avoid stockouts.
Tech Stack
- Frontend: Next.js 16 (App Router, Server-Side Rendering, React 19, Turbopack)
- UI Design: Custom Neobrutalism Design System with Tailwind CSS
- API Backend: Hono (Ultrafast edge router on Bun runtime)
- Database & ORM: PostgreSQL + Prisma ORM
- AI & Clinical Engine: Google Gemini AI
- Monorepo: Bun + Turborepo
- Deployment: Vercel (Frontend) + Cloud Container (API)
