AI-powered emergency health record platform for Africa | #BuildQuik Challenge | FastAPI · QuikDB · Groq
# MediTrace AI 🏥
> **AI-powered emergency health record platform for Africa**
> Built for the #BuildQuik Challenge · May 2026
**Live Demo · API Docs · #BuildQuik**
---
## 🚨 The Problem
Nigerian patients **lose paper records**. Hospitals **cannot share medical history** across facilities. Emergencies become dangerous because critical information — blood type, allergies, active medications — is unavailable when it matters most.
> *"Every year, preventable deaths occur in African emergency rooms because a doctor didn't know the patient was allergic to penicillin."*
**MediTrace AI solves this.**
---
## ✨ What It Does
MediTrace AI is a national emergency health record platform where patients, doctors, and hospitals share **one single source of medical truth** — surfaced instantly via QR code when seconds count.
| Feature | Description |
|---|---|
| 🩸 **Emergency Profile** | Blood type, genotype, allergies — always accessible |
| 💊 **Prescriptions** | Active medications with drug interaction warnings |
| 💉 **Vaccination History** | Full immunisation record with next-due dates |
| 🔬 **Lab Results** | Test history with abnormal result flagging |
| 🤖 **AI Clinical Summary** | Groq Llama 3.3 generates a clinical brief in seconds |
| 📱 **QR Emergency Card** | Scan → instant profile. No login. No friction. |
| 👨⚕️ **Doctor Access Panel** | Role-based access for medical professionals |
| 📊 **Audit Logs** | Every access tracked for accountability |
---
## 🎬 Demo Flow
```
1. Patient registers → builds health profile (blood type, allergies, medications)
2. Doctor logs diagnosis, prescriptions, lab results
3. AI generates clinical summary with drug interaction warnings
4. Patient receives a unique QR code card
5. Emergency → nurse scans QR → INSTANT full medical history
No login. No app. No friction.
```
---
## 🛠 Tech Stack
```
Backend → FastAPI (Python 3.11)
Database → PostgreSQL via Supabase
AI Engine → Groq API · Llama 3.3 70B Versati …