b7b29ee0331cd926f02497b268382763b0447c64
ICU Patient Display Management System
A comprehensive hospital ICU patient display and monitoring management system. This platform manages patient assignments to ICU beds and rooms, and communicates updates in real-time to ESP32-powered e-paper / LCD bedside displays.
🏗 System Architecture
The project consists of four main components:
-
Backend (
/backend):- FastAPI / Python asynchronous RESTful API & WebSocket service.
- MySQL database with SQLAlchemy / aiomysql ORM.
- JWT authentication and role-based access control.
- Device hash verification and real-time state synchronization for ESP32 displays.
-
Frontend (
/frontend):- Next.js (React / TypeScript) web application.
- Interactive dashboard for ICU nurses, doctors, and hospital administrators.
- Bed & room assignment, patient status updates, and display management.
-
ESP32 Firmware (
/esp32):- Embedded C++ firmware for ESP32 controllers driving bedside displays.
- Real-time display updates via HTTP polling or WebSocket triggers.
-
Infrastructure (
docker-compose.yml):- Containerized deployment for MySQL 8.0, Backend, Frontend, and Adminer.
🚀 Quick Start with Docker
-
Clone the repository:
git clone https://gitea.aiindia.ai/Atharv_1705/ICU_Display_Management.git cd ICU_Display_Management -
Configure environment variables:
cp .env.example .env # Edit .env with your specific credentials and network IPs -
Start all services:
docker-compose up -d --build -
Access the services:
- Frontend UI: http://localhost:3000
- Backend API Docs: http://localhost:8000/docs
- Adminer (Database GUI): http://localhost:8080
🛠 Local Development Setup
Backend
cd backend
python -m venv venv
# On Windows:
.\venv\Scripts\activate
# On Linux/macOS:
source venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000
Frontend
cd frontend
pnpm install # or npm install
pnpm dev # or npm run dev
📄 License
Internal project for ICU Patient Display Management.
Languages
C
64.1%
TypeScript
20.9%
Python
10%
C++
3.6%
CSS
1.1%
Other
0.3%