Determination of Patient Sentiment and Emotion in Ophthalmology: Infoveillance Tutorial on Web-Based Health Forum Discussions

BackgroundClinical data in social media are an underused source of information with great potential to allow for a deeper understanding of patient values, attitudes, and preferences. ObjectiveThis tutorial aims to describe a novel, robust, and modular method for the sentiment analysis an...

Full description

Bibliographic Details
Main Authors: Nguyen, Anne Xuan-Lan, Trinh, Xuan-Vi, Wang, Sophia Y, Wu, Albert Y
Format: Article
Language:English
Published: JMIR Publications 2021-05-01
Series:Journal of Medical Internet Research
Online Access:https://www.jmir.org/2021/5/e20803
_version_ 1819293331442630656
author Nguyen, Anne Xuan-Lan
Trinh, Xuan-Vi
Wang, Sophia Y
Wu, Albert Y
author_facet Nguyen, Anne Xuan-Lan
Trinh, Xuan-Vi
Wang, Sophia Y
Wu, Albert Y
author_sort Nguyen, Anne Xuan-Lan
collection DOAJ
description BackgroundClinical data in social media are an underused source of information with great potential to allow for a deeper understanding of patient values, attitudes, and preferences. ObjectiveThis tutorial aims to describe a novel, robust, and modular method for the sentiment analysis and emotion detection of free text from web-based forums and the factors to consider during its application. MethodsWe mined the discussion and user information of all posts containing search terms related to a medical subspecialty (oculoplastics) from MedHelp, the largest web-based platform for patient health forums. We used data cleaning and processing tools to define the relevant subset of results and prepare them for sentiment analysis. We executed sentiment and emotion analyses by using IBM Watson Natural Language Understanding to generate sentiment and emotion scores for the posts and their associated keywords. The keywords were aggregated using natural language processing tools. ResultsOverall, 39 oculoplastic-related search terms resulted in 46,381 eligible posts within 14,329 threads. Posts were written by 18,319 users (117 doctors; 18,202 patients) and included 201,611 associated keywords. Keywords that occurred ≥500 times in the corpus were used to identify the most prominent topics, including specific symptoms, medication, and complications. The sentiment and emotion scores of these keywords and eligible posts were analyzed to provide concrete examples of the potential of this methodology to allow for a better understanding of patients’ attitudes. The overall sentiment score reflects a positive, neutral, or negative sentiment, whereas the emotion scores (anger, disgust, fear, joy, and sadness) represent the likelihood of the presence of the emotion. In keyword grouping analyses, medical signs, symptoms, and diseases had the lowest overall sentiment scores (−0.598). Complications were highly associated with sadness (0.485). Forum posts mentioning body parts were related to sadness (0.416) and fear (0.321). Administration was the category with the highest anger score (0.146). The top 6 forum subgroups had an overall negative sentiment score; the most negative one was the Neurology forum, with a score of −0.438. The Undiagnosed Symptoms forum had the highest sadness score (0.448). The least likely fearful posts were those from the Eye Care forum, with a score of 0.260. The overall sentiment score was much more negative before the doctor replied. The anger, disgust, fear, and sadness emotion scores decreased in likelihood, whereas joy was slightly more likely to be expressed after doctors replied. ConclusionsThis report allows physicians and researchers to efficiently mine and perform sentiment analysis on social media to better understand patients’ perspectives and promote patient-centric care. Important factors to be considered during its application include evaluating the scope of the search; selecting search terms and understanding their linguistic usages; and establishing selection, filtering, and processing criteria for posts and keywords tailored to the desired results.
first_indexed 2024-12-24T04:08:44Z
format Article
id doaj.art-700cbc076ce040a980e5ba9c1633a562
institution Directory Open Access Journal
issn 1438-8871
language English
last_indexed 2024-12-24T04:08:44Z
publishDate 2021-05-01
publisher JMIR Publications
record_format Article
series Journal of Medical Internet Research
spelling doaj.art-700cbc076ce040a980e5ba9c1633a5622022-12-21T17:16:07ZengJMIR PublicationsJournal of Medical Internet Research1438-88712021-05-01235e2080310.2196/20803Determination of Patient Sentiment and Emotion in Ophthalmology: Infoveillance Tutorial on Web-Based Health Forum DiscussionsNguyen, Anne Xuan-LanTrinh, Xuan-ViWang, Sophia YWu, Albert YBackgroundClinical data in social media are an underused source of information with great potential to allow for a deeper understanding of patient values, attitudes, and preferences. ObjectiveThis tutorial aims to describe a novel, robust, and modular method for the sentiment analysis and emotion detection of free text from web-based forums and the factors to consider during its application. MethodsWe mined the discussion and user information of all posts containing search terms related to a medical subspecialty (oculoplastics) from MedHelp, the largest web-based platform for patient health forums. We used data cleaning and processing tools to define the relevant subset of results and prepare them for sentiment analysis. We executed sentiment and emotion analyses by using IBM Watson Natural Language Understanding to generate sentiment and emotion scores for the posts and their associated keywords. The keywords were aggregated using natural language processing tools. ResultsOverall, 39 oculoplastic-related search terms resulted in 46,381 eligible posts within 14,329 threads. Posts were written by 18,319 users (117 doctors; 18,202 patients) and included 201,611 associated keywords. Keywords that occurred ≥500 times in the corpus were used to identify the most prominent topics, including specific symptoms, medication, and complications. The sentiment and emotion scores of these keywords and eligible posts were analyzed to provide concrete examples of the potential of this methodology to allow for a better understanding of patients’ attitudes. The overall sentiment score reflects a positive, neutral, or negative sentiment, whereas the emotion scores (anger, disgust, fear, joy, and sadness) represent the likelihood of the presence of the emotion. In keyword grouping analyses, medical signs, symptoms, and diseases had the lowest overall sentiment scores (−0.598). Complications were highly associated with sadness (0.485). Forum posts mentioning body parts were related to sadness (0.416) and fear (0.321). Administration was the category with the highest anger score (0.146). The top 6 forum subgroups had an overall negative sentiment score; the most negative one was the Neurology forum, with a score of −0.438. The Undiagnosed Symptoms forum had the highest sadness score (0.448). The least likely fearful posts were those from the Eye Care forum, with a score of 0.260. The overall sentiment score was much more negative before the doctor replied. The anger, disgust, fear, and sadness emotion scores decreased in likelihood, whereas joy was slightly more likely to be expressed after doctors replied. ConclusionsThis report allows physicians and researchers to efficiently mine and perform sentiment analysis on social media to better understand patients’ perspectives and promote patient-centric care. Important factors to be considered during its application include evaluating the scope of the search; selecting search terms and understanding their linguistic usages; and establishing selection, filtering, and processing criteria for posts and keywords tailored to the desired results.https://www.jmir.org/2021/5/e20803
spellingShingle Nguyen, Anne Xuan-Lan
Trinh, Xuan-Vi
Wang, Sophia Y
Wu, Albert Y
Determination of Patient Sentiment and Emotion in Ophthalmology: Infoveillance Tutorial on Web-Based Health Forum Discussions
Journal of Medical Internet Research
title Determination of Patient Sentiment and Emotion in Ophthalmology: Infoveillance Tutorial on Web-Based Health Forum Discussions
title_full Determination of Patient Sentiment and Emotion in Ophthalmology: Infoveillance Tutorial on Web-Based Health Forum Discussions
title_fullStr Determination of Patient Sentiment and Emotion in Ophthalmology: Infoveillance Tutorial on Web-Based Health Forum Discussions
title_full_unstemmed Determination of Patient Sentiment and Emotion in Ophthalmology: Infoveillance Tutorial on Web-Based Health Forum Discussions
title_short Determination of Patient Sentiment and Emotion in Ophthalmology: Infoveillance Tutorial on Web-Based Health Forum Discussions
title_sort determination of patient sentiment and emotion in ophthalmology infoveillance tutorial on web based health forum discussions
url https://www.jmir.org/2021/5/e20803
work_keys_str_mv AT nguyenannexuanlan determinationofpatientsentimentandemotioninophthalmologyinfoveillancetutorialonwebbasedhealthforumdiscussions
AT trinhxuanvi determinationofpatientsentimentandemotioninophthalmologyinfoveillancetutorialonwebbasedhealthforumdiscussions
AT wangsophiay determinationofpatientsentimentandemotioninophthalmologyinfoveillancetutorialonwebbasedhealthforumdiscussions
AT wualberty determinationofpatientsentimentandemotioninophthalmologyinfoveillancetutorialonwebbasedhealthforumdiscussions