Inspiration
Hospitals still rely heavily on manual registers, Excel sheets, and disconnected systems. Patients wait for hours in OPD queues without updates. Staff manually track bed availability, causing delays in admissions. Pharmacy teams struggle with stock tracking and expiry management.
We were inspired to build a unified, intelligent hospital management platform that connects all departments in real time — eliminating delays, confusion, and inefficiencies.
What it does
Smart OPD Queue Management: Automatically generates and allocates patient tokens Predicts waiting time dynamically based on live queue length Updates patient position in real time Allows doctors to call the next patient through a dashboard Synchronizes instantly across all devices
SMART Digital Bed Management System: Maintains a live visual map of hospital beds Tracks status: occupied, available, under cleaning Updates instantly when admissions or discharges occur Prevents admission delays caused by manual tracking Also tracks which bed has all equipments like oxygen supply , vital monitor , infusion pumps etc (A Bed is is marked available ONLY if its well EQUIPED.)(added)
Intelligent Inventory Monitoring: Tracks stock levels in real time Generates automatic low-stock alerts Flags medicines nearing expiry Maintains department-wise inventory visibility
AI-Generated Medical Summary:(added) Aggregates patient history and previous reports Generates a structured summary before consultation Reduces manual review time for doctors
Pateints can also book appointments simply through whatsapp by sending a message "hi" and giving necessary details like name , age , gender etc . The patients gets a token and can thereby track that token as well.(added)
How I built it
TypeScript for scalable and maintainable development Firebase Authentication for secure user access Firebase Firestore for real-time cloud database Real-time listeners for instant cross-device synchronization Whatsapp Cloud API for booking through whatsapp Modular architecture integrating OPD, admissions, bed management, and pharmacy
Challenges I ran into
Ensuring real-time synchronization without conflicts Implementing accurate wait-time prediction logic Structuring inventory tracking with expiry and alert logic Managing role-based access for doctors, staff, and administrators
What I learned
Designing real-time distributed systems using Firebase Firestore and event listeners Creating modular frontend architecture for independent yet connected modules (OPD, beds, inventory) Implementing wait-time prediction logic based on dynamic queue data Designing alert systems using threshold-based triggers (low stock, expiry tracking) Text summarization using Tesseract
What's next for MedQTrack
Improve AI accuracy for medical summaries Make a floor based plan for bed tracking. Explore government partnerships for large-scale deployment
Built With
- css
- firebase
- github
- groq
- javascript
- multer
- ocr
- pdf-parser
- react
- tesseract
- typescript
Log in or sign up for Devpost to join the conversation.