βββ βββββββββββ ββββββ βββ ββββββββββββ βββββββββββββββββββ ββββββ ββββββββββ βββ
βββ ββββββββββββββββββββββ ββββββββββββ βββββββββββββββββββββββββββββββββββββββ ββββ
ββββββββββββββ βββββββββββ βββ ββββββββ βββ βββββββββββββββββββ βββββββ
ββββββββββββββ βββββββββββ βββ ββββββββ βββ βββββββββββββββββββ βββββββ
βββ ββββββββββββββ ββββββββββββββ βββ βββ βββ βββ ββββββ ββββββββββββββ βββ
βββ ββββββββββββββ ββββββββββββββ βββ βββ βββ βββ ββββββ βββ ββββββββββ βββ
ββββββ βββ
βββββββββββ
βββββββββββ
βββββββββββ
βββ ββββββ
βββ ββββββ
Next-Generation AI-Powered Medical Assistant for Healthcare Professionals
Revolutionizing clinical workflows with cutting-edge Large Language Models, Vector Search, and Real-time Intelligence
π― Google AI in Action Hackathon | β‘ Hack the Vibe Competition | π₯ Devpost Showcase
Live Demo β’ Documentation β’ Report Bug β’ Request Feature
- π Overview
- π― Core Features
- ποΈ Architecture
- Quick Start
- π Project Structure
- π Deployment
- π Hackathon Achievements
- π€ Contributing
- π License
HealthTrack AI is an intelligent clinical assistance platform that combines state-of-the-art AI with intuitive design to help healthcare professionals streamline their workflows. Built for the Google AI in Action Hackathon and Hack the Vibe competition, it demonstrates how modern AI can enhance clinical decision-making.
- 85% reduction in clinical documentation time
- Real-time AI analysis with Vertex AI and Gemini 2.0
- Similar case intelligence powered by MIMIC-IV dataset
- Enterprise-grade security with Firebase Authentication
- Firebase Google OAuth integration
- Role-based access control
- Session management with audit logging
- Color-coded risk visualization
- Real-time patient data updates
- Fuzzy search capabilities
- Mobile-responsive design
- Symptom Recognition: Automated ICD-10 code suggestions
- SOAP Note Generation: AI-generated structured documentation
- Real-time Validation: Against latest medical ontologies
- Powered by MIMIC-IV dataset (10,000+ patient records)
- BioBERT embeddings for semantic similarity
- MongoDB Atlas Vector Search for sub-second retrieval
- Treatment outcome insights from similar cases
HealthTrack AI implements a modern, cloud-native architecture:
- Frontend: Next.js 15.3.3, React 18, TypeScript, Tailwind CSS
- AI/ML: Google Vertex AI, Gemini 2.0 Flash, BioBERT embeddings
- Database: MongoDB Atlas with Vector Search
- Authentication: Firebase Auth
- Deployment: Google Cloud Platform, Docker
- Vertex AI Client with enterprise error handling
- Medical Prompt Engineering for clinical accuracy
- Vector Search Pipeline for similar case matching
- Real-time AI Workflows with ~2-5 second response times
Ensure you have the following installed:
- Node.js: v18.17.0 or higher (Download)
- npm: v9.0.0 or higher (comes with Node.js)
- Git: Latest version (Download)
git clone https://github.com/Zburgers/HealthTrack-AI.git
cd HealthTrack-AI# Install all dependencies (includes AI/ML packages)
npm install
# Verify installation
npm run typecheckCreate .env.local in the project root:
# === Core Application ===
NEXT_PUBLIC_APP_URL=http://localhost:9002
NODE_ENV=development
# === Firebase Configuration ===
NEXT_PUBLIC_FIREBASE_API_KEY=your_firebase_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project.appspot.com
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=123456789
NEXT_PUBLIC_FIREBASE_APP_ID=1:123456789:web:abcdef
# === Google Cloud / Vertex AI ===
GOOGLE_CLOUD_PROJECT_ID=your_gcp_project
GOOGLE_CLOUD_REGION=us-central1
GEMINI_API_KEY=your_gemini_api_key
VERTEX_AI_ENDPOINT_HOST=us-central1-aiplatform.googleapis.com
VERTEX_AI_PROJECT_ID=your_vertex_project
VERTEX_AI_LOCATION=us-central1
VERTEX_AI_ENDPOINT_ID=your_endpoint_id
# === MongoDB Atlas ===
MONGODB_URI=mongodb+srv://username:[email protected]/healthtrack
MONGODB_DB_NAME=healthtrack
ATLAS_VECTOR_SEARCH_INDEX_NAME=case_index
# === Optional: HuggingFace (for BioBERT) ===
HUGGINGFACE_API_KEY=your_hf_api_keyπ Pro Tip: Copy from
.env.local.exampleif provided and customize values.
# Initialize MongoDB collections and indexes
npm run db:setup
# Seed with sample data (optional)
npm run db:seed# Test Vertex AI connection
npm run ai:test
# Generate sample embeddings
npm run ai:embed-test# Start development server with Turbopack
npm run dev
# Alternative: Start with Genkit AI development tools
npm run genkit:devOpen http://localhost:9002 in your browser.
# Type checking
npm run typecheck
# Linting
npm run lint
# Build for production
npm run build
# Start production server
npm run start
# Development with Turbopack
npm run dev
HealthTrack AI follows a modular, scalable architecture optimized for enterprise development:
HealthTrack-AI/
βββ π docs/ # Documentation & guides
βββ π notebooks/ # ML research & experiments
βββ π public/ # Static assets
βββ π scripts/ # Database & deployment scripts
βββ π src/ # Main source code
β βββ π ai/ # AI/ML integration layer
β β βββ dev.ts # Development AI workflows
β β βββ genkit.ts # Google Genkit configuration
β β βββ π flows/ # AI workflow implementations
β βββ π app/ # Next.js App Router
β β βββ layout.tsx # Root layout
β β βββ page.tsx # Homepage
β β βββ π api/ # API routes
β β βββ π [pages]/ # Application pages
β βββ π components/ # React components
β βββ π lib/ # Core utilities
β β βββ firebase.ts # Firebase config
β β βββ mongodb.ts # Database queries
β β βββ vectorSearch.ts # Vector similarity search
β βββ π types/ # TypeScript definitions
β βββ π vertex-ai/ # Vertex AI integration
βββ π tests/ # Test suites
βββ π package.json # Dependencies & scripts
βββ π next.config.ts # Next.js configuration
βββ π Dockerfile # Container setup
βββ π README.md # Project documentation
- Core Domain: Clinical decision support and documentation
- Supporting Domains: Authentication, data storage, AI/ML
- Bounded Contexts: Clear separation between medical, technical, and user domains
- Presentation Layer: React components and Next.js pages
- Application Layer: Business logic and use cases
- Domain Layer: Medical entities and business rules
- Infrastructure Layer: External services (Vertex AI, MongoDB, Firebase)
// Example: Modular component design
interface ComponentProps {
// Props interface
}
export const MedicalComponent: React.FC<ComponentProps> = (props) => {
// Hooks for state management
// Business logic separation
// Render optimization
return <UI>{/* JSX */}</UI>;
};- Cloud Run: Containerized deployment with auto-scaling
- Firebase Authentication: User authentication and session management
- MongoDB Atlas: Managed database with Vector Search
- Vertex AI: Integrated AI/ML services
# Build the application
npm run build
# Deploy to Google Cloud Run
gcloud run deploy
# Health check (if available)
npm run health-checkHealthTrack AI was developed for the Google AI in Action Hackathon, showcasing practical applications of Google's AI technologies in healthcare.
Key Highlights:
- Healthcare & Medical AI category
- Vertex AI and Gemini 2.0 integration
- Real-world clinical workflow optimization
- 85% reduction in documentation time
Also featured at Hack the Vibe, demonstrating technical excellence and healthcare innovation.
Recognition:
- Modern UI/UX with medical design system
- Responsive design for clinical workflows
- Technical sophistication and real-world impact
We welcome contributions from healthcare professionals, developers, and researchers!
- Medical Professionals: Clinical feedback and workflow insights
- Developers: Code contributions, bug fixes, and new features
- Researchers: Data science and clinical validation studies
# Fork and clone the repository
git clone https://github.com/Zburgers/HealthTrack-AI.git
cd HealthTrack-AI
# Install dependencies
npm install
# Create feature branch
git checkout -b feature/your-feature
# Make changes and test
npm run typecheck
npm run lint
npm run build
# Submit pull request- All code must be TypeScript with proper typing
- Include tests for new features
- Medical features require clinical review
- Follow established code standards
HealthTrack AI is released under the MIT License.
MIT License
Copyright (c) 2025 HealthTrack AI Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
- MIMIC-IV dataset usage complies with PhysioNet Credentialed Health Data License
- Healthcare organizations should ensure compliance with local regulations
- Conduct appropriate clinical validation before deployment
- Maintain professional liability insurance coverage
HealthTrack AI represents the future of clinical decision support - where cutting-edge artificial intelligence meets compassionate healthcare.
Ready to transform healthcare with AI? We'd love to hear from you!
- πΌ Healthcare Partnerships: [email protected]
- π¬ Research Collaboration: [email protected]
- π» Technical Support: [email protected]
- π General Inquiries: [email protected]
- π¬ Discord: Zburgers
Together, we're building the future of intelligent healthcare.
Last updated: January 2025 | Version 1.0.0 | Built with β€οΈ for healthcare professionals worldwide