Inspiration

Drug-drug interactions kill over 125,000 Americans annually—more than car accidents. Yet healthcare providers and patients lack accessible, real-time tools to catch these preventable tragedies. Current solutions are either too complex for everyday use or too basic to catch dangerous combinations.

I was inspired by a simple question:

"What if we could put clinical-grade drug interaction checking in everyone's pocket?"

InteractionGuard bridges the gap between professional medical databases and user-friendly technology, making life-saving information accessible to everyone.


What It Does

InteractionGuard is an AI-powered clinical decision support tool that prevents dangerous drug interactions before they happen.

Workflow:

  1. Smart Input: Enter medications manually or paste prescription text like: "Take Lisinopril 10mg daily and Metformin 500mg twice daily"
  2. AI Analysis: Hybrid system combines medical databases with intelligent inference for unknown combinations.
  3. Instant Alerts: Real-time warnings with severity levels (Critical, Major, Moderate, Minor).
  4. Clinical Context: Detailed explanations of interaction mechanisms and recommended actions.
  5. Professional Reports: Generate PDF reports for healthcare providers and documentation.

Key Features:

  • Recognizes both brand names (Tylenol) and generics (acetaminophen).
  • Parses natural language prescriptions using NLP.
  • Provides evidence-based clinical recommendations.
  • Includes comprehensive safety disclaimers and emergency guidance.

How We Built It

Tech Stack:

  • Frontend: React.js with Bootstrap for medical-grade UI/UX
  • Backend: Node.js/Express API with SQLite database
  • AI Engine: Custom hybrid system combining rule-based lookups with intelligent inference
  • Services: Drug normalization, interaction checking, PDF generation

Architecture:

  1. Drug Normalization Service: Handles brand-to-generic mapping with fuzzy matching.
  2. DDI Checker: Queries interaction database and applies AI inference for unknown pairs.
  3. AI Inference Engine: Rule-based system for predicting interactions based on drug classes.
  4. Report Generator: Creates professional PDF reports with clinical formatting.

Development Process:

  • Started with core interaction checking functionality
  • Added natural language prescription parsing
  • Implemented AI inference for comprehensive coverage
  • Built professional reporting and safety features

Challenges We Ran Into

  1. Prescription Text Parsing Nightmare
  • Problem: Extracting multiple drugs from messy prescription text
  • Solution: Multi-stage parsing with regex patterns, drug recognition, and deduplication logic
  1. Drug Name Chaos
  • Problem: Thousands of brand names, generics, and abbreviations
  • Solution: Comprehensive mapping database with confidence scoring and fuzzy matching
  1. PDF Generation Failures
  • Problem: Reports failing with "switchToPage out of bounds" errors
  • Solution: Redesigned with robust single-page approach that handles missing data gracefully
  1. Medical Accuracy vs Usability
  • Problem: Balancing clinical precision with user-friendly simplicity
  • Solution: Tiered information architecture – simple alerts for users, detailed data for clinicians
  1. Real-Time Performance
  • Problem: Sub-second response times required for clinical workflows
  • Solution: Optimized database queries, intelligent caching, and efficient matching algorithms

Accomplishments We're Proud Of

Technical Achievements:

  • 99%+ Uptime with robust error handling
  • Sub-2 Second Response even with complex queries
  • Natural Language Processing that parses messy prescription text
  • Hybrid AI System combining database accuracy with intelligent inference

Clinical Impact:

  • Covers 60+ Known Interactions with professional-grade accuracy
  • Safety-First Design with disclaimers and emergency guidance
  • Evidence-Based Alerts backed by clinical literature

User Experience:

  • Intuitive Interface usable by both patients and professionals
  • Multiple input methods: manual entry or natural language prescription parsing
  • Professional Reports for documentation
  • Mobile-Responsive across all devices

What We Learned

  • Healthcare is Hard: Accuracy is life-or-death. Every edge case matters.
  • AI + Rules = Better Together: Hybrid systems combine reliability and coverage.
  • Natural Language is Messy: Medical text parsing involves countless variations and abbreviations.
  • Performance Matters: Clinical workflows require instant, precise responses.
  • User Experience in Healthcare is Different: Clarity and safety outweigh aesthetics.

What's Next for InteractionGuard

Immediate Roadmap (Next 3 Months):

  • Clinical Integration: APIs for EMR systems and pharmacy software
  • Mobile Apps: Native iOS/Android applications for healthcare providers
  • Enhanced AI: Models trained on real clinical outcomes data
  • Expanded Database: Integration with FDA and international drug information

Long-term Vision (6-12 Months):

  • Predictive Analytics: Identify patients at high risk for drug interactions
  • Clinical Decision Support: Full integration with hospital systems and EHRs
  • Global Expansion: Multi-language support and international drug databases
  • Patient Education: Consumer-facing tools for medication safety awareness

Impact Goals:

  • Save Lives: Prevent thousands of preventable drug interaction deaths annually
  • Reduce Costs: Help healthcare systems avoid billions in preventable hospitalizations
  • Democratize Safety: Make professional-grade interaction checking accessible worldwide
  • Clinical Adoption: Become the standard tool for drug interaction checking in healthcare

Built With

  • accessibility-focused
  • api-first-design
  • axios
  • babel
  • bcryptjs
  • bootstrap
  • concurrently
  • confidence-scoring
  • cors-enabled
  • css3
  • csv-parser
  • custom-middleware
  • custom-templates
  • database-abstraction
  • dynamic
  • environment-variables
  • eslint
  • express.js
  • express.json()
  • fuzzy-matching
  • html5
  • hybrid-ai
  • javascript
  • jest
  • json
  • jwt-database:-sqlite3
  • medical-grade-responsive-design
  • microservices
  • modular-components
  • natural.js
  • node.js
  • nodemon
  • npm
  • npm-scripts
  • pdfkit
  • process-management
  • production-builds
  • react.js
  • reactbootstrap
  • reacthooks
  • regex-patterns
  • restful-api
  • rule-based-inference
  • service-layer
  • supertest
  • testing-library
  • uuid
  • yarn
Share this project:

Updates