AI Decision Intelligence Layer for Ethiopia's Digital Health Ecosystem
# SmartRx AI π₯
## AI Decision Intelligence Layer for Ethiopia's Digital Health Ecosystem
### *From Data in Silos to Intelligence in Action*
> **Submitted to:** Ethiopian Artificial Intelligence Institute (EAII) AI Innovation Contest
> **Category:** Healthcare AI / Digital Health
> **Mission:** Improve medicine access, prevent stock-outs, detect disease outbreaks early, and empower both patients and health systems with AI.
---
## π― What is SmartRx AI?
SmartRx AI is an **AI-powered pharmacy intelligence platform** built specifically for Ethiopia. It sits as an intelligence layer over existing pharmacy infrastructure and delivers:
| Feature | Description |
|---|---|
| π· **Prescription AI** | Scan handwritten Amharic/English prescriptions β extract medicines β find nearest pharmacy with stock |
| πΊοΈ **Interactive Map** | Live map of all pharmacies with real-time stock health indicators (Leaflet.js + OpenStreetMap) |
| π **Demand Forecasting** | LSTM-based 7/14/30-day shortage prediction trained on 18 months of Ethiopian transaction data |
| π¦ **Outbreak Detection** | Autoencoder anomaly detection flags unusual demand spikes before they become crises |
| π **Smart Redistribution** | AI engine identifies overstockβstockout pairs and auto-generates transfer suggestions |
| π± **SMS Alerts** | Bilingual (Amharic + English) notifications via Africa's Talking |
| π **Offline-First** | Pharmacy staff can work without internet; sync when reconnected |
---
## ποΈ Architecture
```
Patient Input (Amharic voice/photo/text)
β
FastAPI/Flask REST API (44 endpoints)
β
AI Engine
βββ Prescription AI (Tesseract OCR + NLP extraction)
βββ LSTM Forecasting (GradientBoosting, 120 medicine models)
βββ Anomaly Detection (IsolationForest, outbreak signals)
β
PostgreSQL / SQLite DB (16 tables, 253K+ records)
β
Frontend Dashboard (Bootstrap + Chart.js + Leaflet.js)
β
SMS Notifications (Africa's Talking)
```
---
## π Quick Start
### Option 1 β One Command (Demo mode, no external deps) β¦