Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
bshepp 
posted an update Feb 25
Post
241
Built an agentic Clinical Decision Support system powered by MedGemma 27B

Paste a patient case → get a full clinical decision support report with differential diagnoses, drug interaction checks (via real OpenFDA/RxNorm APIs), guideline recommendations from a 62-guideline RAG corpus, and automated care gap detection.

6-step agentic pipeline, all streaming in real time:

Parse free-text → structured patient data
Clinical reasoning → ranked differential diagnosis
Drug interaction check → real FDA database queries
Guideline retrieval → RAG over 14 medical specialties
Conflict detection → gaps between guidelines and patient care
Synthesis → comprehensive CDS report
Built with MedGemma 27B, FastAPI, ChromaDB, Next.js. No LangChain — custom orchestrator throughout.

🔗 Try it: https://demo.briansheppard.com
💻 Code: https://github.com/bshepp/clinical-decision-support-agent
🤗 Space: bshepp/cds-agent
In this post