LLM drug interactions research shows general-purpose models are not reliable enough to be an interaction checker of record: they miss interactions, raise false alarms, and change answers between runs. An AI scribe or clinical copilot is safer when the LLM extracts and normalizes the medication list and a deterministic interaction engine, with sources clinicians can see, makes the call.
This post is for teams building ambient documentation and copilot products. It covers what the accuracy studies measured, what FDA and ONC expect as of November 2026, and a reference architecture. Nothing here is medical or treatment advice.
How accurate are LLMs at identifying drug interactions?
Results vary by model, task, prompt, and reference database. Some curated tests show high recall, one study of real hospital medication lists found low sensitivity, and specificity and consistency are weak in most of the work. No study we found supports a general-purpose LLM as the interaction check of record.
A widely cited comparison is Al-Ashwal and colleagues in Drug, Healthcare and Patient Safety (2023). It scored ChatGPT-3.5, ChatGPT-4, Bing AI, and Bard on 255 drug pairs against Micromedex and Drugs.com, counting minor and no interaction as negatives. Against Micromedex, ChatGPT-4 had a sensitivity of 0.915, a specificity of 0.519, and an accuracy of 0.592. Bing AI scored highest, at 0.788 accuracy, but that figure counts the 75 pairs it could not classify as negatives; excluding them dropped its accuracy to 0.722. Low specificity means many flags on pairs the reference rated minor or non-interacting, which in a product becomes noise clinicians learn to ignore.
Real patient lists look worse. Radha Krishnan and colleagues (British Journal of Clinical Pharmacology, 2024) gave ChatGPT-3.5 the demographics, diagnoses, and prescribed medicines of 120 hospitalized patients and compared its output with pharmacist review. Agreement was minimal (Cohen's kappa 0.077 to 0.143), answers changed with prompt wording, and the authors reported low sensitivity.
A smaller Cureus study by Juhi and colleagues (2023) asked the February 2023 free ChatGPT about 40 interacting pairs, graded by two pharmacologists. Asked whether each pair could be taken together, it gave one incorrect, 19 correct and conclusive, and 20 correct but inconclusive answers.
Lee and colleagues (Cureus, 2026) queried the free GPT-5 version of ChatGPT twice on each of 40 synthetic perioperative vignettes and graded it against Lexicomp. The authors report 76 of 80 identified, a 95% sensitivity; the four misses named at least one major interaction but omitted others or gave incomplete management advice. It reports sensitivity only, and its design is too different from the others to show newer models have closed the gap.
A 2025 medRxiv preprint by Blotske and colleagues, not yet peer reviewed, ran GPT-4o-mini, MedGemma-27B, and LLaMA3-70B nine times per prompt on 750 pharmacist-reviewed scenarios labeled with Lexicomp-style risk categories (C, monitor therapy; D, consider modification; X, avoid). When asked to judge whether a proposed severity category for a pair was correct, accuracy ranged from 50.1% to 61.0%. When asked to find the one interacting pair hidden in a list of four to six drugs, accuracy ranged from 68.6% to 80.0%. The authors note that LLMs "often produce confident but shifting outputs," and that rules-based software "has perfect performance in the identification of DDIs housed within their database when queried."
A study presented at ASHP's 2023 Midyear meeting found free ChatGPT answered 10 of 39 real drug questions satisfactorily, said Paxlovid and verapamil had no reported interaction, and cited non-existent references in all eight answers that included any.
| Study | Models | Reference | Headline result | What it means for a product |
|---|---|---|---|---|
| Al-Ashwal et al., 2023 (peer reviewed) | ChatGPT-3.5, ChatGPT-4, Bing AI, Bard | Micromedex, Drugs.com | ChatGPT-4 vs Micromedex: sensitivity 0.915, specificity 0.519, accuracy 0.592 | Many flags on minor or non-interacting pairs |
| Radha Krishnan et al., 2024 (peer reviewed) | ChatGPT-3.5 | Pharmacist review of 120 inpatients | Cohen's kappa 0.077 to 0.143; low sensitivity | Whole-patient lists are harder than curated pairs |
| Juhi et al., 2023 (peer reviewed) | ChatGPT (Feb 2023) | Two pharmacologists | 20 of 40 answers correct but inconclusive | Hedged answers a clinician cannot act on |
| Lee et al., 2026 (peer reviewed) | ChatGPT free version (GPT-5) | Lexicomp | 76 of 80 reported as identified (two runs of 40 vignettes) | High recall on a curated set; specificity not measured |
| Blotske et al., 2025 (preprint) | GPT-4o-mini, MedGemma-27B, LLaMA3-70B | LexiDrug, pharmacist reviewed | 50.1% to 61.0% on severity judgments; 68.6% to 80.0% on 4 to 6 drug lists | Outputs shift across repeated runs |
| ASHP Midyear 2023 (conference) | Free ChatGPT | Pharmacist answers | 10 of 39 answers satisfactory; fabricated references | Model-supplied citations cannot be trusted |
A separate research line uses LLMs to predict whether two drugs interact from curated datasets, such as the DDI-JUDGE method in Frontiers in Pharmacology (2025), evaluated on a DrugBank-derived network. That is discovery work, separate from checking one patient's list at the point of care.
Why a good benchmark score still isn't enough for a scribe
A benchmark checks answers against a reference on fixed cases. A production check must also repeat its answer tomorrow, cover what the patient actually takes, and show its source, and LLMs struggle with each.
With a nonzero temperature, the same medication list can come back with different flagged pairs, so a clinician who regenerates a note may see an alert appear and disappear. Lowering the temperature reduces that, but it still leaves you without a versioned knowledge base to audit. A model can also produce a plausible citation that does not exist, as the ASHP study found, and a pharmacy and therapeutics committee asking why an alert fired needs more than a model transcript. Labeling changes too: a knowledge base records which version produced an alert, while a hosted model can shift between versions you do not control.
Tool calling, where the LLM chooses when to query an interaction database, still leaves the model in charge of which drugs it sends and how it restates the answer. Make the call mandatory in code after every medication list change.
The LLM's job is the language work: turning a conversation into a structured medication list. Validate that extraction on your own encounters and keep the interaction decision out of its hands.
What FDA's clinical decision support guidance expects from an interaction check
FDA treats software that flags drug-drug interactions for clinicians as non-device CDS when it meets all four statutory criteria, and the fourth requires that the clinician can independently review the basis for the alert. A deterministic check with a visible source makes that much easier to show than an LLM's free-text answer.
The current document is FDA's Clinical Decision Support Software guidance, issued January 29, 2026. It supersedes a January 6, 2026 issuance, which replaced the September 2022 guidance many older posts still cite. Covington's summary covers the January changes, including enforcement discretion for software that offers a single recommendation and concerns about time-critical use that now appear under Criterion 4. As the guidance restates section 520(o)(1)(E) of the FD&C Act, a CDS software function is excluded from the device definition if it is:
- "not intended to acquire, process, or analyze a medical image or a signal from an in vitro diagnostic device or a pattern or signal from a signal acquisition system";
- "intended for the purpose of displaying, analyzing, or printing medical information about a patient or other medical information";
- "intended for the purpose of supporting or providing recommendations to a health care professional about prevention, diagnosis, or treatment of a disease or condition"; and
- "intended for the purpose of enabling such health care professional to independently review the basis for such recommendations that such software presents so that it is not the intent that such health care professional rely primarily on any of such recommendations to make a clinical diagnosis or treatment decision regarding an individual patient."
Among its non-device examples, the guidance lists a "software function that enables an HCP to enter multiple drug names and provides information regarding known drug-drug interactions," and software that identifies interactions from the current version of the drug's FDA labeling or other up-to-date, peer-reviewed sources combined with patient-specific information. A footnote adds that interaction alerts should link "directly to a trusted and up-to-date source," with DailyMed as the example for drug labeling.
For Criterion 4, FDA recommends stating the intended use, user, and population; identifying required inputs; describing in plain language how the logic was developed and validated; and showing patient-specific information with knowns and unknowns such as missing input data, in a way that "avoids information overload." It defines automation bias as "the propensity of humans to over-rely on a suggestion from an automated system."
An LLM that decides on its own which interactions to mention gives the clinician no view of its inputs, its sources, or what it left out. Whether your product is a device is a question for regulatory counsel; as an engineering matter, a check that returns the matched drugs, mechanism, severity, and source link supplies what Criterion 4 describes.
What ONC's certification criteria require, and what HTI-5 changes
Two ONC criteria touch interaction checking: §170.315(a)(4), the CPOE drug-drug and drug-allergy check, and §170.315(b)(11), decision support interventions. Both apply to certified health IT, so most standalone scribes sit outside them, but your EHR customers run (a)(4) checks and HTI-5 trims (b)(11) this December.
Under the current eCFR text, (a)(4) requires that before a CPOE medication order is completed and acted on, the system automatically indicates drug-drug and drug-allergy contraindications from the patient's medication and allergy lists, with adjustable severity levels. HTI-5 keeps (a)(4). A scribe alert at note review complements that order-time check and can catch drugs mentioned in conversation that never reached the chart.
The HTI-1 final rule (89 FR 1192, January 9, 2024) created (b)(11). Its current text lets a limited set of users activate interventions "in addition to drug-drug and drug-allergy contraindication checking," requires support for 13 source attributes for evidence-based interventions (including bibliographic citation, developer, funding source, and release and revision dates), and requires export of user feedback with the intervention, action taken, user, date, and location.
The HTI-5 final rule (91 FR 67916, published October 28, 2026, effective December 28, 2026) removes paragraphs (b)(11)(iv) through (vi): the source attribute requirements, their access and modification requirements, and risk management for predictive interventions. It drops the drug-drug and drug-allergy reference from (b)(11)(iii). ONC's response to comments says the retained Medications and Allergies and Intolerances data types still support interaction checks, and the feedback export requirement stays, redesignated as (b)(11)(ii)(B).
The certification floor for showing an alert's source is dropping while FDA's Criterion 4 language stays the same. We expect health system governance committees to keep asking where an alert came from, and per-alert source logging is easier to build in now than to retrofit.
A reference architecture: the LLM extracts, a deterministic engine decides
Let the generative model handle language and a deterministic service handle interaction logic. The LLM builds the medication list, normalization maps it to standard codes, the engine evaluates the whole list, and the LLM may restate results but never add, remove, or change an alert.
| Step | Component | Deterministic or generative | Failure mode | Mitigation |
|---|---|---|---|---|
| 1. Capture | Speech-to-text on encounter audio | Generative | Drug name misheard (sound-alike names) | Keep the transcript span for each extracted drug so the clinician can check it |
| 2. Extract | LLM pulls medication, dose, route, frequency, and status (taking, stopped, planned) | Generative | Missed OTC drugs and supplements; a stopped drug listed as active | Structured output schema with required status; prompt for OTC and supplement mentions; validate against clinician-reviewed encounters |
| 3. Normalize | RxNorm lookup, for example the NLM approximate match API | Deterministic | Wrong concept chosen; supplement with no RxNorm concept | Store RxCUI and match rank; confirm anything but a clear top match with the clinician; keep original text for unmapped items |
| 4. Merge | Combine with the chart medication list from the EHR | Deterministic | Duplicates, stale chart entries, or real duplicate therapy hidden by merging | Keep each medication statement with its source and dose; derive a separate ingredient set for screening |
| 5. Evaluate | Interaction API on the full list | Deterministic | Pair-by-pair checks miss additive effects across three or more drugs | Confirm the engine evaluates and has been tested on multi-drug combinations; pin and log the knowledge base version |
| 6. Present | Alert in the note review screen | Deterministic rendering, optional generative summary | Summary drops, softens, or contradicts an alert | Render engine alerts verbatim and keep severity and advice out of the summary |
| 7. Log | Audit record per alert | Deterministic | No way to answer why an alert fired | Store input list, RxCUIs, engine and prompt versions, alert ID, source link, and clinician action |
Normalization is easy to underbuild. The RxNorm approximate match endpoint (/REST/approximateTerm.json) returns candidates with an RxCUI, a score, and a rank. The score ranks lexical similarity within one result set and is not a probability that you picked the right drug, so decide with rank plus clinician confirmation instead of a score threshold. RxNorm is a drug nomenclature with no interaction content, and NLM lists dietary supplements as out of scope, although some herbal ingredients do have concepts. Plan for items that will not map. NLM also discontinued RxNav's drug interaction features on January 2, 2024, so the interaction source has to come from elsewhere; see our posts on NLM drug interaction API alternatives and the drug interaction API page.
Step 5 needs the full list, including supplements and OTC drugs the patient mentions aloud; our supplement drug interaction checker post covers that case. Evaluating the whole list matters when several drugs each add to the same effect, such as three drugs that each prolong the QT interval, which a check of one pair at a time can understate.
What an interaction API request and response should contain
The call should carry RxCUIs, dose and status, each medication's source, and enough metadata to rebuild the decision later. The example is illustrative: a generic shape with a fake encounter, not any vendor's actual schema.
Illustrative request (fake encounter, not a real patient; RxCUIs are real RxNorm ingredient concepts):
POST /v1/interactions/evaluate
{
"encounter_id": "TEST-ENC-123456",
"medications": [
{"rxcui": "36567", "name": "simvastatin", "dose": "40 mg", "route": "oral",
"frequency": "daily", "source": "chart", "status": "active"},
{"rxcui": "21212", "name": "clarithromycin", "dose": "500 mg", "route": "oral",
"frequency": "twice daily", "source": "transcript", "status": "planned",
"transcript_span": [1834, 1848], "match_rank": 1},
{"rxcui": "258326", "name": "St. John's wort extract", "dose": null,
"source": "transcript", "status": "active",
"transcript_span": [902, 917], "match_rank": 1}
]
}
Illustrative response:
{
"knowledge_version": "2026-11-01",
"status": "complete",
"alerts": [
{
"alert_id": "a-001",
"drugs": ["simvastatin", "clarithromycin"],
"severity": "contraindicated",
"mechanism": "Strong CYP3A4 inhibition raises simvastatin exposure",
"evidence": [{"type": "fda_label",
"url": "https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=8f55d5de-5a4f-4a39-8c84-c53976dd6af9"}]
}
],
"unmapped": [],
"unknowns": ["No dose captured for St. John's wort extract"]
}
knowledge_version records what the engine knew on the day of the encounter. evidence is the direct source link FDA's guidance asks for. unknowns and unmapped carry the missing or unexpected inputs the guidance wants shown, and status lets the UI tell "no interactions found" apart from an incomplete check or an engine error. The linked ZOCOR label lists strong CYP3A4 inhibitors as contraindicated and names clarithromycin among the macrolide examples. Severity scales differ across knowledge bases, so map yours to the UI deliberately, and check codes and clinical content against RxNorm and current labeling before reusing any of this.
Rules for what the LLM may do with an interaction result
The LLM can explain an alert in plain language next to the engine's own text. It should never decide whether an alert appears, change its severity, write management advice, or add an interaction the engine did not return. Enforce that in code as well as in the prompt.
- Render severity, mechanism, and evidence links straight from the engine response. Show any model-written explanation as secondary text.
- Check summaries against the engine output: every alert ID present, no drug pair that the engine did not return, and no severity or management wording. An ID check alone will not catch a summary that calls a contraindicated pair harmless, so if you cannot validate meaning, skip the summary.
- Log any interaction the model raises that the engine did not flag as a disagreement for clinical review, not an alert. Those logs expose normalization gaps.
- Route any free-chat question like "is this combination safe?" through the engine before the model answers.
- Version the prompt with the engine, and tie each alert record to both.
Build fixture lists with known interactions, including three-drug combinations, supplements, and items that will not map to RxNorm, and check in CI that every expected alert survives extraction, normalization, and presentation. Count false positives too.
Segment-specific risks deserve their own fixtures. Our posts on psychotropic drug interactions software and telehealth drug interaction checks cover the combinations those products need to test.
Where an interaction API fits in an AI clinical product
The interaction engine is a service the scribe calls after normalization. It should accept a full list, return structured alerts with mechanism and evidence, and expose a version you can log. We built Orisan Sage as that layer for AI clinical products. It evaluates a full medication list at once, including prescriptions, OTC drugs, and supplements, explains the pharmacological mechanism behind each interaction, links results to evidence drawn from FDA drug labeling, DailyMed, and our own clinical review, and is available over REST and GraphQL with usage-based pricing.
Whatever engine you choose, start with an inventory: every place a medication enters your product (transcript, chart import, patient intake), whether each path ends in an RxCUI or an explicit unmapped flag, and every place a model answers an interaction question on its own. Replace those model-only paths first. If you want a second opinion on the design, you can talk to us.