An intelligent system for classifying patient complaints using machine learning and natural language processing: development and validation (Preprint)

Author:

Lou Xiaomin,Kong Canhong,Li Gang,Fang Xin,Li XiadongORCID

Abstract

BACKGROUND

Patient satisfaction management directly reflects the quality and efficiency of hospital service, which has been an important indicator of the level of modern hospital management. Accurate classification of patient complaints is an important aspect of patient satisfaction management. Traditional subjective classification methods based on manual assessment suffer from low efficiency and accuracy. Therefore, there is a growing need for more advanced and automated approaches for categorizing complaints.

OBJECTIVE

In this article we aim to development and validate an intelligent system for classifying patient complaints using machine learning and natural language processing.

METHODS

In this article, we proposed an artificial intelligence-based natural language processing technology to extract the dissatisfactory words with high frequency, including departments, staff, and key treatment procedures. A total of 1,465 complaint data from 2019 to 2023 were selected and semantically analyzed, and all complaints were divided into four types: Communication problem, Diagnosis and treatment, Management problem and Sense of responsibility. First, all data will be used for a semantic analysis of the main distribution of patient complaints in our hospital. This will help us to address specific areas of patient complaints and focus on improving our staff and work processes. Second, 80% of this data is used for training the automatic classification model for complaints, and 20% of the data is used for model validation. The unbalanced data were balanced by oversampling using the SMOTE algorithm to achieve a balanced state for all four categories. In addition, 376 data sets from Hangzhou Cancer Hospital are used for external testing of the discomfort classification model. Three machine learning methods (Multifactor_Logistic Regression, Multinomial_Naive Bayes and Support Vector Machines) were used to train and validate the model.

RESULTS

The original data consists of 719, 376, 260 and 86 records for communication problems, Diagnosis and treatment, management problems and sense of responsibility, respectively. The Multifactor Logistic Regression and Support Vector Machines achieved a weighted average accuracy of 0.89 and 0.93 in the training set and 0.83 and 0.87 in the internal test set, respectively. The Support Vector Machines algorithm, which performed best in prediction, achieved an average accuracy of 0.91 on the external test set, with a 95% confidence interval of [0.87, 0.97].

CONCLUSIONS

The Natural Language Processing based support vector machine algorithm shows good classification performance on automatic categorization of patient complaint texts. Moreover, it has the best performance in both internal and external test sets. This automatic classification system for patient complaint based on machine learning can greatly increase classification efficiency, reduce manpower and improve classification accuracy. It has great prospects for application in medical institutions with a large number of complaints and a shortage of specialists to handle patient complaints.

Publisher

JMIR Publications Inc.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3