Skip to content
#software testing Review Open access

A Text-Mining Algorithm for Identifying Drug Pairs Potentially Involved in Prescribing Cascades: Development and Internal Validation Within the Prescribing Inappropriateness Assessment (PINA) Digital Tool.

Sep 2026 · Drug Safety · 0 citations
Medicine

TL;DR

An algorithm designed to identify drug pairs potentially compatible with PCs and evaluated its classification performance may represent a scalable and reproducible strategy for supporting structured medication review and facilitating the recognition and clinical evaluation of potential PCs.

Abstract

Background

Prescribing cascades (PCs) occur when an adverse drug reaction (ADR) is intentionally or unintentionally treated with an additional medication, potentially perpetuating inappropriate polypharmacy. Digital tools that systematically support the identification of potential PCs during medication review are lacking. Here, we describe the development of an algorithm designed to identify drug pairs potentially compatible with PCs and evaluate its classification performance.

Methods

The algorithm was developed as a component of the Prescribing INappropriateness Assessment (PINA) digital tool, a software platform designed to support clinicians in conducting medication reviews. The algorithm logic identifies potential PCs by detecting intersections between ADRs and therapeutic indications extracted from Italian Summaries of Product Characteristics (SmPCs) and encoded as Medical Dictionary for Regulatory Activities (MedDRA) terms using a natural language processing pipeline. Four algorithm configurations were tested, differing in the MedDRA semantic levels used for matching: (1) Preferred Terms (PTs) only; (2) PTs with semantic extension to High Level Terms (HLTs); (3) PTs with extension to Standardised MedDRA Queries (SMQs); and (4) PTs with combined HLT/SMQ extension. Performance was assessed against a reference standard comprising 69 literature-supported positive drug pairs and 138 randomly generated negative drug pairs in a 1:2 ratio. Sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), accuracy, F1 score, and Youden's index were calculated.

Results

All models demonstrated excellent specificity (≥ 99%). Sensitivity increased with semantic expansion: 50.7% for PT-only matching, 73.9% for PT+HLT, 68.1% for PT+SMQ, and 85.5% for PT+HLT/SMQ. The combined HLT/SMQ extension model achieved the highest overall performance, with an accuracy of 94.7%, a PPV of 98.3%, an NPV of 93.2%, an F1 score of 91.4, and a Youden's index of 84.8. False-positive rates remained minimal across all models.

Conclusions

The newly developed algorithm demonstrated high classification performance, particularly when PT-level matching was extended using both HLTs and SMQs. This MedDRA-driven approach based on regulatory data may represent a scalable and reproducible strategy for supporting structured medication review and facilitating the recognition and clinical evaluation of potential PCs.

Read PDF

Similar papers

Open access Aug 2026

Using Natural Language Processing to Identify Adverse Drug Events Characterized by Medication Replacement in Primary Care Electronic Medical Records: Algorithm and Validation Study

Effective detection of ADEs in clinical notes may benefit from NLP models that approximate the clinical reasoning of health care providers as models evolve.

Alan Katz, Abhishek Dhankar, Gillian Fransoo et al. · 0 citations
Open access Sep 2026

Evaluating a large language model (ChatGPT-5) for detecting potential drug–drug interactions in intensive care: a cross-sectional comparative study with a clinical decision support system

Although ChatGPT-5 demonstrated limited diagnostic performance and the ability to generate clinically interpretable explanations, its low specificity and limited agreement with a rule-based system highlight important safety concerns, these findings suggest that LLMs may serve as complementary tools rather than standalo...

Ilkay Ceylan, Serpil Ekin, Buket Özyaprak et al. · 0 citations
Review Open access Sep 2026

Development and Validation of a Two-Stage NLP System Combining Rule-Based Extraction and LLM-Based Classification for Deprescribing Recommendations in Discharge Summaries.

INTRODUCTION Polypharmacy in older adults is associated with increased risks of adverse drug events and functional decline. Discharge summaries often contain deprescribing recommendations, but these are frequently overlooked due to documentation complexity. OBJECTIVE The aim of this study was to develop and validate...

K. Fujita, Marion Matheson, B. Valecha et al. · 0 citations
Open access Aug 2026

A Human-in-the-Loop Large Language Model System Based on the Model Context Protocol for Differential Diagnosis from Electronic Medical Records and Literature

DDx-Finder is presented, an open-source framework that leverages Model Context Protocol (MCP) servers for direct EMR and literature access, enabling prompt-driven clinical state extraction and reliable case-report re- trieval via generating searching query by LLM, while addressing limitations related to resource demand...

H. Lim, H. Yi, J. Yoon et al. · 0 citations
Review Open access Jul 2026

Future promise, current clinical ambiguity: a systematic review of machine learning algorithm outputs predicting risk of cardiovascular disease

Abstract Objective To examine whether the outputs of machine learning algorithms designed to predict risk of cardiovascular disease (CVD) address known deficiencies of the Framingham Risk Score (FRS) and improve risk estimates. Methods For this critical review, Medline, Embase and IEEE were searched from inception to 1...

S. Phillips, Han Han · 1 citation
Open access Sep 2026

Real-world drug use in ATC and ICD-10: an expert-curated drug-diagnosis resource based on UK primary care and Danish hospitalization electronic health records

This resource shows that the vast majority of significantly associated drugs and diagnoses in healthcare records are not due to direct treatment of the diagnosis, and demonstrates the importance of accounting for systematic differences among annotators when working with real-world data.

I. Louloudis, H. Currant, C. Ytsma et al. · 0 citations

Related blog posts

MIT News · Artificial Intelligence Oct 2, 2026

Documenting the tech worker movement

Writing as a participant and researcher, PhD student JS Tan SM ’22 has co-authored a new book about the rise of tech worker protests and the employer backlash that followed.

GPT-Lab Sep 23, 2026

Requirements Don’t Live in Isolation: What We’re Exploring with Req-Space

Requirements in large systems rarely exist in isolation. Their meaning depends on the wider project context - other requirements, policies, decisions, tests, and implementation details. That becomes especially important when AI is used for review, because spotting a possible conflict or gap is only the beginning. ReqSpace explores how AI, visualisation, and connected project context can help reviewers understand those findings, trace the relationships behind them, and focus on the questions that…

GPT-Lab Sep 17, 2026

Beyond Prompt Engineering: The Role of Tacit Knowledge in Software Engineering

AI is making software generation faster, but speed does not remove the need for expertise. As more work is delegated to AI, tacit knowledge may become one of the most important human advantages in software engineering. The post Beyond Prompt Engineering: The Role of Tacit Knowledge in Software Engineering appeared first on GPT-Lab.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.