使用基于电子健康记录数据训练的机器学习预测住院精神病治疗后的非自愿入院情况。

IF 5.9 2区 医学 Q1 PSYCHIATRY Psychological Medicine Pub Date : 2024-11-18 DOI:10.1017/S0033291724002642
Erik Perfalk, Jakob Grøhn Damgaard, Martin Bernstorff, Lasse Hansen, Andreas Aalkjær Danielsen, Søren Dinesen Østergaard
{"title":"使用基于电子健康记录数据训练的机器学习预测住院精神病治疗后的非自愿入院情况。","authors":"Erik Perfalk, Jakob Grøhn Damgaard, Martin Bernstorff, Lasse Hansen, Andreas Aalkjær Danielsen, Søren Dinesen Østergaard","doi":"10.1017/S0033291724002642","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>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).</p><p><strong>Methods: </strong>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.</p><p><strong>Results: </strong>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.</p><p><strong>Conclusion: </strong>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.</p>","PeriodicalId":20891,"journal":{"name":"Psychological Medicine","volume":" ","pages":"1-14"},"PeriodicalIF":5.9000,"publicationDate":"2024-11-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Predicting involuntary admission following inpatient psychiatric treatment using machine learning trained on electronic health record data.\",\"authors\":\"Erik Perfalk, Jakob Grøhn Damgaard, Martin Bernstorff, Lasse Hansen, Andreas Aalkjær Danielsen, Søren Dinesen Østergaard\",\"doi\":\"10.1017/S0033291724002642\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Background: </strong>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).</p><p><strong>Methods: </strong>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.</p><p><strong>Results: </strong>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.</p><p><strong>Conclusion: </strong>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.</p>\",\"PeriodicalId\":20891,\"journal\":{\"name\":\"Psychological Medicine\",\"volume\":\" \",\"pages\":\"1-14\"},\"PeriodicalIF\":5.9000,\"publicationDate\":\"2024-11-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Psychological Medicine\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.1017/S0033291724002642\",\"RegionNum\":2,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"PSYCHIATRY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Psychological Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1017/S0033291724002642","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"PSYCHIATRY","Score":null,"Total":0}
引用次数: 0

摘要

背景:精神病院的非自愿入院人数呈上升趋势。如果能识别出非自愿入院风险较高的患者,就有可能预防非自愿入院。我们的目的是开发并验证一个预测模型,利用电子健康记录(EHR)中的常规临床数据进行机器学习训练,预测在精神病服务系统中接受治疗的患者的非自愿入院情况:方法: 我们检索了 2013 年至 2021 年期间与丹麦中部地区精神病学服务机构有过接触的所有成年患者的电子病历数据。我们使用词频-反向文档频率和句子转换器从自由文本中提取了 694 个患者预测因子(包括诊断、用药和强制措施等)和 1134 个预测因子。在每次自愿住院病人出院时(预测时间),如果之前两年没有非自愿入院,我们就提前 180 天预测非自愿入院情况。我们在 85% 的数据集上训练了 XGBoost 和弹性网模型。在剩余的 15%数据上测试了接收者操作特征曲线下面积(AUROC)最大的模型:该模型在 17 968 名患者中的 50 634 名自愿出院的住院患者身上进行了训练。该队列包括 1672 名自愿出院的住院病人和一名非自愿入院的住院病人。训练阶段的最佳 XGBoost 模型和弹性网模型在测试阶段的 AUROC 分别为 0.84 和 0.83:结论:使用常规临床电子病历数据的机器学习模型可以准确预测非自愿入院。结论:利用常规临床电子病历数据建立的机器学习模型可以准确预测非自愿入院情况,如果将该模型作为临床决策支持工具加以实施,则可以为旨在降低非自愿入院风险的干预措施提供指导。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Predicting involuntary admission following inpatient psychiatric treatment using machine learning trained on electronic health record data.

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.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Psychological Medicine
Psychological Medicine 医学-精神病学
CiteScore
11.30
自引率
4.30%
发文量
711
审稿时长
3-6 weeks
期刊介绍: Now in its fifth decade of publication, Psychological Medicine is a leading international journal in the fields of psychiatry, related aspects of psychology and basic sciences. From 2014, there are 16 issues a year, each featuring original articles reporting key research being undertaken worldwide, together with shorter editorials by distinguished scholars and an important book review section. The journal''s success is clearly demonstrated by a consistently high impact factor.
期刊最新文献
Adverse psychiatric effects of psychedelic drugs: a systematic review of case reports. Charting brain GABA and glutamate levels across psychiatric disorders by quantitative analysis of 121 1H-MRS studies. Examining the mental health trajectories of children and adolescents: a cross-cohort analysis. Co-occurrence between mental disorders and physical diseases: a study of nationwide primary-care medical records. Association of cardiovascular-kidney-metabolic health and social connection with the risk of depression and anxiety.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1