🏥 Smart Community Hospital
One Dashboard. Two Lives Saved.
🧠 Inspiration
In underserved regions, public health trends and hospital resource gaps often go unnoticed until a crisis erupts. While tools exist to tackle these issues separately, there’s rarely a unified, accessible solution that connects them both.
We were inspired to create a streamlined web platform that helps both community health workers and hospital administrators — giving them foresight, clarity, and actionable insights with just a few clicks.
Our goal? Prevent healthcare crises before they start.
Hence our tagline: “One Dashboard. Two Lives Saved.”
💡 What it does
Smart Community Hospital is a dual-module, AI-enhanced platform that brings together public health monitoring and hospital readiness tools. It features:
1️⃣ Community Health Analytics
- Upload community data (e.g., health issues, vaccination status)
- Automatically generate summaries and detect trends with charts
- Get AI-suggested interventions based on patterns (e.g., increase vaccine outreach, target fever hotspots)
2️⃣ Hospital Resource Predictor
- Upload past hospital usage data (e.g., ICU beds, oxygen, admissions)
- Automatically generate summaries and detect trends with charts
- Get AI-suggested recommendations on resource allocation and staff preparedness
Both modules are designed to loop into each other, nudging users to engage with the full system for better decision-making.
🤖 AI Chat Assistant
We integrated the Gemini API to power a smart assistant that:
- Answers user questions
- Provides summaries and context
- Gives tailored advice based on results
🤖 Bonus: AI Chat Assistant
As a stretch feature, we integrated the Firebase Authentication to:
* Enable secure sign-in and session management.
🛠️ How we built it
- Frontend: Built with React and styled using Tailwind CSS for a clean, fast, and responsive UI.
- Backend: Built with Flask for communication with the frontend and to process csv, xlsx, and xls files uploaded.
- Charts & Visuals: Leveraged Chart.js and Recharts for interactive health and resource graphs.
- Data Processing: Used Pandas, Jupyter and Numpy to clean and analyze CSV datasets from the browser.
- AI Chatbot: Integrated Gemini API to power a context-aware assistant using prompt engineering.
- Mock Data: Generated realistic health and hospital datasets to simulate real-world inputs in the absence of accessible open data.
- User Authentication: Implemented Firebase Authentication to enable secure sign-in and session management. This lays the groundwork for personalized dashboards, history tracking, and user-specific data storage in future versions.
- Deployment: Used Vercel for frontend deployment and Render for backend.
🚧 Challenges we ran into
- Frontend integration: Managing seamless communication between frontend inputs and backend predictions within limited infrastructure.
- Data realism: Synthesizing accurate and diverse data that reflected real-world hospital and health trends without introducing bias.
- AI response tuning: Formatting Gemini prompts to produce helpful, relevant, and safe advice — especially in a medical context.
- Balancing UX and depth: Making a complex product feel simple for users with varied technical backgrounds.
🏆 Accomplishments we're proud of
- Built a fully functional, two-in-one solution that bridges healthcare awareness and action.
- Created an interpretable data visualization set that performs well on real-world scenarios.
- Successfully integrated a working AI chatbot that offers meaningful guidance.
- Designed a product that is lightweight, relevant, and socially impactful — with real potential to help communities in need.
📚 What we learned
- How to collaborate across roles (frontend, backend, AI, data) with speed and purpose.
- How to build real-time data feedback loops that inform and empower the user.
- Practical insights into deploying Gemini API in a constrained yet high-value scenario.
- The power of designing tech that is not just smart, but empathetic and local-first.
🚀 What's next for Smart Community Hospital
- 🌍 Geolocation-based health mapping with public API integration.
- 🧰 Custom dashboard deployment for NGOs, clinics, and health officials in rural communities.
- 🧠 Expand Gemini chatbot to include:
- Localized health resources
- First aid and emergency escalation tips
- Language translation for regional use
- 📦 Convert into a progressive web app (PWA) for offline support in low-connectivity regions.
🧰 Tech Stack
Frontend
- React
- Tailwind CSS
Backend
- Flask
Visualization
- Chart.js
- Recharts
Data Handling and Visualization
- Pandas
- Numpy
- Jupyter Notebook
AI Integration
- Gemini API (chatbot and insights)
Development Tools
- Local servers (testing and UI development)
- CSV files (mock data generation and input)


Log in or sign up for Devpost to join the conversation.