Julia Sarty, Eleanor A Fitzpatrick, Majid Taghavi, Peter T VanBerkel, Katrina F Hurley
{"title":"机器学习识别属性,预测没有在儿科急诊科看到的患者离开。","authors":"Julia Sarty, Eleanor A Fitzpatrick, Majid Taghavi, Peter T VanBerkel, Katrina F Hurley","doi":"10.1007/s43678-023-00545-8","DOIUrl":null,"url":null,"abstract":"<p><strong>Purpose: </strong>To characterize patients who left without being seen (LWBS) from a Canadian pediatric Emergency Department (ED) and create predictive models using machine learning to identify key attributes associated with LWBS.</p><p><strong>Methods: </strong>We analyzed administrative ED data from April 1, 2017, to March 31, 2020, from IWK Health ED in Halifax, NS. Variables included: visit disposition; Canadian Triage Acuity Scale (CTAS); triage month, week, day, hour, minute, and day of the week; sex; age; postal code; access to primary care provider; visit payor; referral source; arrival by ambulance; main problem (ICD10); length of stay in minutes; driving distance in minutes; and ED patient load. The data were randomly divided into training (80%) and test datasets (20%). Five supervised machine learning binary classification algorithms were implemented to train models to predict LWBS patients. We balanced the dataset using Synthetic Minority Oversampling Technique (SMOTE) and used grid search for hyperparameter tuning of our models. Model evaluation was made using sensitivity and recall on the test dataset.</p><p><strong>Results: </strong>The dataset included 101,266 ED visits where 2009 (2%) records were excluded and 5800 LWBS (5.7%). The highest-performing machine learning model with 16 patient attributes was XGBoost which was able to identify LWBS patients with 95% recall and 87% sensitivity. The most influential attributes in this model were ED patient load, triage hour, driving minutes from home address to ED, length of stay (minutes since triage), and age.</p><p><strong>Conclusion: </strong>Our analysis showed that machine learning models can be used on administrative data to predict patients who LWBS in a Canadian pediatric ED. From 16 variables, we identified the five most influential model attributes. System-level interventions to improve patient flow have shown promise for reducing LWBS in some centres. Predicting patients likely to LWBS raises the possibility of individual patient-level interventions to mitigate LWBS.</p>","PeriodicalId":55286,"journal":{"name":"Canadian Journal of Emergency Medicine","volume":"25 8","pages":"689-694"},"PeriodicalIF":2.0000,"publicationDate":"2023-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Machine learning to identify attributes that predict patients who leave without being seen in a pediatric emergency department.\",\"authors\":\"Julia Sarty, Eleanor A Fitzpatrick, Majid Taghavi, Peter T VanBerkel, Katrina F Hurley\",\"doi\":\"10.1007/s43678-023-00545-8\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Purpose: </strong>To characterize patients who left without being seen (LWBS) from a Canadian pediatric Emergency Department (ED) and create predictive models using machine learning to identify key attributes associated with LWBS.</p><p><strong>Methods: </strong>We analyzed administrative ED data from April 1, 2017, to March 31, 2020, from IWK Health ED in Halifax, NS. Variables included: visit disposition; Canadian Triage Acuity Scale (CTAS); triage month, week, day, hour, minute, and day of the week; sex; age; postal code; access to primary care provider; visit payor; referral source; arrival by ambulance; main problem (ICD10); length of stay in minutes; driving distance in minutes; and ED patient load. The data were randomly divided into training (80%) and test datasets (20%). Five supervised machine learning binary classification algorithms were implemented to train models to predict LWBS patients. We balanced the dataset using Synthetic Minority Oversampling Technique (SMOTE) and used grid search for hyperparameter tuning of our models. Model evaluation was made using sensitivity and recall on the test dataset.</p><p><strong>Results: </strong>The dataset included 101,266 ED visits where 2009 (2%) records were excluded and 5800 LWBS (5.7%). The highest-performing machine learning model with 16 patient attributes was XGBoost which was able to identify LWBS patients with 95% recall and 87% sensitivity. The most influential attributes in this model were ED patient load, triage hour, driving minutes from home address to ED, length of stay (minutes since triage), and age.</p><p><strong>Conclusion: </strong>Our analysis showed that machine learning models can be used on administrative data to predict patients who LWBS in a Canadian pediatric ED. From 16 variables, we identified the five most influential model attributes. System-level interventions to improve patient flow have shown promise for reducing LWBS in some centres. Predicting patients likely to LWBS raises the possibility of individual patient-level interventions to mitigate LWBS.</p>\",\"PeriodicalId\":55286,\"journal\":{\"name\":\"Canadian Journal of Emergency Medicine\",\"volume\":\"25 8\",\"pages\":\"689-694\"},\"PeriodicalIF\":2.0000,\"publicationDate\":\"2023-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Canadian Journal of Emergency Medicine\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.1007/s43678-023-00545-8\",\"RegionNum\":4,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"EMERGENCY MEDICINE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Canadian Journal of Emergency Medicine","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1007/s43678-023-00545-8","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"EMERGENCY MEDICINE","Score":null,"Total":0}
引用次数: 0
摘要
目的:描述加拿大儿科急诊科(ED)的无诊离开(LWBS)患者的特征,并使用机器学习创建预测模型,以识别与LWBS相关的关键属性。方法:我们分析了2017年4月1日至2020年3月31日来自哈利法克斯IWK Health ED的行政ED数据。变量包括:访问处置;加拿大分诊敏锐度量表(CTAS);分类月、周、日、时、分、日;性;年龄;邮政编码;获得初级保健提供者的服务;访问付款人;推荐来源;救护车到达;主要问题(ICD10);停留时间(以分钟为单位);行车距离(分钟);和急诊科的病人负荷。数据随机分为训练数据集(80%)和测试数据集(20%)。采用五种监督式机器学习二分类算法训练模型预测LWBS患者。我们使用合成少数派过采样技术(SMOTE)平衡数据集,并使用网格搜索进行模型的超参数调整。利用灵敏度和召回率对测试数据集进行模型评价。结果:该数据集包括101,266例ED就诊,其中2009年(2%)的记录被排除,5800例LWBS(5.7%)的记录被排除。具有16个患者属性的表现最好的机器学习模型是XGBoost,它能够以95%的召回率和87%的灵敏度识别LWBS患者。该模型中影响最大的属性是急诊科患者负荷、分诊时间、从家庭住址到急诊科的驾车分钟数、住院时间(分诊后的分钟数)和年龄。结论:我们的分析表明,机器学习模型可以用于管理数据来预测加拿大儿科急诊科的LWBS患者。从16个变量中,我们确定了五个最具影响力的模型属性。在一些中心,改善病人流动的系统级干预措施已显示出减少LWBS的希望。预测可能发生LWBS的患者提高了个体患者水平干预以减轻LWBS的可能性。
Machine learning to identify attributes that predict patients who leave without being seen in a pediatric emergency department.
Purpose: To characterize patients who left without being seen (LWBS) from a Canadian pediatric Emergency Department (ED) and create predictive models using machine learning to identify key attributes associated with LWBS.
Methods: We analyzed administrative ED data from April 1, 2017, to March 31, 2020, from IWK Health ED in Halifax, NS. Variables included: visit disposition; Canadian Triage Acuity Scale (CTAS); triage month, week, day, hour, minute, and day of the week; sex; age; postal code; access to primary care provider; visit payor; referral source; arrival by ambulance; main problem (ICD10); length of stay in minutes; driving distance in minutes; and ED patient load. The data were randomly divided into training (80%) and test datasets (20%). Five supervised machine learning binary classification algorithms were implemented to train models to predict LWBS patients. We balanced the dataset using Synthetic Minority Oversampling Technique (SMOTE) and used grid search for hyperparameter tuning of our models. Model evaluation was made using sensitivity and recall on the test dataset.
Results: The dataset included 101,266 ED visits where 2009 (2%) records were excluded and 5800 LWBS (5.7%). The highest-performing machine learning model with 16 patient attributes was XGBoost which was able to identify LWBS patients with 95% recall and 87% sensitivity. The most influential attributes in this model were ED patient load, triage hour, driving minutes from home address to ED, length of stay (minutes since triage), and age.
Conclusion: Our analysis showed that machine learning models can be used on administrative data to predict patients who LWBS in a Canadian pediatric ED. From 16 variables, we identified the five most influential model attributes. System-level interventions to improve patient flow have shown promise for reducing LWBS in some centres. Predicting patients likely to LWBS raises the possibility of individual patient-level interventions to mitigate LWBS.
期刊介绍:
CJEM is a peer-reviewed journal owned by CAEP. CJEM is published every 2 months (January, March, May, July, September and November). CJEM presents articles of interest to emergency care providers in rural, urban or academic settings. Publishing services are provided by the Canadian Medical Association.