Skip to content

midcha/Caladrius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caladrius - AI-Powered Medical Triage System

Devpost

Caladrius is a comprehensive AI-powered medical triage system that streamlines emergency department operations through intelligent patient assessment, priority-based queuing, and seamless medical record integration.

Video Demo

Watch Caladrius in Action

Caladrius Demo Video

Click the image above to watch our full system demonstration, showcasing the mobile app, triage client, and admin dashboard working together.

Demo Highlights:

  • Patient data collection via mobile app
  • AI-powered diagnostic questioning
  • Real-time triage priority assignment
  • Hospital staff dashboard management
  • Complete end-to-end workflow

Project Structure

This monorepo contains multiple applications and services:

Mobile Application

Triage Client System

Frontend (Next.js)

Backend (FastAPI + LangGraph)

Admin Dashboard

Patient-Doctor Interface

  • Path: patient-doctor/frontend
  • Type: Next.js application
  • Purpose: Doctor-patient communication interface
  • Status: Base Next.js setup (development in progress)

Quick Start

Prerequisites

  • Node.js 18+
  • Python 3.8+
  • OpenAI API Key
  • MongoDB URI (for admin dashboard)
  • AWS credentials (for file storage)

1. Mobile App Setup

cd mobile-app
npm install
npx expo start

2. Triage Backend Setup

cd triage-client/backend
pip install fastapi uvicorn pydantic langchain-openai langgraph python-dotenv pymongo

# Create .env file
echo "OPENAI_API_KEY=your_key_here" > .env
echo "OPENAI_MODEL=gpt-4o-mini" >> .env
echo "MONGODB_URI=your_mongodb_uri" >> .env

# Start server
python start_server.py

3. Triage Frontend Setup

Live Url: The triage client frontend is deployed at https://caladrius-ai.vercel.app/
Note: The functionality requires the backend to be running locally on localhost:8000

4. Admin Dashboard Setup

cd triage-admin/frontend
npm install

# Create .env.local
echo "MONGODB_URI=your_mongodb_uri" > .env.local

npm run dev

Key Features

AI-Powered Diagnosis

  • LangGraph Integration: langgraph_model_medical.py - Advanced AI diagnostic reasoning
  • Interactive Questioning: Dynamic follow-up questions based on medical history
  • Structured Output: JSON-formatted differential diagnoses with confidence scores

Medical Passport System

Priority-Based Triage

  • 5-Level System: Emergency (1) to Routine (5) classification
  • Real-time Updates: Live priority queue management
  • Clinical Decision Support: Evidence-based recommendations

Privacy & Security

  • HIPAA Considerations: Encrypted data transmission
  • Local Processing: Sensitive data processed locally when possible
  • Audit Trails: Complete interaction logging

API Endpoints

Triage Backend (localhost:8000)

  • POST /start - Initialize diagnosis session
  • POST /resume - Continue diagnostic conversation
  • POST /confirm - Confirm final diagnosis
  • GET /health - Health check
  • GET /example - API usage examples

Full API documentation: triage-client/backend/README.md

UI Components & Styling

Design System

  • Global Styles: globals.css - Medical-themed color palette
  • Component Modules: Modular CSS for each component
  • Glassmorphism: Modern medical interface aesthetic

Key UI Components

Data Models & Types

Core Types

  • Patient Data: types.ts - Comprehensive patient information structure
  • Medical Schema: schema.ts - Structured medical data definitions
  • Sample Data: sampleData.ts - Test data for development

Development Tools

Testing

  • API Tests: test_api.py - Backend API testing
  • Sample Data: Pre-configured test patients and scenarios

Configuration

  • ESLint: Consistent code formatting across all projects
  • TypeScript: Type safety for frontend applications
  • Environment: .env configuration for all services

Awards & Recognition

2nd Place Winner - Best Use of AI for Social Good at HackGT 12 (2025)

License & Disclaimer

Important: This system is for educational and research purposes only. It is not intended to replace professional medical advice, diagnosis, or treatment. Always consult qualified healthcare providers for medical concerns.

Contributing

This project was developed during HackGT 2025. For questions or contributions, please refer to the Devpost submission.


Built with care for better healthcare outcomes

About

HackGT12 Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •