Development of phenotype algorithms for the detection of adverse events in electronic health record data: a multicentre study
Clinical Snapshot
PICO Framework
| P — Population | Multidisciplinary expert teams from 10 German university hospital sites participating in the German Medical Informatics Initiative (MII), developing algorithms applicable to patients with structured electronic health record (EHR) data across 39 MII sites |
| I — Intervention | Development of literature- and consensus-based phenotype algorithms using structured EHR data categories (ICD-10, ATC, PZN, LOINC, OPS codes) to detect adverse drug events (ADEs) or ADE-proxies |
| C — Comparator | No direct comparator; algorithms compared internally by data category composition and against existing published phenotype algorithms where available |
| O — Outcomes | Number and coverage of phenotype algorithms developed for adverse events; data categories utilised; semantic modellability within the TOP Framework; readiness for multicentre implementation and future empirical validation |
Bottom Line
This multicentre methodological study from the German Medical Informatics Initiative presents a substantial library of 82 phenotype algorithms covering 48 adverse drug events, developed through structured literature review and multidisciplinary expert consensus across 10 university hospital sites. The algorithms use standardised coding systems (ICD-10, ATC, LOINC, OPS, PZN) and are publicly available via the TOP Framework, representing a meaningful contribution to pharmacoepidemiological infrastructure. The work is transparent, scalable, and methodologically sound as a development exercise. However, clinicians and researchers must recognise a critical limitation: no empirical validation has been performed. Sensitivity, specificity, and predictive values are entirely unknown. The algorithms rely exclusively on structured EHR data, excluding free-text clinical documentation — a major repository of adverse event information. German-specific coding elements also limit direct international applicability. For Australian practice, adaptation to ICD-10-AM and PBS coding would be required before any implementation. This paper should be regarded as a necessary first step in a multi-stage validation programme, not a ready-to-deploy clinical tool. Senior clinicians and health informaticians should monitor the forthcoming validation studies before considering adoption.
Key Findings
P Value: Not reported
Effect Size: Not applicable — no empirical performance data reported; this is a development study
Primary Outcome: 82 phenotype algorithms developed for 48 adverse events using structured EHR data; 31 AEs covered exclusively by newly developed algorithms, 17 AEs by at least one modified existing algorithm
Nnt Or Sensitivity: Not reported — sensitivity, specificity, PPV, and NPV are absent; empirical validation is planned as a subsequent study phase
Confidence Interval: Not reported
Clinical Application
High feasibility for implementation within the German MII infrastructure given the TOP Framework's multi-format export capability and the institutional commitment of 39 sites. Feasibility in other health systems requires local adaptation of German-specific codes (PZN, OPS) and validation against local EHR data structures Direct applicability to Australian practice is limited at this stage. Australian hospitals use ICD-10-AM (Australian Modification) rather than the German ICD-10-GM, and medication coding differs substantially (PBS item codes rather than PZN). LOINC is increasingly used in Australian pathology, providing some alignment. The ACSQHC and Australian Commission on Safety and Quality in Health Care have active programs in ADE surveillance, and the conceptual framework of EHR-based phenotype algorithms is highly relevant to Australian digital health initiatives (My Health Record, ADHA). However, Australian implementation would require: (1) adaptation of ICD-10-AM codes, (2) replacement of PZN with PBS/AMT codes, (3) local empirical validation. The TGA's pharmacovigilance program could benefit from validated versions of such algorithms. RACGP and SHPA members involved in polypharmacy management would find the underlying AE taxonomy clinically relevant. Patients with structured EHR data in hospital settings where ICD-10, ATC, LOINC, and procedure coding are routinely used; primarily applicable to polypharmacy patients at risk of adverse drug events in the German MII context
Abstract
OBJECTIVES: To develop phenotype algorithms for the detection of adverse events (AEs) or AE-proxies in electronic health records (EHRs), accounting for varying data availability. DESIGN: Multicentre study conducted as part of the Use Case POLAR_MI (POLypharmacy, drug interActions, Risks) of the German Medical Informatics Initiative (MII). SETTING: Germany. PARTICIPANTS: Multidisciplinary teams from 10 German university sites within the MII. INTERVENTIONS: Not applicable. MAIN OUTCOME MEASURES: Literature- and consensus-based development and operationalisation of AE algorithms using structured EHR data, including a standardised, multicentre expert review process. Data categories used: International Classification of Diseases, 10th Revision (ICD-10) codes for diagnoses; Anatomical Therapeutic Chemical (ATC) codes and 'Pharmazentralnummern' (PZN; German eight-digit identification code for pharmaceutical products) for medications (used in the treatment of AEs); Logical Observation Identifiers Names and Codes (LOINC) for laboratory values and medical findings; and 'Operationen- und Prozedurenschlüssel' (OPS; German procedure classification) codes for medical and surgical procedures. RESULTS: We developed 82 algorithms for 48 AEs. Algorithms for the same AE varied by data categories or code selections. At the AE level, 31 AEs were covered exclusively by newly developed algorithms, and 17 AEs by at least one modified algorithm.Overall, 52 algorithms were based on a single data category, while 30 required multiple categories. ICD-10 codes were most commonly used (n=65 AE algorithms), followed by LOINC (n=27), ATC codes (n=18), OPS codes (n=11) and PZN (n=2). All phenotype algorithms were semantically modelled and can be executed using the publicly available Terminology- and Ontology-based Phenotyping (TOP) Framework, which supports export in various formats. CONCLUSION: We present a peer-reviewed set of algorithms for a large number of AEs, which can be implemented in structured routine electronic data sources and (pending validation studies) may support pharmacoepidemiologic research. The algorithms will be implementable across all 39 participating sites of the German MII. As a next step, we will empirically validate the algorithms against all information (including free text) contained in EHRs. TRIAL REGISTRATION: Not applicable.
References
- 1.Redeker, L., Haerdtlein, A., Wermund, A. M., Mussawy, B., Rottenkolber, M., Coenen, M., Dürr, P., Federbusch, M., Jüttner, C. P., Schuster, A. K., Seidling, H. M., Uciteli, A., Beger, C., Neumann, D., Loeffler, M., Dreischulte, T., & Schmiedl, S. (2026). Development of phenotype algorithms for the detection of adverse events in electronic health record data: a multicentre study. BMJ Open. https://doi.org/10.1136/bmjopen-2025-111175
Related Research
CPT: pharmacometrics & systems pharmacology
Structured Schemas for Provenance-Rich, LLM-Assisted QSP Model Calibration
2 Aug 2026
Journal of pharmacokinetics and pharmacodynamics
Diffusion models for virtual populations and pharmacometric simulations
1 Aug 2026
Journal of chemical information and modeling
HyperDC: A Non-Uniform Hypergraph Framework for Dual- and Higher-Order Drug Combination Recommendation Across Diverse Complex Diseases
29 July 2026
This content is for educational purposes for healthcare professionals only and does not constitute clinical advice. Clinical decisions should be based on individual patient assessment, current guidelines, and appropriate specialist consultation. Editorial Standards · Privacy Policy · Terms of Service