How adrian-1bos/infomed works
Infomed accepts a patient’s medication list from Bubble, normalizes and matches medicines against a local ANVISA-derived catalog, enriches missing pharmacological data, and checks for interactions before returning a structured patient record. The product also documents inventory, schedules, medication history, and caregiver linking in Bubble, plus n8n/Telegram notifications. The graph shows relationships supported by excerpts or README statements; unsampled implementation details are omitted.
Main entry points: ui_tratamento.py Medication matching · ai_handler.py AI provider routing · app.py REST API · solidificados.json Medication catalog
Components 13
Patient experience
- Bubble patient and caregiver UI
API orchestration
- REST API
app.py
Clinical processing
- Medication matching
core/ui_tratamento.py - Clinical data enrichment
core/complementos.py - Interaction screening
core/incompativeis.py - AI provider routing
core/ia/ai_handler.py
Medication catalog
- Medication catalog
data/solidificados.json - ANVISA catalog conversion
core/tratamento_csv_json.py
Notifications
- n8n automation
Other components
- Google Gemini
- Groq
- ANVISA CSV
data/medicamentos.csv - Telegram
Connections 17
- Bubble patient and caregiver UI → REST API: submits medications
README.md - REST API → Medication matching: processes payload
README.md - Medication matching → Medication catalog: matches medicines
README.md - Medication matching → AI provider routing: resolves weak matches
core/ui_tratamento.py - Medication matching → Clinical data enrichment: requests enrichment
README.md - Medication matching → Interaction screening: requests screening
README.md - Clinical data enrichment → Medication catalog: reads and updates
README.md - Clinical data enrichment → AI provider routing: requests missing data
core/complementos.py - Interaction screening → Medication catalog: checks local data
README.md - Interaction screening → AI provider routing: audits interactions
core/incompativeis.py - AI provider routing → Google Gemini: requests generation
core/ia/ai_handler.py - AI provider routing → Groq: falls back to
core/ia/ai_handler.py - REST API → Bubble patient and caregiver UI: returns patient record
README.md - REST API → n8n automation: dispatches alerts
app.py - n8n automation → Telegram: sends messages
README.md - ANVISA CSV → ANVISA catalog conversion: provides source data
README.md - ANVISA catalog conversion → Medication catalog: builds catalog
core/tratamento_csv_json.py