Portability of a text mining algorithm for detecting adverse drug reactions in electronic health records across diverse patient groups in two Dutch hospitals

Publication date

2026-02-10

Authors

van de Burgt, Britt W.M.
van Dijck, Loes F.C.
Dullemond, Bjorn
Jessurun, Naomi T.
van Seyen, Minou
van Marum, Rob J.
van Wensen, Remco J.A.
Liu, Wai Yan
van der Linden, Carolien M.J.
Grouls, Rene J.E.

Editors

Advisors

Supervisors

Document Type

Article

Collections

Open Access logo

License

cc_by

Abstract

Adverse Drug Reactions (ADRs) pose a significant challenge in healthcare. While structured documentation of ADRs in electronic health records (EHRs) enables automated alerting, many ADRs are recorded as unstructured free-text, limiting detection. Text mining (TM) shows potential for extracting clinically relevant data from unstructured text. However, the portability of TM algorithms across different institutions and departments remains uncertain, due to variations in EHR structures and documentation practices. To enhance these general-purpose algorithms, evaluating their portability is essential for ensuring effective performance across diverse clinical settings. To evaluate the portability of a previously developed TM-based ADR identification algorithm by assessing its performance using EHRs from two different departments in two different hospitals. EHR free-text data from 62 hospitalized patients in the geriatric and orthopedic departments of two Dutch teaching hospitals were reviewed for ADRs via manual review and the TM algorithm. Performance was evaluated using F-score, sensitivity and positive predictive value (PPV), with comparisons across hospitals and departments. Manual review identified 359 unique ADRs. The TM algorithm detected 534 potential ADRs (pADRs), 286 of which overlapped with manual review, yielding an F-score of 0.64, sensitivity of 80% and PPV of 54%. Performance was consistent across hospitals and departments. Notably, 26 pADRs identified by the algorithm were clinically relevant yet missed in manual review. This study demonstrates portability of the TM algorithm by identifying pADRs across different hospitals and departments without adaptations. These findings support its broader implementation potential for ADR detection in diverse healthcare settings.

Keywords

Health Informatics

Citation

van de Burgt, B W M, van Dijck, L F C, Dullemond, B, Jessurun, N T, van Seyen, M, van Marum, R J, van Wensen, R J A, Liu, W Y, van der Linden, C M J, Grouls, R J E, Bouwman, R A, Korsten, E H M & Egberts, T C G 2026, 'Portability of a text mining algorithm for detecting adverse drug reactions in electronic health records across diverse patient groups in two Dutch hospitals', PLOS digital health, vol. 5, no. 2, e0001230. https://doi.org/10.1371/journal.pdig.0001230