Demo project · Retrieval-augmented clinical reasoning

Evidence-grounded PCI vs. CABG recommendations from a cath report.

Upload a coronary angiogram (ICA) or CCTA report and get a revascularization recommendation with citations to the 2021 ACC/AHA/SCAI Coronary Revascularization Guidelines, in seconds.

This is a demonstration only. It is not a medical device and must not be used for real-world clinical decision making.

How it works

Every recommendation is traceable to a specific Class of Recommendation and Level of Evidence statement in the guideline text, not to the model's general knowledge.

1

Extract

Gemini reads the PDF and fills a 60+ field JSON schema: segment-level stenosis, dominance, LV function, comorbidities, clinical presentation.

2

Retrieve

Three queries (case summary, disease-specific, generic PCI-vs-CABG) hit a ChromaDB index of the guideline embedded with PubMedBERT, and the results are merged.

3

Recommend

The model reasons over the extracted findings and the retrieved sections, returning a strategy, confidence, factors favoring each approach, and verbatim citations.

Input ICA / CCTA report (PDF) ↓ Extract structured JSON (anatomy, stenosis, comorbidities) ↓ Retrieve PubMedBERT + ChromaDB → relevant guideline chunks ↓ Decide strategy, confidence, PCI vs CABG factors ↓ Output formatted recommendation with citations

Tech stack

Extraction & reasoning LLMGoogle Gemini 2.5 Flash
EmbeddingsPubMedBERT NeuML/pubmedbert-base-embeddings
Guideline source2021 ACC/AHA/SCAI Coronary Revascularization Guidelines

Clinical background

Choosing between PCI and CABG for multi-vessel coronary artery disease is one of the most consequential decisions in cardiology.

NSTEMI

A heart attack where one or more coronary arteries are partially blocked. Many patients have multi-vessel disease that needs a revascularization strategy.

PCI

Catheter-based balloon and stent procedure. Less invasive, faster recovery, favored for simpler anatomy.

CABG

Open-heart bypass surgery that reroutes flow around blockages. Generally preferred for complex multi-vessel or left main disease.

The guidelines rate specific anatomical and clinical scenarios by class of recommendation and level of evidence. Applying them correctly means integrating many variables at once, which is exactly the kind of task AI-assisted decision support is suited for.