MedicAId
AI health assistant on WhatsApp, integrated with a simulated Italian Electronic Health Record (FSE)
Built in <5 hours · hackathon · healthtech
Problem
Managing your own health — and that of elderly parents or children — is cognitively expensive: medications to remember, appointments to track, expiring prescriptions, test results to follow up on. For caregivers and chronic patients, the load is enormous, and the healthcare system doesn't help.
Solution
MedicAId brings a simulated FSE directly into WhatsApp — the app everyone already uses. No new app to install, no interface to learn: just write a message in natural language. The chatbot, powered by LLM APIs (OpenAI GPT + Google Gemini), replies in Italian and manages health data for the user and their family. The FSE integration is mocked for demo purposes — the architecture plugs into a real FSE API without structural changes.
Full stack — Django backend, Celery workers, WhatsApp webhook, LLM routing, caregiver role system — built and deployed end-to-end in under 5 hours.
Key Features
- Medication reminders — automatic alerts, snooze support ("remind me in an hour")
- Appointment management — weekly/monthly overview, first available slot with a specific doctor
- Prescription expiry alerts — proactive notifications before expiry
- Documents & test results — notifies new results, sends PDF on request
- Caregiver mode — secure access to family members' data with role verification via phone number
Architecture
The flow is fully asynchronous: incoming WhatsApp messages are queued via Celery and processed by AI workers without blocking the webhook. Cloudflare Tunnel exposes the service publicly without firewall configuration.
Access to health data is governed by the caller's phone number, verified against the FSE's authorized numbers list. Each role (owner, child, caregiver) has distinct permissions — unauthorized callers receive a polite but firm refusal.
Tech Stack
| Layer | Technology |
|---|---|
| Chatbot | WhatsApp Business API (Meta) |
| Backend | Python, Django, Celery, Redis |
| AI | OpenAI GPT + Google Gemini |
| Infrastructure | Docker, Cloudflare Tunnel |
| Security | Role-based access via FSE phone list |