Predicting involuntary admission following inpatient psychiatric treatment using machine learning trained on electronic health record data

被引:0
作者
Perfalk, Erik [1 ,2 ]
Damgaard, Jakob Grohn [1 ,2 ]
Bernstorff, Martin [1 ,2 ]
Hansen, Lasse [1 ,2 ]
Danielsen, Andreas Aalkjaer [1 ,2 ]
Ostergaard, Soren Dinesen [1 ,2 ]
机构
[1] Aarhus Univ Hosp Psychiat, Dept Affect Disorders, Aarhus, Denmark
[2] Aarhus Univ, Dept Clin Med, Aarhus, Denmark
关键词
artificial intelligence; involuntary admission; machine learning; prediction; psychiatry; RATING-SCALE; CLOZAPINE; RISK;
D O I
10.1017/S0033291724002642
中图分类号
B849 [应用心理学];
学科分类号
040203 ;
摘要
Background. Involuntary admissions to psychiatric hospitals are on the rise. If patients at elevated risk of involuntary admission could be identified, prevention may be possible. Our aim was to develop and validate a prediction model for involuntary admission of patients receiving care within a psychiatric service system using machine learning trained on routine clinical data from electronic health records (EHRs). Methods. EHR data from all adult patients who had been in contact with the Psychiatric Services of the Central Denmark Region between 2013 and 2021 were retrieved. We derived 694 patient predictors (covering e.g. diagnoses, medication, and coercive measures) and 1134 predictors from free text using term frequency-inverse document frequency and sentence transformers. At every voluntary inpatient discharge (prediction time), without an involuntary admission in the 2 years prior, we predicted involuntary admission 180 days ahead. XGBoost and elastic net models were trained on 85% of the dataset. The models with the highest area under the receiver operating characteristic curve (AUROC) were tested on the remaining 15% of the data. Results. The model was trained on 50 634 voluntary inpatient discharges among 17 968 patients. The cohort comprised of 1672 voluntary inpatient discharges followed by an involuntary admission. The best XGBoost and elastic net model from the training phase obtained an AUROC of 0.84 and 0.83, respectively, in the test phase. Conclusion. A machine learning model using routine clinical EHR data can accurately predict involuntary admission. If implemented as a clinical decision support tool, this model may guide interventions aimed at reducing the risk of involuntary admission.
引用
收藏
页码:4348 / 4361
页数:14
相关论文
共 47 条
  • [1] MANIA RATING-SCALE - SCALE CONSTRUCTION AND INTER-OBSERVER AGREEMENT
    BECH, P
    RAFAELSEN, OJ
    KRAMP, P
    BOLWIG, TG
    [J]. NEUROPHARMACOLOGY, 1978, 17 (06) : 430 - 431
  • [2] Digital medicine and the curse of dimensionality
    Berisha, Visar
    Krantsevich, Chelsea
    Hahn, P. Richard
    Hahn, Shira
    Dasarathy, Gautam
    Turaga, Pavan
    Liss, Julie
    [J]. NPJ DIGITAL MEDICINE, 2021, 4 (01)
  • [3] Bernstorff M., 2023, J Open Source Softw, V8, P5197, DOI DOI 10.21105/JOSS.05197
  • [4] Development and validation of a machine learning model for prediction of type 2 diabetes in patients with mental illness
    Bernstorff, Martin
    Hansen, Lasse
    Enevoldsen, Kenneth
    Damgaard, Jakob
    Haestrup, Frida
    Perfalk, Erik
    Danielsen, Andreas Aalkjaer
    Ostergaard, Soren Dinesen
    [J]. ACTA PSYCHIATRICA SCANDINAVICA, 2025, 151 (03) : 245 - 258
  • [5] Stability of diagnostic coding of psychiatric outpatient visits across the transition from the second to the third version of the Danish National Patient Registry
    Bernstorff, Martin
    Hansen, Lasse
    Perfalk, Erik
    Danielsen, Andreas Aalkjaer
    Ostergaard, Soren Dinesen
    [J]. ACTA PSYCHIATRICA SCANDINAVICA, 2022, 146 (03) : 272 - 283
  • [6] Machine Learning for Precision Psychiatry: Opportunities and Challenges
    Bzdok, Danilo
    Meyer-Lindenberg, Andreas
    [J]. BIOLOGICAL PSYCHIATRY-COGNITIVE NEUROSCIENCE AND NEUROIMAGING, 2018, 3 (03) : 223 - 230
  • [7] Involuntary psychiatric hospitalization and its relationship to psychopathology and aggression
    Canova Mosele, Pedro Henrique
    Figueira, Guillierme Chervenski
    Bertuol Filho, Amadeu Antonio
    Reis Ferreira de Lima, Jose Antonio
    Calegaro, Vitor Crestani
    [J]. PSYCHIATRY RESEARCH, 2018, 265 : 13 - 18
  • [8] Cerqueira V., 2019, ARXIV
  • [9] XGBoost: A Scalable Tree Boosting System
    Chen, Tianqi
    Guestrin, Carlos
    [J]. KDD'16: PROCEEDINGS OF THE 22ND ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2016, : 785 - 794
  • [10] A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models
    Christodoulou, Evangelia
    Ma, Jie
    Collins, Gary S.
    Steyerberg, Ewout W.
    Verbakel, Jan Y.
    Van Calster, Ben
    [J]. JOURNAL OF CLINICAL EPIDEMIOLOGY, 2019, 110 : 12 - 22