| 1️⃣ Problem Statement | PS 06: Predictive Hospital Resource & Emergency Load Intelligence System |
| 2️⃣ Project Name | Hospital Command Center (MediForecast Pro) |
| 3️⃣ Team Name | The Validators |
| 4️⃣ Deployed Link | 🔗 Deploy Link |
| 5️⃣ Demo Video |
|
| 6️⃣ PPT Link | 📄 View Presentation Deck |
The Problem: Hospitals currently operate on historical averages, leading to critical staff shortages during sudden surges and wasted resources during quiet periods. Furthermore, during city-wide crises, lack of coordination leads to "Patient Stacking" where one hospital is overwhelmed while another nearby is empty.
Our Solution: The Hospital Command Center is a SaaS-ready platform that acts as a "Digital Twin" for hospital operations. It utilizes:
- AI-Driven Forecasting: Random Forest models predict patient influx using weather & calendar data.
- Resource Optimization: Linear Programming (PuLP) mathematically minimizes staffing costs while ensuring safety ratios.
- City-Wide Load Balancing: Automatically routes ambulances to neighboring facilities when capacity breaches 100%.
- Supply Chain Intelligence: Forecasts Oxygen and PPE usage to prevent stockouts.
| Feature | Description |
|---|---|
| 📂 SaaS Data Integration | Any hospital can drag-and-drop their historical CSV. The system's Retraining Pipeline instantly builds a custom AI model for them. |
| 🚑 Ambulance Routing | An intelligent "Air Traffic Control" for ambulances. If ER capacity > 100%, it provides optimal diversion routes to partner hospitals. |
| 📦 Supply Chain Forecast | Predicts consumption of critical resources (Oxygen Cylinders, N95 Masks) based on predicted patient pathology. |
| 📋 Mathematical Rostering | Generates the perfect shift schedule (Morning/Evening/Night) to minimize cost while maintaining a 1:5 Nurse-to-Patient ratio. |
| 🚨 Emergency Broadcast | "One-Click" dispersion system to alert Dept Heads and recall off-duty staff during Mass Casualty events. |
- Python 3.8 or higher installed.
git clone [https://github.com/ByteQuest-2025/GFGBQ-Team-the-validators.git](https://github.com/ByteQuest-2025/GFGBQ-Team-the-validators.git)
cd GFGBQ-Team-the-validatorspip install -r requirements.txt
Run the data generator script once to create the privacy-compliant "Digital Twin" dataset:
python generate_data.py
*Output: Dataset generated successfully.*
Start the application:
python -m streamlit run app.py
The application will automatically open in your default web browser at http://localhost:8501.
- View Live Status: The top bar shows the system status and Real-Time Temperature fetched from the API for your location (Pune HQ).
- Set Prediction Parameters:
- Target Date: Select a future date to forecast.
- Temperature: If the date is today, it uses live sensors. If it's in the future, use the slider to simulate weather conditions (e.g., a heatwave).
- Mass Casualty Toggle: Switch this ON to simulate a major disaster and see how the system handles a sudden 60% surge.
- Run Analysis: Click the 🚀 Analyze & Optimize button.
- Review Intelligence Report:
- Predicted Influx: See the exact number of expected patients.
- Optimized Roster: Check the generated table for the exact number of staff needed for Morning, Evening, and Night shifts.
- Bed Map: Visual grid showing occupied vs. free beds in ER, ICU, and General Wards.