Published on in Vol 27 (2025)

Preprints (earlier versions) of this paper are available at https://preprints.jmir.org/preprint/72521, first published .
Analyzing Health Care Professionals’ Resilience and Emotional Responses to COVID-19 via Twitter: Retrospective Cohort and Matched Comparison Group Study

Analyzing Health Care Professionals’ Resilience and Emotional Responses to COVID-19 via Twitter: Retrospective Cohort and Matched Comparison Group Study

Analyzing Health Care Professionals’ Resilience and Emotional Responses to COVID-19 via Twitter: Retrospective Cohort and Matched Comparison Group Study

1Department of Software and Information Systems Engineering, Faculty of Engineering Sciences, Ben-Gurion University of the Negev, Beer Sheva, Israel

2Department of Nursing, Recanati School of Community Health Professions, Faculty of Health Sciences, Ben-Gurion University of the Negev, David Ben-Gurion Blvd 1, Beer Sheva, Israel

3Department of Computer Science, Shamoon College of Engineering, Beer Sheva, Israel

*these authors contributed equally

Corresponding Author:

Odeya Cohen, PhD


Background: The functioning of health care systems in emergencies relies on health care professionals (HCPs). During the COVID-19 pandemic, HCPs faced significant emotional challenges, which affected their productivity. Revealing HCPs’ emotional responses may enable the development of effective support strategies for future crises. This study examines the emotional response of HCPs and compares it with that of non-HCPs across distinct pandemic phases.

Objective: The study aimed to explore and compare the emotional response of HCPs and non-HCPs during the COVID-19 pandemic, to investigate how emotional responses are linked to the pandemic’s evolution in the United States, and to assess whether the emotions experienced by HCPs can serve as an early indicator of pandemic progression.

Methods: In a retrospective cohort with a matched comparison group study, we analyzed the emotions of 1450 HCPs and 1387 non-HCPs using 8,723,404 tweets collected from January 2019 to May 2022. Using Twitter profile data and a machine learning classifier, we identified HCPs and matched non-HCPs on the basis of demographics (gender, age, and ethnicity). Emotional responses (fear, sadness, joy, disgust, surprise, and anger) were examined across 5 pandemic phases (prepandemic and 4 pandemic stages) using effect sizes. We used Spearman correlations to examine the associations between HCPs’ emotions and pandemic progression.

Results: HCPs displayed greater sadness (Cohen d=0.23) in the early pandemic phase and greater fear (Cohen d=0.73‐0.10) across the 3 phases than non-HCPs. HCPs exhibited lower levels of anger (Cohen d=−0.19 to −0.13), surprise (Cohen d=−0.33 to −0.15), and disgust (Cohen d=−0.20 to −0.18) than non-HCPs. Joy prevalence was greater among HCPs starting in the second pandemic phase (Cohen d=0.13‐0.16). Most emotions returned to prepandemic levels, except sadness, which remained elevated for HCPs. Emotional trends were significantly correlated with pandemic progression (r=0.205‐0.480; P<.05).

Conclusions: HCPs experienced distinct emotional responses and resilience capacities compared with non-HCPs during the COVID-19 pandemic. These findings underscore the need for targeted support strategies for future emergencies. The study suggests that HCPs’ social media discussions can be complementary tools for monitoring well-being and offer preliminary signals of emerging public health concerns.

J Med Internet Res 2025;27:e72521

doi:10.2196/72521

Keywords



Health care professionals (HCPs) are essential to the functioning of the health system. During the COVID-19 pandemic, HCPs faced unprecedented challenges. They experienced extended periods of patient morbidity, elevated health risks due to exposure to an incurable disease, extended workloads, and insufficient resources [1-4]. Personal and societal disruptions affect HCPs’ ability to serve the public [3-5]. Multiple studies have confirmed the prevalence of stress, anxiety, depression, and emotional exhaustion among HCPs [6-9].

To alleviate HCPs’ emotional burden and thus enhance community resilience [10,11], we must understand the unique emotional impact of long-term emergencies on HCPs. Therefore, we designed a retrospective cohort with a matched comparison group study to compare the emotional impact of COVID-19 pandemic on HCPs versus non-HCPs. While it is reasonable to assume that HCPs experienced greater emotional impact than the general public due to their frontline exposure, the results are controversial. A meta-analysis found that the psychological burdens on HCPs and the general public were similar [12]. Phiri et al [13] revealed minimal differences in anxiety, depression, and posttraumatic stress disorder prevalence between HCPs and the general public. However, HCPs had higher rates of suicidal thoughts or self-harm, and the public experienced lower levels of well-being. A Dutch longitudinal study reported slightly better mental health among HCPs than non-HCPs during the pandemic’s first year [14]. A study among US-based HCPs found significantly higher distress levels than among non-HCPs, along with decreased proactive coping abilities [15].

Most studies on the pandemic’s impact are cross-sectional, failing to examine the changes in the pandemic’s impact over time. Existing longitudinal studies on HCPs have focused mostly on periods of 12 months or less [16-18], often including few measurement points and experiencing high participant attrition. Phiri et al [13] highlighted the need for longitudinal research on the long-term mental health impact of COVID-19 pandemic for better infrastructure to manage further emergencies.

Social media offers a pertinent data source for addressing many of the challenges of traditional longitudinal studies based on surveys. Social media–based health research has grown significantly in recent years [19], particularly in exploring the emotional impact of the COVID-19 pandemic [20]. Research has shown that different populations have exhibited unique emotional patterns throughout the pandemic [21]. Studies focusing on targeted groups, such as HCPs, have identified mental health challenges such as anxiety, depression, and emotional fatigue [22]. The evolution of emotions such as fear and anger was linked to pandemic waves, revealing dynamic emotional responses across time [23]. Tsao et al [24] identified 5 public health themes regarding the role of social media during the COVID-19 pandemic, arguing that social media can be crucial for coping with the pandemic. However, they also found that the studies faced methodological limitations, such as nonrepresentative sample sizes and selection bias.

To address the gaps described between HCPs and the general population throughout the pandemic, we analyze the emotions of a matched sample of HCPs and non-HCPs from a high-quality Twitter Panel dataset [25,26], selecting users who tweeted consistently throughout the study period from January 2019 to May 2022. The prepandemic period enables us to control for baseline differences.

The study aims to explore and compare the emotional responses of HCPs and non-HCPs during the COVID-19 pandemic, to investigate how emotional responses are linked to the pandemic’s evolution in the United States, and to assess whether the emotions experienced by HCPs can serve as an early indicator of pandemic progression. We hypothesized that HCPs would exhibit distinct emotional profiles compared with non-HCPs, with stronger correlations to pandemic metrics due to their frontline exposure and professional responsibilities.


Study Population

Dataset and Study Population Classification

We used the Twitter Panel dataset [25,26] comprising more than 1.5 million Twitter accounts associated with US public voter registration data. We trained a binary deep learning classifier (implemented using the Simple Transformers [27] Python library and Facebook’s RoBERTa model [28]) to distinguish between HCP and non-HCP Twitter accounts based on their full names and descriptions. To train the classifier, we used 1372 Twitter accounts from the dataset collected by Elyashar et al [23], which were equally divided between manually labeled HCP accounts (physicians, nurses, and mental health professionals) and non-HCP accounts (not labeled as HCP under manual definitions). These labels were derived by Elyashar et al [23] using an active learning procedure involving 20 iterations of manual inspection. In each iteration, accounts about which the model was least certain were selected for labeling. Each selected account was reviewed by 2 annotators (AE and ICC), with conflicts resolved by a third reviewer and external validation via LinkedIn when necessary. Our classifier was trained and validated using 10-fold cross-validation, achieving an accuracy of 0.827, F1-score of 0.826, precision of 0.834, and recall of 0.827.

Inclusion Criterion

Threshold selection was based on an iterative process, involving manual review of more than 800 accounts sampled at .01 probability intervals across the prediction range. This comprehensive sampling revealed that accounts with probabilities ≥.95 consistently exhibited high classification precision. Therefore, a threshold of .95 was selected as the HCP inclusion criterion. We applied the trained classifier with the chosen threshold to the Twitter Panel dataset, selecting 10,062 HCP accounts; manual validation of 100 random accounts confirmed that 97 were genuine HCP accounts. Similarly, for non-HCPs, we chose a likelihood threshold of 0.6 and preselected approximately 1.5 million accounts. We included user accounts that tweeted at least once a month in more than 90% (37/41 months) of the months between January 2019 and May 2022.

Matched Comparison Group Inclusion Criterion

We created a non-HCP sample that closely matched the HCP sample regarding gender, age, and ethnicity. Using the KDTree [29] data structure, we matched HCP accounts to similar non-HCP accounts. Statistical tests, including t tests and chi-square tests, confirmed the demographic similarity (Table S1 in Multimedia Appendix 1).

Comparative Emotion Analysis

Extracting Emotions

We analyzed emotions using the pysentimiento [30]. Python package for evaluating Ekman’s (1995) 6 basic emotions: joy, sadness, anger, surprise, disgust, and fear [31]. For each account, we aggregated the emotions expressed in tweets during consecutive periods. Following Agarwal et al [22], we defined 5 phases during the study period: phase 1 (until February 28, 2020), phase 2 (March 1 to October 31, 2020), phase 3 (November 1, 2020, to April 30, 2021), phase 4 (May 1 to December 31, 2021), and phase 5 (January 1 to May 31, 2022). Emotion macro averages and corresponding 95% CIs were computed, ensuring that each account contributed equally regardless of the number of posts. Statistical analyses included t tests, Mann-Whitney U tests, and Wilcoxon tests for comparisons, with Bonferroni correction for multiple tests. Effect sizes across phases and subpopulations were measured using the Cohen d, which was based on the average of user-level emotion scores.

Association Between Emotions and Pandemic Progression

We used US-specific data [32] and extracted the number of new cases, hospitalizations, and deaths from July 14, 2020, according to data availability. We used the SciPy package [33] to assess weekly correlations. The analysis included examining correlations with an 8-week lag and lead between pandemic metrics and emotional responses. Only emotions with significant correlations are presented.

Explaining Emotions

To explain emotional dynamics, we identified the top 10% of emotionally expressive tweets and extracted the 3 hashtags most frequently used for each 3-month interval. We manually grouped the hashtags into topic categories to identify factors associated with the emotions expressed during the study period. Hashtag categorization was carried out by 2 researchers (NT and ICC) who independently reviewed the most common hashtags linked to each emotion. Themes were derived inductively, with each researcher grouping hashtags based on their semantic and contextual meaning. The researchers then compared and discussed their groupings to reach consensus. The final hashtag-to-topic mapping is available in Table S4 in Multimedia Appendix 1. We focused on hashtags related to joy, sadness, anger, and fear. In addition, we generated word clouds for the peak months (February, March, and April 2020) after text preprocessing.

Ethical Considerations

The collection, storage, and analysis methods for the Twitter panel were approved by the institutional review board (IRB) of Northeastern University (approval number 17-12-13). Additional ethical approval, specific to this study, was obtained from the IRB of Ben-Gurion University of the Negev (approval number 1879‐1). This study analyzed publicly available data in aggregate form. No direct informed consent was obtained from users; rather, ethical safeguards were implemented in accordance with IRB guidance. To ensure confidentiality, except for the initial construction of matching groups, which was necessary to identify the HCP and non-HCP cohorts, all subsequent analysis was conducted on aggregated, deidentified data; no member of the research team examined individual accounts.


Sociodemographics

This study included 1450 HCP accounts and 1387 non-HCP accounts, which posted 8,723,404 tweets. Approximately 1399 participants indicated their gender as female (49.33%), with a mean age of 44.11 (SD 13.19) years. No significant differences in demographic characteristics were found between the 2 groups. HCPs posted fewer tweets than non-HCPs. Table 1 describes the main demographic details (Table S1 and Figure S1 in Multimedia Appendix 1).

Table 1. Health care practitioners and non–health care practitioners demographicsa.
VariableHCPsb (n=1450)Non-HCPs (n=1387)P value
Total tweets (millions), n3.35.3N/Ac
Age average (years), mean (SD)44.0 (13.4)44.2 (13.0).681
Ethnicity (Caucasians), %85.884.9.798
Gender, %.668
Men45.5748.45
Women50.7647.80
Unknown3.683.75

aAfter matching, the 2 samples were not significantly different along these variables.

bHCPs: health care professionals.

cN/A: not applicable.

Emotions During the Pandemic: Trends and Comparison

Comparison Between HCPs and Non-HCPs

Figures 1 and 2 depict average emotion scores for the study populations during the study timeline. Figure 1 shows monthly averages, with triangles indicating significant differences between HCPs and non-HCPs, while Figure 2 displays the average emotions aggregated according to the 5 study phases. Figure 1 shows that HCPs’ fear scores rise sharply at the onset of the pandemic and remain consistently higher than those of non-HCPs. In contrast, their anger, surprise, and disgust scores remained consistently lower across most of the period. Notably, CI values for the groups showed minimal overlap, especially in periods with significant group differences marked by triangles, most prominently in fear, anger, and joy. Figure 2 reinforces these trends by phase, with clearer group separations in fear, anger, and joy, indicated by largely nonoverlapping error bars.

Quantitatively, HCPs exhibited lower levels of anger (Cohen d=−0.19 to −0.13), surprise (Cohen d=−0.33 to −0.15), and disgust (Cohen d=−0.20 to −0.18). In addition, HCPs expressed significantly higher fear levels than non-HCPs throughout the pandemic phases (Cohen d=0.22‐0.5) but not before the pandemic. HCPs exhibited higher levels of joy (Cohen d=0.1‐0.16) from the second phase of the pandemic than non-HCPs did (Figure 1 and Table S2 in Multimedia Appendix 1). Regarding emotional recovery, the recovery curve for HCPs was steeper than that of non-HCPs in terms of joy and fear (Figure 2).

Figure 1. Comparison of the monthly average emotion scores of health care professionals and non–health care professionals with 95% CIs. HCPs: health care professionals; non-HCPs: non–health care professionals.
Figure 2. Averages of 6 emotional responses for health care professionals and non–health care professionals across study phases. Average emotion scores based on pandemic phases as described by Agarwal et al [22]. HCPs: health care professionals; non-HCPs: non–health care professionals.
Emotional Patterns of Both Populations Across Study Periods

HCPs expressed higher levels of fear and sadness and lower levels of joy compared with the prepandemic period. This trend persisted through the first 3 phases of the pandemic, with fear remaining particularly high during the initial stages (Cohen d=0.73, 95% CI 0.656‐0.806 in phase 1; Cohen d=0.32, 95% CI 0.245‐0.392 in phase 2; and Cohen d=0.26, 95% CI 0.188‐0.334 in phase 3). Examining the magnitude of change between HCPs and non-HCPs, fear demonstrated a greater change during the first 3 periods of the pandemic, with no overlap in the 95% CIs of the Cohen d effect sizes. In the last phase of the pandemic, all emotions returned to prepandemic levels except for sadness, which remained slightly higher (Cohen d=0.145, 95% CI 0.072‐0.218). Among non-HCPs, compared with the prepandemic period, joy decreased (Cohen d=−0.23, 95% CI −0.305 to −0.155), while fear (Cohen d=0.39, 95% CI 0.319‐0.470) and sadness (Cohen d=0.18, 95% CI 0.103‐0.253) increased during the first pandemic phase, with no additional significant effect sizes in later phases (Table S3 in Multimedia Appendix 1).

Correlation Between Emotions and Pandemic Progression

We examined the correlation between population emotions and COVID-19 progression by analyzing how weekly emotion scores related to new case counts at different time lags. In the visual analysis (Figure 3), the left panels show the correlation coefficients for each emotion over a range of time lags (with triangles indicating significant associations), while the right panels align the smoothed and normalized emotion scores with pandemic waves, making it possible to observe how peaks in emotions coincide with fluctuations in case numbers.

This analysis shows that HCPs’ fear, sadness, and joy were more strongly associated with new COVID-19 pandemic cases than they were among non-HCPs. No significant correlation with pandemic measurements was found for other emotions. A significant correlation between HCPs’ sadness and new cases emerged (ρ=0.242; P=.016), with sadness increasing 1 week after a respective increase in new cases. HCPs’ fear levels were most strongly correlated with new cases of COVID-19 disease reported 3 weeks prior (ρ=0.480; P<.001), and a significant decrease in HCPs’ joy levels was observed with an increase in new cases without a lag (ρ=−0.205; P=.044). Figure 3 summarizes the correlations between emotional trends and pandemic progression across an 8-week lag, alongside the timeline of emotions during the pandemic.

Figure 3. Correlations between fear, joy, sadness, and pandemic progression. Left: Spearman correlation between emotions and new cases with lags of −8 to 8 weeks; significant correlations (P<.05) are highlighted with triangles. Right: Smoothed and normalized emotion scores compared with new cases over time. HCPs: health care professionals; non-HCPs: non–health care professionals.
Explaining Emotion Based on Hashtag Usage Analysis

Figure 4 depicts the prevalence of different hashtag types for the 2 study populations. Additional information about hashtag classification is given in Table S4 in Multimedia Appendix 1.

Figure 4. Analysis of hashtags related to the 4 primary emotions: joy, sadness, anger, and fear. The top row of graphs presents data for non–health care professionals, and the bottom row presents data for health care professionals. The frequency of specific categories is indicated on the y-axis, while the right y-axis is the count of tweets belonging to the “others” category. The quarters analyzed are indicated on the x-axis. Categories, indicated by color, represent hashtags extracted from the top 10% of emotionally expressive tweets. HCPs: health care professionals.
Joy

Among categorized tweets in the upper decile of joy, 81.84% (5289/6463) of HCPs’ tweets focused on professional topics, whereas non-HCPs’ tweets conveyed joy across a broader range of topics.

Sadness

Since January 2020, among categorized tweets in the upper decile of sadness, COVID-19 pandemic was the predominant source of sadness (5093/5974, 85.25%) among HCPs. In contrast, from the end of July 2021, sadness among non-HCPs began focusing on a broader range of topics.

Fear

Tweets with high fear levels that included topic hashtags primarily focused on COVID-19 pandemic for HCPs and non-HCPs. While popular non–COVID-19 hashtags within fearful HCP tweets were related to medicine (1060/20,737, 5.11%), non-HCPs showed a greater diversity of fearful content.

Anger

In the upper decile of anger tweets, those from non-HCPs predominantly addressed political content (5510/8104, 67.99%), while those from HCPs focused on COVID-19 pandemic (1602/4763, 33.63%). After April 2020, HCPs continued to concentrate on the COVID-19 pandemic, with a gradual shift toward categories related to politics (1818/4763, 38.16%). Word clouds of peak-month tweets were generated for each emotion, highlighting similarities and differences between HCPs and non-HCPs (List S1 in Multimedia Appendix 1).

Word clouds of peak-month tweets were generated for each emotion, highlighting similarities and differences between HCPs and non-HCPs (List S1 in Multimedia Appendix 1).


Principal Findings

We analyzed emotions expressed by US HCPs and non-HCPs from January 2019 to May 2022. Given the increasing frequency of natural disasters, events such as the COVID-19 pandemic are likely to become more common, making it crucial to gain insights into the lessons learned for future prolonged emergencies [34]. Although this study did not measure mental health outcomes, the observed emotional patterns serve as meaningful proxies for participants’ mental health [35,36].

Our analysis revealed significant emotional turmoil in both groups during the COVID-19 pandemic. HCPs experienced notably higher fear levels, which is consistent with the findings by García-Fernández et al [37], who reported elevated fear in 58.5% of HCPs. Additionally, our study found that HCPs’ sadness levels remained above pre-COVID-19 levels during the final phase of the pandemic (Figure 2). Thus, similar to the patterns observed in posttraumatic stress disorder symptoms, after exposure to stress, negative emotions endure more strongly than before the stress-inducing event [38]. Given HCPs’ critical role during emergencies, systemic support is essential to maintain their capacity.

HCPs expressed higher levels of joy than non-HCPs did from the second COVID-19 outbreak phase onward. Muthuri et al [39] noted that happiness among HCPs reflects the meaning and value they find in their work. During the pandemic, this could be associated with a sense of purpose and fulfillment, as well as the appreciation they received from patients and families. This aligns with findings by McHugh et al [40], who highlighted that HCPs’ well-being during the pandemic was significantly enhanced by their sense of identity and purpose at work.

We found that HCPs exhibited lower levels of anger, surprise, and disgust than non-HCPs. There is limited literature on this issue. However, our results contrast with those of García-Fernández et al [37], who reported higher levels of anger among HCPs. Our findings could be related to the emotional regulation required for good practice in health care delivery [41]. Another reason may be the professional knowledge HCPs possess regarding stress-inducing events, moderating these feelings [42].

Personal resilience is the maintenance of quick recovery during or after stressor exposure [43]. Resilience reflects the adaptive capacity for change and is perceived as a core component of emergency response. During the COVID-19 pandemic, HCPs exhibited emotional recovery despite experiencing more distinct changes in emotional responses relative to non-HCPs. High levels of joy, along with low levels of anger, disgust, and surprise, indicate resilience among HCPs. Resilient HCPs ensure the continuity of health care services during emergencies and contribute to community resilience since their role broadens beyond the mere provision of medical treatment [10,11].

Our findings show that HCPs’ tweets with high emotion scores were often associated with professional topics across all emotions, which validates that emotional expression differences are work-related. The study supports the claim that HCPs’ professional identity extends beyond their workplace, influencing their social media interactions [44]. Fear in both HCPs and non-HCPs was associated with the progression of the pandemic. However, HCPs expressed additional concerns associated with their work environment, such as protective equipment, and the challenge of balancing professional commitment and personal safety. Our hashtag analysis supports this assumption, revealing that HCPs’ joyful tweets during the early stages of the pandemic focused primarily on professional topics, often using work-related terms such as “proud work.”

Comparison With Previous Work

Comparing our findings with previous social media studies reveals both shared and distinct emotional response patterns. Consistent with our results, Saha et al [45] and Ashokkumar and Pennebaker [46] identified elevated levels of anxiety and sadness among non-HCPs early in the pandemic, while Guntuku et al [47] observed a similar trend in expressions of joy among this group. Ashokkumar and Pennebaker [46] also reported decreased anger during the pandemic. In contrast, our findings indicate nonsignificant changes in anger among non-HCPs across all phases, with a slight increase in the early phases, followed by a gradual decrease. This difference may be due to variations in the study populations and platforms.

Our HCPs’ findings align with those of the Twitter analysis by Agarwal et al [22], which reported initial emotional distress that gradually stabilized. Both studies observed emotional fluctuations: joy declined in phase 1, partially rebounded in phase 2, and stabilized by phases 3 and 4. Fear (in our study) and anxiety (in the study by Agarwal et al [22]) surged in phases 1 and 2 before a gradual decrease. Sadness in our data parallels the findings by Agarwal et al [22] on depression and loneliness, with an early rise followed by a partial decline, though without full recovery. Anger initially rose and then decreased, with our study showing a milder and statistically insignificant increase.

Strengths and Limitations

This study has several strengths. The temporal scope extends from January 2019 to May 2022, capturing prepandemic, pandemic, and recovery phases. The comparative design between HCPs and non-HCPs enables the identification of occupation-specific emotional patterns. A participation-based inclusion criterion—requiring users to tweet at least once a month in more than 90% of the study months—ensured consistent user engagement and reduced noise from inactive accounts. The analysis incorporates multiple emotional dimensions rather than single affect measures and provides comprehensive emotional profiling. The large-scale social media dataset supports robust statistical analysis across pandemic phases.

Several limitations should be noted. First, the study analyzed a US sample and included only those HCPs and non-HCPs who use Twitter, excluding nonusers. Second, the nature of Twitter limits the depth of information compared with other sources, such as interviews. Third, it relies on emotions as proxies for mental health outcomes.

Future Directions

Several studies have explored social media monitoring to detect or predict COVID-19 pandemic [41]. For example, Ockerman and Carrier [48] predicted COVID-19 case counts using Twitter images. Shen et al [49] reported that reports of symptoms and diagnoses of COVID-19 disease on social media significantly predicted daily case counts up to 14 days ahead of official statistics. Our findings suggest that analyses of HCP social media posts should yield more informative preliminary signals of emerging public health concerns than those of the general population.

Future research should examine cross-platform emotional patterns beyond Twitter to validate findings across social media environments. Integrating emotional data from social media with clinical mental health assessments could strengthen the validity for emotional proxies. The development of real-time monitoring systems for HCPs’ well-being could enable timely interventions during health emergencies.

Conclusions

Learning from the COVID-19 pandemic is essential for preparing for future prolonged emergencies. This study found that HCPs and non-HCPs experienced significant emotional turmoil during the COVID-19 pandemic. However, the emotional impact of the pandemic was more pronounced among HCPs than non-HCPs. This study highlights the resilience and professional identity of HCPs as reflected in social media. We propose that HCPs’ social media activity may serve as an indicator of emergency progression and a complementary source for assessing their well-being.

Acknowledgments

This research was funded by an internal grant from the Ben-Gurion University of the Negev,

and an Israeli Ministry of Science and Technology Coronavirus research grant. We thank them all

Data Availability

All data and code necessary to evaluate the final conclusions in the paper are available in a public GitHub repository [50]. No personally identifying information is released to protect individuals'’ privacy and in compliance with institutional review board (approval 1879-1) approval.

Authors' Contributions

NT contributed to conceptualization, data curation, formal analysis, investigation, methodology, software, visualization, writing–original draft, and writing–review and editing. ICC handled methodology, investigation, writing–original draft, and writing – review and editing. AE managed data curation, resources, and writing–review and editing. NG handled data curation, resources, methodology, supervision, writing–original draft, and writing–review and editing. RP contributed to conceptualization, methodology, supervision, writing–original draft, and writing–review and editing. OC managed conceptualization, methodology, supervision, writing–original draft, and writing–review and editing.

Conflicts of Interest

None declared.

Multimedia Appendix 1

Health care professionals’ resilience and emotional responses to COVID-19 via Twitter.

DOCX File, 2176 KB

  1. Sandford AA, Zupancic JAF. Physician wellbeing during the COVID-19 pandemic: an acute on chronic condition. Pediatr Res. Jan 2022;91(1):19-20. [CrossRef] [Medline]
  2. Kase SM, Gribben JL, Guttmann KF, Waldman ED, Weintraub AS. Compassion fatigue, burnout, and compassion satisfaction in pediatric subspecialists during the SARS-CoV-2 pandemic. Pediatr Res. Jan 2022;91(1):143-148. [CrossRef] [Medline]
  3. Braquehais MD, Vargas-Cáceres S, Gómez-Durán E, et al. The impact of the COVID-19 pandemic on the mental health of healthcare professionals. QJM. Sep 1, 2020;113(9):613-617. [CrossRef]
  4. Thatrimontrichai A, Weber DJ, Apisarnthanarak A. Mental health among healthcare personnel during COVID-19 in Asia: a systematic review. J Formos Med Assoc. Jun 2021;120(6):1296-1304. [CrossRef] [Medline]
  5. Chutiyami M, Cheong AMY, Salihu D, et al. COVID-19 pandemic and overall mental health of healthcare professionals globally: a meta-review of systematic reviews. Front Psychiatry. 2021;12:804525. [CrossRef] [Medline]
  6. Sexton JB, Adair KC, Proulx J, et al. Emotional exhaustion among US health care workers before and during the COVID-19 pandemic, 2019-2021. JAMA Netw Open. Sep 1, 2022;5(9):e2232748. [CrossRef] [Medline]
  7. Rossi R, Socci V, Jannini TB, et al. Mental health outcomes among Italian health care workers during the COVID-19 pandemic. JAMA Netw Open. Nov 1, 2021;4(11):e2136143. [CrossRef] [Medline]
  8. Dragioti E, Tsartsalis D, Mentis M, Mantzoukas S, Gouva M. Impact of the COVID-19 pandemic on the mental health of hospital staff: an umbrella review of 44 meta-analyses. Int J Nurs Stud. Jul 2022;131:104272. [CrossRef] [Medline]
  9. Al Maqbali M, Alsayed A, Hughes C, Hacker E, Dickens GL. Stress, anxiety, depression and sleep disturbance among healthcare professional during the COVID-19 pandemic: an umbrella review of 72 meta-analyses. In: Alhalaiqa F, editor. PLoS One. 2024;19(5):e0302597. [CrossRef] [Medline]
  10. Charney RL, Rebmann T, Esguerra CR, Lai CW, Dalawari P. Public perceptions of hospital responsibilities to those presenting without medical injury or illness during a disaster. J Emerg Med. Oct 2013;45(4):578-584. [CrossRef] [Medline]
  11. Cohen O, Shapira S, Aharonson-Daniel L, Shamian J. Confidence in health-services availability during disasters and emergency situations—does it matter?—lessons learned from an Israeli population survey. Int J Environ Res Public Health. Sep 20, 2019;16(19):3519. [CrossRef] [Medline]
  12. Luo M, Guo L, Yu M, Jiang W, Wang H. The psychological and mental impact of coronavirus disease 2019 (COVID-19) on medical staff and general public—a systematic review and meta-analysis. Psychiatry Res. Sep 2020;291:113190. [CrossRef] [Medline]
  13. Phiri P, Ramakrishnan R, Rathod S, et al. An evaluation of the mental health impact of SARS-CoV-2 on patients, general public and healthcare professionals: a systematic review and meta-analysis. EClinicalMedicine. Apr 2021;34:100806. [CrossRef] [Medline]
  14. van der Noordt M, Proper KI, Loef B, et al. Mental health of healthcare workers during the first year of the COVID-19 pandemic in the Netherlands: a longitudinal study. Front Public Health. 2023;11:1224112. [CrossRef] [Medline]
  15. Pearman A, Hughes ML, Smith EL, Neupert SD. Mental health challenges of United States healthcare professionals during COVID-19. Front Psychol. 2020;11:2065. [CrossRef] [Medline]
  16. Moreno-Jiménez JE, Blanco-Donoso LM, Demerouti E, et al. The role of healthcare professionals’ passion in predicting secondary traumatic stress and posttraumatic growth in the face of COVID-19: a longitudinal approach. Int J Environ Res Public Health. Apr 22, 2021;18(9):4453. [CrossRef] [Medline]
  17. Th’ng F, Rao KA, Ge L, et al. Longitudinal study comparing mental health outcomes in frontline emergency department healthcare workers through the different waves of the COVID-19 pandemic. Int J Environ Res Public Health. Dec 15, 2022;19(24):16878. [CrossRef] [Medline]
  18. Luceño-Moreno L, Talavera-Velasco B, Vázquez-Estévez D, Martín-García J. Mental health, burnout, and resilience in healthcare professionals after the first wave of COVID-19 pandemic in Spain. J Occup Environ Med. Mar 1, 2022;64(3):e114-e123. [CrossRef] [Medline]
  19. Schillinger D, Chittamuru D, Ramírez AS. From “Infodemics” to health promotion: a novel framework for the role of social media in public health. Am J Public Health. Sep 2020;110(9):1393-1396. [CrossRef] [Medline]
  20. Abd-Alrazaq A, Alhuwail D, Househ M, Hamdi M, Shah Z. Top concerns of tweeters during the COVID-19 pandemic: infoveillance study. J Med Internet Res. Apr 21, 2020;22(4):e19016. [CrossRef] [Medline]
  21. Slobodin O, Plochotnikov I, Cohen IC, Elyashar A, Cohen O, Puzis R. Global and local trends affecting the experience of US and UK healthcare professionals during COVID-19: Twitter text analysis. Int J Environ Res Public Health. Jun 4, 2022;19(11):6895. [CrossRef] [Medline]
  22. Agarwal AK, Mittal J, Tran A, Merchant R, Guntuku SC. Investigating social media to evaluate emergency medicine physicians’ emotional well-being during COVID-19. JAMA Netw Open. May 1, 2023;6(5):e2312708. [CrossRef] [Medline]
  23. Elyashar A, Plochotnikov I, Cohen IC, Puzis R, Cohen O. The state of mind of health care professionals in light of the COVID-19 pandemic: text analysis study of Twitter discourses. J Med Internet Res. Oct 22, 2021;23(10):e30217. [CrossRef] [Medline]
  24. Tsao SF, Chen H, Tisseverasinghe T, Yang Y, Li L, Butt ZA. What social media told us in the time of COVID-19: a scoping review. Lancet Digit Health. Mar 2021;3(3):e175-e194. [CrossRef] [Medline]
  25. Shugars S, Gitomer A, McCabe S, et al. Pandemics, protests, and publics: demographic activity and engagement on Twitter in 2020. J Quant Description. Apr 26, 2021;1. [CrossRef]
  26. Grinberg N, Joseph K, Friedland L, Swire-Thompson B, Lazer D. Fake news on Twitter during the 2016 U.S. presidential election. Science. Jan 25, 2019;363(6425):374-378. [CrossRef] [Medline]
  27. Rajapakse TC, Yates A, de Rijke M. Simple transformers: open-source for all. Presented at: Proceedings of the 2024 Annual International ACM SIGIR Conference on Research and Development in Information Retrieval in the Asia Pacific Region; Dec 9-12, 2024:209-215; Tokyo, Japan. URL: https://dl.acm.org/doi/pdf/10.1145/3673791.3698412 [Accessed 2025-08-27]
  28. Liu Y, Ott M, Goyal N, et al. RoBERTa: a robustly optimized BERT pretraining approach. arXiv. Preprint posted online on 2019. [CrossRef]
  29. SciPy API reference. KDTree—SciPy v1.16.1 Manual. URL: https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.KDTree.html [Accessed 2024-07-01]
  30. Pérez JM, Rajngewerc M, Giudici JC, et al. Pysentimiento: a python toolkit for opinion mining and social NLP tasks. arXiv. Preprint posted online on 2024. [CrossRef]
  31. Ekman P. An argument for basic emotions. Cognition and Emotion. May 1992;6(3-4):169-200. [CrossRef]
  32. Mathieu E, Ritchie H, Rodés-Guirao L, et al. COVID-19 pandemic. Our world in data. Mar 7, 2020. URL: https://ourworldindata.org/coronavirus [Accessed 2024-07-01]
  33. Fundamental algorithms for scientific computing in Python. SciPy. Feb 3, 2020. URL: https://scipy.org/ [Accessed 2024-11-17]
  34. Heat and health in the WHO European Region: updated evidence for effective prevention. World Health Organization. WHO Regional Office for Europe; Feb 8, 2021. URL: https://www.who.int/europe/publications/i/item/9789289055406 [Accessed 2025-05-28]
  35. Zhang T, Yang K, Ji S, Ananiadou S. Emotion fusion for mental illness detection from social media: A survey. Inf Fusion. Apr 2023;92:231-246. [CrossRef]
  36. Chen X, Sykora MD, Jackson TW, Elayan S. What about mood swings: identifying depression on twitter with temporal measures of emotions. 2018. Presented at: Companion of The Web Conference 2018 on The Web Conference 2018 - WWW ’18; Nov 25-28, 2018:1653-1660; Tokyo, Japan. URL: https://dl.acm.org/doi/proceedings/10.1145/3279778 [Accessed 2025-08-27] [CrossRef]
  37. García-Fernández L, Romero-Ferreiro V, Padilla S, Lahera G, Rodriguez-Jimenez R. Different emotional profile of health care staff and general population during the COVID-19 outbreak. Psychol Trauma. Feb 2022;14(2):266-272. [CrossRef] [Medline]
  38. American Psychiatric Association. Diagnostic and Statistical Manual of Mental Disorders: DSM-5. 5th ed. American Psychiatric Association; 2013. [CrossRef] ISBN: 9780890425541
  39. Muthuri R, Senkubuge F, Hongoro C. Determinants of happiness among healthcare professionals between 2009 and 2019: a systematic review. Humanit Soc Sci Commun. Sep 16, 2020;7(1):98. [CrossRef]
  40. McHugh J, Trotman P, Nicholson HD, Smith-Han K. Conceptualising wellbeing among health-care workers during the Covid-19 pandemic. Health (London). May 2025;29(3):335-354. [CrossRef] [Medline]
  41. Zhou T, Wang Q, Wang Y, Cheng L. Coping with epidemic-related job stressors in healthcare workers during the late stage of the COVID-19 pandemic: effects of reflective functioning and cognitive emotion regulation. Psychol Res Behav Manag. 2023;16:4377-4388. [CrossRef] [Medline]
  42. Lazarus RS. Stress, Appraisal, and Coping. Springer; 1984. URL: https://books.google.ca/books/about/Stress_Appraisal_and_Coping.html?id=i-ySQQuUpr8C&redir_esc=y [Accessed 2025-08-26] ISBN: 0826141927
  43. Kunzler AM, Helmreich I, Chmitorz A, et al. Psychological interventions to foster resilience in healthcare professionals. Cochrane Database Syst Rev. Jul 5, 2020;7(7):CD012527. [CrossRef] [Medline]
  44. Bautista JR, Zhang Y, Gwizdka J. Professional identity and perceived crisis severity as antecedents of healthcare professionals’ responses to health misinformation on social media. In: Smits M, editor. Information for a Better World: Shaping the Global Future. Springer International Publishing; 2022:273-291. [CrossRef] ISBN: 9783030969592
  45. Saha K, Torous J, Caine ED, De Choudhury M. Psychosocial effects of the COVID-19 pandemic: large-scale quasi-experimental study on social media. J Med Internet Res. Nov 24, 2020;22(11):e22600. [CrossRef] [Medline]
  46. Ashokkumar A, Pennebaker JW. Social media conversations reveal large psychological shifts caused by COVID-19’s onset across U.S. cities. Sci Adv. Sep 24, 2021;7(39):eabg7843. [CrossRef] [Medline]
  47. Guntuku SC, Sherman G, Stokes DC, et al. Tracking mental health and symptom mentions on Twitter during COVID-19. J Gen Intern Med. Sep 2020;35(9):2798-2800. [CrossRef] [Medline]
  48. Ockerman S, Carrier E. Predicting COVID-19 case counts using Twitter image data. 2022. Presented at: 2022 21st IEEE International Conference on Machine Learning and Applications (ICMLA); Dec 12-14, 2022:1695-1701; Nassau, Bahamas. [CrossRef]
  49. Shen C, Chen A, Luo C, Zhang J, Feng B, Liao W. Using reports of symptoms and diagnoses on social media to predict COVID-19 case counts in mainland China: observational infoveillance study. J Med Internet Res. May 28, 2020;22(5):e19421. [CrossRef] [Medline]
  50. GitHub. CNAI-Lab. URL: https:/​/github.​com/​cnai-lab/​Resilience_and_Emotional_Responses_of_Healthcare_Professionals_to_COVID-19 [Accessed 2025-07-27]


HCP: health care professional
IRB: institutional review board


Edited by Javad Sarvestan; submitted 14.02.25; peer-reviewed by Dorit Nitsan, Seda Salman Yilmaz; final revised version received 28.05.25; accepted 29.05.25; published 03.09.25.

Copyright

© Noa Tal, Idan-Chaim Cohen, Aviad Elyashar, Nir Grinberg, Rami Puzis, Odeya Cohen. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 3.9.2025.

This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in the Journal of Medical Internet Research (ISSN 1438-8871), is properly cited. The complete bibliographic information, a link to the original publication on https://www.jmir.org/, as well as this copyright and license information must be included.