Evidence Hub

MediLink: Safer Respiratory Triage Using Retrieval-Augmented Generation and Rule-Based Safety Gates

Jiayi Zheng, Surya Teja Nulu, Meryem Hassan Rafiq, Anand Ashika, Aram Bahrini

Systems and Information Engineering Design Symposium, 2026

Abstract

Large language models are increasingly used by patients seeking guidance for acute symptoms, particularly common respiratory complaints. However, unconstrained large language models can generate inaccurate or unsafe recommendations, particularly in triage settings where failure to recognize emergency symptoms may delay urgent care. This paper presents MediLink, a proof-of-concept respiratory triage framework that combines a deterministic Safety Gate with a retrieval-augmented generation pipeline grounded in guidance from the Centers for Disease Control and Prevention. The Safety Gate scans user input for red-flag symptoms and returns an immediate escalation message without invoking the language model, while the retrieval-augmented generation layer retrieves relevant Centers for Disease Control and Prevention guidance and injects it into the prompt for non-emergency cases. MediLink is evaluated on a synthetic dataset of 50 first-person patient cases across four conditions: Baseline, Retrieval-Augmented Generation Only, Safety Gate Only, and the full MediLink system. The evaluation examines emergency interception, false alarms, and response quality using human ratings and weighted Cohen’s kappa. Results show that the Safety Gate consistently intercepts direct emergency descriptions, while indirect phrasing exposes the limitations of lexical rules; the retrieval-augmented generation module improves clarity while maintaining comparable actionability. These findings support the…

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free