BigDocs
This is a full-fledged Telemedicine and Healthcare Management Platform that connects patients and doctors through virtual consultations, appointment booking, medical report uploads,etc
Created on 9th February 2025
β’
BigDocs
This is a full-fledged Telemedicine and Healthcare Management Platform that connects patients and doctors through virtual consultations, appointment booking, medical report uploads,etc
The problem BigDocs solves
Managing doctor appointments, virtual consultations, and prescriptions can be challenging for patients. Tracking approved appointments, accessing telemedicine links, and retrieving prescriptions often require multiple steps, leading to confusion and inefficiency.
π₯ Features & Benefits
β
View Approved Appointments β Patients can instantly see their approved appointments, including doctor details, date, and time.
π Easy Telemedicine Access β No need to search emails; patients can join their virtual consultation with a single click via /telemedicine/{roomId}.
π¬ Doctor Messaging β Enables seamless communication with doctors, ensuring timely updates and better interaction.
π Real-Time Updates β The system fetches only approved appointments, so patients always see up-to-date information.
π Prescription Management β Doctors can add prescriptions, which are directly available on the patientβs dashboard, ensuring easy access to medications and treatment plans.
β³ Improved Efficiency β Doctors can manage their appointments and prescriptions more effectively, reducing confusion and missed sessions.
π§ AI-Powered Disease Prediction (BERT Model) β Patients can input symptoms, and our custom-trained BERT model predicts potential diseases with high accuracy. This assists both patients and doctors in early diagnosis and better decision-making.
π‘ Since this was a 48-hour hackathon, we deployed a lower-parameter BERT model for quick inference. However, we are currently training a more robust and accurate version for improved disease prediction.
π This feature simplifies healthcare by making appointments, telemedicine, prescriptions, communication, and disease prediction faster, more accessible, and hassle-free!
Challenges we ran into
During the development of this project, we encountered several hurdles that required innovative solutions:
π Fetching Approved Appointments in Real-Time
Initially, even after approval, patient dashboards showed "No approved appointments" due to Firebase authentication delays and incorrect queries. We resolved this by ensuring auth.currentUser was initialized before fetching data and implementing better state management for real-time updates.
π Generating & Displaying Telemedicine Links
We needed to create dynamic meeting links (/telemedicine/{roomId}) while restricting access to only the consulted doctor and patient. Some roomIds were not stored correctly, causing access issues. Fixing this required verifying that roomId was assigned upon appointment approval and fetching it correctly in the MessageDoctor component.
π Prescription Handling
Prescriptions added by doctors were not updating in real-time due to Firestore's default caching. We implemented Firestore listeners (onSnapshot) to ensure instant updates whenever a prescription was added.
β‘ Fixing Stuck Loading States
Some pages got stuck on "Loading..." due to Firebase permission issues and missing error handling. We fixed this by adding proper try-catch blocks, improving loading state management, and refining Firestore security rules to ensure proper data access.
π€ Deploying the ML Model on Hugging Face with Flask & Docker
Our BERT-based disease prediction model worked locally but faced issues in deployment due to dependency mismatches and memory constraints. We resolved this by:
βοΈ Using Flask to serve the model via an optimized API.
βοΈ Containerizing the solution with Docker for better portability.
βοΈ Deploying on Hugging Face Spaces with a lightweight execution strategy.
By tackling these challenges, we built a robust, AI-powered healthcare system that ensures real-time efficiency and accessibility. π
