AI-powered multi-step agent that detects and prevents duplicate patient records in HIV Early Infant Diagnosis (EID) and Viral Load (VL) testing systems across healthcare facilities in Kenya.
# EID/VL Duplicate Detection Agent
**AI-Powered Healthcare Data Quality for Kenya**
View Demo β’ Documentation β’ Quick Start
---
### π Impact Metrics
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 99% Time Reduction β $195K Annual Savings β 95% Accuracy β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
**Detection Time:** 2 hours β 8 seconds
**Duplicates Found:** 131 of 1,010 records
**High-Risk Cases:** 3 requiring immediate action
**Facilities Analyzed:** 59 across Kenya
---
## π― Problem Statement
In Kenya's HIV testing programs, patients access Early Infant Diagnosis (EID) and Viral Load (VL) services at multiple facilities using different names and IDs, creating duplicate records that:
- π° **Waste $195,000+ annually** on redundant testing
- π **Compromise patient care** by breaking treatment continuity
- π **Distort PEPFAR/MOH reporting** with inaccurate metrics
- β±οΈ **Require 2+ hours** of manual review per case
**Current State:**
- 4.5% duplicate rate across records
- 56% of duplicates go undetected
- Manual detection catches only 44%
- No real-time prevention at registration
---
## π‘ Solution
A **multi-agent AI system** built with Elasticsearch Agent Builder that detects, analyzes, and prevents duplicate patient records through intelligent orchestration of specialized agents.
### Three Specialized Agents Working Together:
**π Detection Agent**
- Finds duplicates using ES|QL pattern matching
- Cross-facility analysis
- Demographic consistency checking
- Temporal anomaly detection
**βοΈ Risk Assessor Agent**
- Calculates risk scores (0-100)
- Classifies: CRITICAL/HIGH/MEDIUM/LOW
- Generates evidence packages
- Identifies fraud patterns
**π Action Recommender Agent**
- Provides specific next steps
- Facility intervention suggestions
- Policy recommendations
- Implementation guidance
---
## π Quick Start
### For Hackathon Judges (15 minutes)
Complete setup guide: **JUDGES_SETUP.md**
### β¦