HEALTH IT SYSTEMS PROJECT NAME- PHRELIS:ADVANCED MEDICAL INTELLIGENCE TEAM NAME-Apicalypse
DEPLOYED LINK-N.A 2-minute Demonstration Video link-https://drive.google.com/file/d/1Oei6iPnm21abbFYT2fWbSiRxrPO0FJ_f/view?usp=sharing PPT Link-https://drive.google.com/file/d/1wH63sMR4DIt5nEqgsThxg6ZV7LjT0ftA/view?usp=sharing
PHRELIS is an AI-powered hospital operating system that performs intelligent emergency triage, dynamically allocates beds, ventilators, medical staff, and ambulances, and predicts emergency inflow to prevent hospital overload.
Modern hospitals face:
- Emergency patient surges
- ICU bed & ventilator shortages
- Doctor and nurse overload
- Delayed ambulance dispatch
- Reactive instead of predictive operations
PHRELIS transforms hospital operations by enabling:
- AI-assisted emergency triage (ESI-based)
- Automated ICU / ER bed allocation
- Intelligent ventilator assignment
- Real-time doctor & staff allocation
- Smart ambulance dispatch
- Predictive emergency inflow analytics
- Live system-wide updates via WebSockets
- Accepts SpO₂, heart rate, and symptoms
- Automatically determines ESI level
- Assigns:
- ICU / ER bed
- Ventilator (critical cases)
- Attending doctor
- Nursing staff
- Generates AI-based clinical justification
- Doctors assigned based on:
- Availability
- Specialty relevance
- Current workload
- Nurses allocated using safe patient-to-staff ratios
- Prevents staff overload and burnout
- Updates assignments in real time
- Automatically dispatches ambulances for:
- Critical ESI-1 & ESI-2 patients
- Emergency referrals
- Tracks:
- Available ambulances
- Active deployments
- Live ambulance readiness indicators
- Open the Smart Triage Portal.
- Enter patient vitals:
- SpO₂ (%)
- Heart Rate (BPM)
- Symptoms (comma-separated)
- Click Assess & Admit Patient.
- PHRELIS automatically:
- Assigns the ESI triage level
- Allocates an ICU / ER bed
- Allocates a ventilator for critical patients
- Assigns an available doctor and nursing staff
- Dispatches an ambulance if required
- All updates appear instantly on the dashboard via real-time synchronization.
- Next.js (React)
- TypeScript
- Tailwind CSS
- WebSockets (real-time UI updates)
- FastAPI
- SQLAlchemy ORM
- SQLite / PostgreSQL
- LangChain + Google Gemini (AI reasoning)
- WebSockets
git clone https://github.com/your-username/phrelis-hospital-os.git cd phrelis-hospital-os
cd backend
python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
GOOGLE_API_KEY=your_google_gemini_api_key
uvicorn main:app --reload
cd frontend Install frontend dependencies: npm install
npm run dev






