PCI or CABG? Bring the angiogram.
Upload an ICA or CCTA coronary angiogram report. It reads the findings and recommends PCI, CABG or medical therapy, citing the 2021 ACC/AHA/SCAI guideline statement behind each point.
Demo only. Not a medical device, and not for decisions about real patients.
Try it
Run the sample report, or upload an ICA or CCTA report of your own as a PDF (up to 10 MB; scans and phone photos saved as PDF work). It covers NSTEMI and other non-ST-elevation presentations and takes 15–30 seconds.
How it works
Three stops between the PDF and the recommendation.
Extract
Claude reads the PDF, scans included, into a validated Pydantic schema: segment-level stenosis, dominance, LV function, comorbidities and presentation.
Retrieve
Queries built from those findings search a ChromaDB index of the guideline text and its 135 graded recommendations, embedded with PubMedBERT.
Recommend
The model weighs the findings against the retrieved sections and returns a strategy, a confidence level, the factors on each side and verbatim citations.
Lesion severity is computed in code from the guideline's thresholds rather than left to the model, and every citation is quoted word for word with its Class of Recommendation and Level of Evidence, so each claim can be checked against the source.
Clinical background
For patients with disease in more than one coronary artery, choosing between a stent and bypass surgery is one of the bigger calls in cardiology.
- NSTEMI
- A heart attack in which one or more coronary arteries are partly blocked. Many of these patients have disease in several vessels and need a plan to restore blood flow.
- PCI
- A catheter procedure that opens the artery with a balloon and a stent. Less invasive with a faster recovery; favoured for simpler anatomy.
- CABG
- Open-heart bypass surgery that routes blood around the blockages. Generally preferred for complex multivessel or left main disease, especially with diabetes.
The guideline grades each recommendation by Class of Recommendation (how strongly it applies) and Level of Evidence (how good the data are). Applying it means weighing anatomy, diabetes, heart function and surgical risk together, which is what this tool lays out with the source text attached.
Stack
| Extraction and reasoning | Claude Haiku 5.5 with structured output |
|---|---|
| Orchestration | LangChain (retrievers, LCEL) |
| API | FastAPI, streaming progress to the page |
| Vector store | ChromaDB |
| Embeddings | PubMedBERT, NeuML/pubmedbert-base-embeddings |
| Guideline | 2021 ACC/AHA/SCAI Coronary Revascularization Guideline |
| Front end | Static HTML on Cloudflare Pages, Cloudflare Turnstile |