🚑 Why we built ContraRadar
Taking multiple medications is increasingly common—and it can be stressful to ensure that they won’t interact harmfully. With ContraRadar, you don’t have to spend hours combing through Google or WebMD. Simply enter your list of prescriptions and get instant, research-backed insights into any potential conflicts or precautions. Our goal is to give everyone the confidence and peace of mind that comes from knowing their medication regimen is safe.
Existing interaction checkers rely on static databases refreshed every few months.
Meanwhile PubMed publishes new case reports every day and the FDA issues boxed-warnings at unpredictable intervals.
We wanted live, trustworthy answers—with sources—at the speed of a paste-command.
💡 Inspiration
- Did you know that 49 % of adults aged 65 or over in the UK take five or more medications?
- Approximately £2.21 billion per year is the estimated cost of adverse drug reaction (ADR)-related hospital admissions to the NHS in England, based on a 2022 prospective study analyzing 1,187 admissions over one month
- Perplexity’s Sonar Deep Research API can read the internet and return structured JSON with citations.
🛠️ How we built it
| Layer | Stack | Key points |
|---|---|---|
| Front-end | Next.js 14, shadcn/ui, react-force-graph |
One page, dark-mode, edge-hover drawer, chat modal |
| Back-end | FastAPI, Python 3.11 | /interactions, /autocomplete, /explain |
| Data | Redis | 48 h TTL cache, :alert flags, O(1) scans |
| AI | Sonar Deep Research & Sonar Reasoning | JSON schema for graph; conversational endpoint for Q&A |
| Automation | Vercel Cron + GitHub Actions | Daily refresh sets :alert if new literature detected |
🏃♂️ What works now
- Paste any med list → <2 s graph with colour-coded risk edges.
- Click edge to see mechanism + PubMed/FDA links.
- Daily auto-refresh; brand-new literature triggers a “NEW” badge—no spam e-mails needed.
- Ask ContraRadar chat answers guideline questions with citations.
🚀 What’s next
- PDF discharge upload (Tesseract.js OCR → parser).
- FHIR
MedicationStatementexport for direct EHR ingests. - Slack bot for hospital pharmacists.
- Make the Ask ContraRadar more user friendly and robust
ContraRadar turns static drug databases into a live radar that never sleeps.
Built With
- fastapi
- nextjs
- python
- react
- redis
- typescript
- vercel
Log in or sign up for Devpost to join the conversation.