Predicting clozapine initiation among patients with schizophrenia via machine learning trained on electronic health record data

BACKGROUND: Clozapine is the only medication with proven efficacy for treatment-resistant schizophrenia, yet many patients experience delays of several years before initiation. Our aim was to develop and validate a dynamic prediction model for clozapine initiation among patients with schizophrenia trained solely on electronic health record (EHR) data from routine clinical practice. STUDY DESIGN: EHR data from all adults (≥18 years) with a schizophrenia (ICD10: F20) or schizoaffective disorder (ICD10: F25) diagnosis who had been in contact with the Psychiatric Services of the Central Denmark Region between 1 January 2013 and 1 June 2024 were retrieved. 179 structured predictors were engineered (covering, e.g., diagnoses, medications, coercive measures) and 750 predictors derived from clinical notes. At every psychiatric hospital visit, we predicted if an incident clozapine prescription occurred within the next 365 days. XGBoost and logistic regression models were trained on 85% of the data with 5-fold stratified cross-validation. Performance was evaluated on the remaining 15% of the data (held out) using the area under the receiver operating characteristic curve (AUROC). STUDY RESULTS: The training/test set comprised of 194,234/35,527 hospital visits, distributed on 4928/878 unique patients. In the test set, the best XGBoost model achieved an AUROC of 0.81, sensitivity of 42%, positive predictive value of 23% at a 7.5% predicted positive rate. CONCLUSIONS: A dynamic prediction model based solely on EHR data predicts clozapine initiation with high discrimination. If implemented as a clinical decision support tool, this model may guide clinicians towards more timely initiation of clozapine treatment.

Authors

Institutions

Publication Details

Journal
Schizophrenia Research
Published
2026-09-11
DOI
https://doi.org/10.1016/j.schres.2026.08.029
Primary Topic
Machine Learning in Healthcare
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting clozapine initiation among patients with schizophrenia via machine learning trained on electronic health record data

Søren Dinesen Østergaard, Jakob Grøhn Damgaard, Andreas Aalkjær Danielsen, Erik Perfalk
Schizophrenia Research
Machine Learning in Healthcare
article

Predicting clozapine initiation among patients with schizophrenia via machine learning trained on electronic health record data

Søren Dinesen Østergaard, Jakob Grøhn Damgaard, Andreas Aalkjær Danielsen, Erik Perfalk
article en

Abstract

BACKGROUND: Clozapine is the only medication with proven efficacy for treatment-resistant schizophrenia, yet many patients experience delays of several years before initiation. Our aim was to develop and validate a dynamic prediction model for clozapine initiation among patients with schizophrenia trained solely on electronic health record (EHR) data from routine clinical practice. STUDY DESIGN: EHR data from all adults (≥18 years) with a schizophrenia (ICD10: F20) or schizoaffective disorder (ICD10: F25) diagnosis who had been in contact with the Psychiatric Services of the Central Denmark Region between 1 January 2013 and 1 June 2024 were retrieved. 179 structured predictors were engineered (covering, e.g., diagnoses, medications, coercive measures) and 750 predictors derived from clinical notes. At every psychiatric hospital visit, we predicted if an incident clozapine prescription occurred within the next 365 days. XGBoost and logistic regression models were trained on 85% of the data with 5-fold stratified cross-validation. Performance was evaluated on the remaining 15% of the data (held out) using the area under the receiver operating characteristic curve (AUROC). STUDY RESULTS: The training/test set comprised of 194,234/35,527 hospital visits, distributed on 4928/878 unique patients. In the test set, the best XGBoost model achieved an AUROC of 0.81, sensitivity of 42%, positive predictive value of 23% at a 7.5% predicted positive rate. CONCLUSIONS: A dynamic prediction model based solely on EHR data predicts clozapine initiation with high discrimination. If implemented as a clinical decision support tool, this model may guide clinicians towards more timely initiation of clozapine treatment.

Schizophrenia ResearchVol. 297
Aarhus University Hospital (DK)
Kræftens Bekæmpelse, Lundbeckfonden, Danmarks Frie Forskningsfond
Peace, Justice and strong institutions
Openalex Percentile: Top 9%
Machine Learning in Healthcare
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.