Using Text Mining Techniques to Identify Health Care Providers With Patient Safety Problems: Exploratory Study

BackgroundRegulatory bodies such as health care inspectorates can identify potential patient safety problems in health care providers by analyzing patient complaints. However, it is challenging to analyze the large number of complaints. Text mining techniques may help identif...

Full description

Bibliographic Details
Published in:Journal of Medical Internet Research
Main Authors: Iris Hendrickx, Tim Voets, Pieter van Dyk, Rudolf B Kool
Format: Article
Language:English
Published: JMIR Publications 2021-07-01
Online Access:https://www.jmir.org/2021/7/e19064
_version_ 1851921896472313856
author Iris Hendrickx
Tim Voets
Pieter van Dyk
Rudolf B Kool
author_facet Iris Hendrickx
Tim Voets
Pieter van Dyk
Rudolf B Kool
author_sort Iris Hendrickx
collection DOAJ
container_title Journal of Medical Internet Research
description BackgroundRegulatory bodies such as health care inspectorates can identify potential patient safety problems in health care providers by analyzing patient complaints. However, it is challenging to analyze the large number of complaints. Text mining techniques may help identify signals of problems with patient safety at health care providers. ObjectiveThe aim of this study was to explore whether employing text mining techniques on patient complaint databases can help identify potential problems with patient safety at health care providers and automatically predict the severity of patient complaints. MethodsWe performed an exploratory study on the complaints database of the Dutch Health and Youth Care Inspectorate with more than 22,000 written complaints. Severe complaints are defined as those cases where the inspectorate contact point experts deemed it worthy of a triage by the inspectorate, or complaints that led to direct action by the inspectorate. We investigated a range of supervised machine learning techniques to assign a severity label to complaints that can be used to prioritize which incoming complaints need the most attention. We studied several features based on the complaints’ written content, including sentiment analysis, to decide which were helpful for severity prediction. Finally, we showcased how we could combine these severity predictions and automatic keyword analysis on the complaints database and listed health care providers and their organization-specific complaints to determine the average severity of complaints per organization. ResultsA straightforward text classification approach using a bag-of-words feature representation worked best for the severity prediction of complaints. We obtained an accuracy of 87%-93% (2658-2990 of 3319 complaints) on the held-out test set and an F1 score of 45%-51% on the severe complaints. The skewed class distribution led to only reasonable recall (47%-54%) and precision (44%-49%) scores. The use of sentiment analysis for severity prediction was not helpful. By combining the predicted severity outcomes with an automatic keyword analysis, we identified several health care providers that could have patient safety problems. ConclusionsText mining techniques for analyzing complaints by civilians can support inspectorates. They can automatically predict the severity of the complaints, or they can be used for keyword analysis. This can help the inspectorate detect potential patient safety problems, or support prioritizing follow-up supervision activities by sorting complaints based on the severity per organization or per sector.
format Article
id doaj-art-e1d24fac280643b394dfd4b1d8478eaf
institution Directory of Open Access Journals
issn 1438-8871
language English
publishDate 2021-07-01
publisher JMIR Publications
record_format Article
spelling doaj-art-e1d24fac280643b394dfd4b1d8478eaf2025-08-19T21:58:02ZengJMIR PublicationsJournal of Medical Internet Research1438-88712021-07-01237e1906410.2196/19064Using Text Mining Techniques to Identify Health Care Providers With Patient Safety Problems: Exploratory StudyIris Hendrickxhttps://orcid.org/0000-0002-9351-6449Tim Voetshttps://orcid.org/0000-0001-8015-1607Pieter van Dykhttps://orcid.org/0000-0002-2633-9913Rudolf B Koolhttps://orcid.org/0000-0003-3134-487X BackgroundRegulatory bodies such as health care inspectorates can identify potential patient safety problems in health care providers by analyzing patient complaints. However, it is challenging to analyze the large number of complaints. Text mining techniques may help identify signals of problems with patient safety at health care providers. ObjectiveThe aim of this study was to explore whether employing text mining techniques on patient complaint databases can help identify potential problems with patient safety at health care providers and automatically predict the severity of patient complaints. MethodsWe performed an exploratory study on the complaints database of the Dutch Health and Youth Care Inspectorate with more than 22,000 written complaints. Severe complaints are defined as those cases where the inspectorate contact point experts deemed it worthy of a triage by the inspectorate, or complaints that led to direct action by the inspectorate. We investigated a range of supervised machine learning techniques to assign a severity label to complaints that can be used to prioritize which incoming complaints need the most attention. We studied several features based on the complaints’ written content, including sentiment analysis, to decide which were helpful for severity prediction. Finally, we showcased how we could combine these severity predictions and automatic keyword analysis on the complaints database and listed health care providers and their organization-specific complaints to determine the average severity of complaints per organization. ResultsA straightforward text classification approach using a bag-of-words feature representation worked best for the severity prediction of complaints. We obtained an accuracy of 87%-93% (2658-2990 of 3319 complaints) on the held-out test set and an F1 score of 45%-51% on the severe complaints. The skewed class distribution led to only reasonable recall (47%-54%) and precision (44%-49%) scores. The use of sentiment analysis for severity prediction was not helpful. By combining the predicted severity outcomes with an automatic keyword analysis, we identified several health care providers that could have patient safety problems. ConclusionsText mining techniques for analyzing complaints by civilians can support inspectorates. They can automatically predict the severity of the complaints, or they can be used for keyword analysis. This can help the inspectorate detect potential patient safety problems, or support prioritizing follow-up supervision activities by sorting complaints based on the severity per organization or per sector.https://www.jmir.org/2021/7/e19064
spellingShingle Iris Hendrickx
Tim Voets
Pieter van Dyk
Rudolf B Kool
Using Text Mining Techniques to Identify Health Care Providers With Patient Safety Problems: Exploratory Study
title Using Text Mining Techniques to Identify Health Care Providers With Patient Safety Problems: Exploratory Study
title_full Using Text Mining Techniques to Identify Health Care Providers With Patient Safety Problems: Exploratory Study
title_fullStr Using Text Mining Techniques to Identify Health Care Providers With Patient Safety Problems: Exploratory Study
title_full_unstemmed Using Text Mining Techniques to Identify Health Care Providers With Patient Safety Problems: Exploratory Study
title_short Using Text Mining Techniques to Identify Health Care Providers With Patient Safety Problems: Exploratory Study
title_sort using text mining techniques to identify health care providers with patient safety problems exploratory study
url https://www.jmir.org/2021/7/e19064
work_keys_str_mv AT irishendrickx usingtextminingtechniquestoidentifyhealthcareproviderswithpatientsafetyproblemsexploratorystudy
AT timvoets usingtextminingtechniquestoidentifyhealthcareproviderswithpatientsafetyproblemsexploratorystudy
AT pietervandyk usingtextminingtechniquestoidentifyhealthcareproviderswithpatientsafetyproblemsexploratorystudy
AT rudolfbkool usingtextminingtechniquestoidentifyhealthcareproviderswithpatientsafetyproblemsexploratorystudy