posted an update

Links

Added MCP tools for medication safety to the agent and also made it available as a standalone agent.

CheckMedicationInteractions Clinical decision support tool that checks for medication interactions, contraindications, and safety warnings based on patient's current medications, allergies, and medical conditions. Returns severity levels (contraindication/serious/moderate) with clinical recommendations from FDA drug labeling. CRITICAL for patient safety.
GetPatientMedications Retrieves comprehensive medication information for a patient from FHIR. Queries MedicationRequest (prescriptions), MedicationStatement (recorded medications), and MedicationDispense (dispensed medications). Returns detailed information including: - Medication name, dose, route, frequency - Start/end dates and prescriber - Current status (active/stopped/completed) - Dispensing information when available Optional parameters: include_stopped (include discontinued meds), include_historical (include completed meds) CRITICAL for medication reconciliation and clinical decision support.
CheckMedicationLabSafety Clinical decision support tool that checks medication safety based on laboratory values. Evaluates renal function (eGFR/CrCl) for dose adjustments, hepatic function (ALT/AST) for hepatotoxicity risk, electrolytes (K+, Na+, Mg2+, Ca2+) for abnormalities, and coagulation (INR) for anticoagulant safety. Provides FDA renal dosing tables, KDIGO guideline recommendations, and electrolyte monitoring guidance. CRITICAL for preventing adverse drug events from inappropriate dosing based on organ dysfunction.

Technical Core

  • FHIR client – reads Patient, MedicationStatement, AllergyIntolerance, Condition.
  • OpenFDA + RxNorm – real drug‑drug interaction data + cross‑reactivity patterns.
  • A2A routing – general medication tool vs. women’s health agent invoked by query domain.
  • Longitudinal context – patient selected once, history persists across both tools.
  • “What would change this recommendation” – shows missing data that would flip the decision.

Built With

  • Python 3.13, FastAPI, Uvicorn
  • MCP (FastMCP), FHIR (HAPI/any), OpenFDA, RxNorm
  • PromptOpinion (no‑code chat + RAG) – PDFs: ACOG, USPSTF, SMFM, ASRM, CDC MEC, NAMS

Log in or sign up for Devpost to join the conversation.