Abstract
Background: The fear of pain (FOP) and fear avoidance belief (FAB) play a crucial role in the occurrence and development of chronic pain. However, the dynamics of these factors in postsurgical pain appear to differ, with the FOP often learned from others rather than directly caused by painful experiences. Psychological resilience refers to an individual’s capacity to adapt effectively to adversity, challenges, and threats, and may play a significant role in overcoming the FOP and avoidance behavior.
Objective: The aim of this study was to investigate the role of psychological resilience in overcoming the FOP and avoidance behavior among surgical patients undergoing lung surgery.
Methods: Participants were recruited at the Wuhan Union Hospital. Psychological resilience was measured using the Connor-Davidson Resilience Scale. The FOP was assessed using the simplified Chinese version of the Fear of Pain-9 items. The FAB was measured using the Physical Activity subscale of the Fear-Avoidance Beliefs Questionnaire. Activity recovery was assessed through questions related to social activities and household responsibilities. The adaptive least absolute shrinkage and selection operator (Lasso) regression analysis under nested cross-validation was used to identify key factors affecting postoperative FOP and activity recovery.
Results: A total of 144 participants were included in the final analysis. The results showed that preoperative FOP (coefficient=8.620) and FAB (coefficient=8.560) were mainly positively correlated with postoperative FOP, while psychological resilience (coefficient=−5.822) and age (coefficient=−2.853) were negatively correlated with it. These average R2 of these models was 73% (SD 6%). Psychological resilience was the most important factor in predicting activity recovery, and these models obtained an average accuracy of 0.820 (SD 0.024) and an average area under the curve of 0.926 (SD 0.044).
Conclusions: Psychological resilience was negatively associated with the postoperative FOP and positively with activity recovery in patients who underwent lung surgery. Patients with higher resilience are more likely to cope effectively with postsurgical pain and recover activities sooner. These findings highlight the importance of assessing and potentially enhancing psychological resilience in the perioperative period to improve postoperative outcomes.
doi:10.2196/63556
Keywords
Introduction
Psychological factors such as the fear of pain (FOP) and fear avoidance belief (FAB) are thought to play an important role in the occurrence and development of chronic pain [
- ]. Based on the fear-avoidance model, among patients with chronic pain, painful experiences from activities will lead to the FOP, and then cause patients to refuse activities until disability, which in turn can lower the pain threshold and thus more easily lead to painful experiences after activities, forming a vicious cycle of fear reinforcement [ , ].However, this seems to be different in the case of postsurgical pain. Our previous research [
] has shown that the FOP is related to postsurgical pain and can lead to avoidance behavior. A significant portion of this FOP is learned from others’ teaching or observational learning, while the FOP being directly caused by painful experiences is relatively rare. This seems to indicate that some people refuse to engage in certain activities such as coughing and ambulation from the beginning based on their cognition, rather than pain experience, as they have heard others tell them that such activities are dangerous.A good pain experience after activities can help break the cycle of the FOP. The fear-avoidance model does not explain the dynamics underlying the FOP and functional recovery [
], such as how some postoperative patients can still continue to perform rehabilitation activities despite pain. It seems that there is an internal drive that prompts patients to overcome their fears and produce positive recovery behaviors.Psychological resilience, also known as mental toughness [
], refers to an individual’s capacity to adapt effectively to adversity, challenges, and threats [ ]. Psychological resilience has a positive impact in patients undergoing knee surgery and those with pain catastrophizing [ ], as well as its predictive role in dental phobia [ ]. However, its relationship with postsurgical pain and the FOP remains understudied.Individuals with low psychological resilience tend to avoid stressful situations [
]. In this study, we aimed to understand the role of psychological resilience in overcoming the FOP and avoidance behavior among surgical patients. To this end, we followed up a sample from a previous study [ ] to observe the impact of psychological resilience on the FOP and behavior, aiming to assist in postsurgical pain management.Methods
Participants
This study was a single-center, cohort study of patients who were hospitalized to undergo thoracic surgery at the Wuhan Union Hospital, a tertiary hospital located in Wuhan, China, from May 2022 to January 2023. Participants were recruited based on the following inclusion criteria: (1) they were at least 18 years old; (2) they had undergone lung surgery; and (3) they did not have a history of neurological or psychiatric disorders. The exclusion criteria included individuals who experienced critical conditions during the study period or those who did not complete follow-up assessments. In the context where the sample size exceeds 10 events per variable [
], and considering a potential 10% dropout rate, we would terminate the further enrollment of participants.Ethical Considerations
This study was a follow-up study based on earlier research [
] (Registration number: ChiCTR2200056651), and has been approved by the institutional ethics board of Wuhan Union Hospital of Tongji Medical College, Huazhong University of Science and Technology (No. 20220026‐2). All the participants provided written and oral informed consent. The original informed consent form, which was approved by the same ethics committee, explicitly allows for secondary analysis without the need for additional consent (No. 20200351). Participants were provided with free counseling services during the follow-up period as a form of compensation. All study data have been anonymized or deidentified to protect the privacy and confidentiality of the participants.Fear of Pain
Before surgery and 6 months after surgery, we used the simplified Chinese version of the Fear of Pain-9 items (FOP-9) [
] to gather data on the FOP. The FOP-9 is a 5-point ordinal Likert scale where total scores range from 9 to 45, and a higher score signifies a greater level of FOP.Fear Avoidance Belief
On the third day after surgery, the Physical Activity subscale of the Fear-Avoidance Beliefs Questionnaire (FABQ-PA) was used to measure the FAB. The FABQ-PA is a self-reported questionnaire comprising the first 5 questions of the original Fear-Avoidance Beliefs Questionnaire [
]. A higher score on this subscale signifies a greater tendency towards the FAB.Psychological Resilience
Psychological resilience was collected 1 month after surgery by using the Connor-Davidson Resilience Scale (CD-RISC) [
]. The CD-RISC comprises 25 items, each rated on a 5-point scale (0‐4), with higher scores reflecting greater psychological resilience.Activity Recovery
Activity recovery was defined as the recovery of social activities and housework after discharge. Activity recovery was assessed at 6 months after surgery through questions such as, “Are your current social activities, like work and community activities, similar to what they were before the surgery?” and “Have your current family responsibilities returned to what they were before the surgery?” The answers were categorized as being lower or similar/higher than they were before surgery. Both the answers of “similar/higher” meant that the activity recovery was positive.
Statistics
We used the adaptive least absolute shrinkage and selection operator (Lasso) with nested cross-validation to conduct variable selection, coefficient estimation, and performance prediction. All the statistics were completed using Python 3.12 (Python Software Foundation) and the scikit-learn library (developed by a community of open-source contributors, initially started by David Cournapeau). The process was as follows [
]: (1) Feature preprocessing: We conducted standardization on numeric features and one-hot encoding on categorical features. In order to avoid the problem of multicollinearity, we set the first one as the baseline and dropped it for each categorical variable, such as “Male” in sex, “Primary School” in education, “Presence” in chronic pain, and “Wedge Resection” in the surgery method. (2) Model training: We estimated the initial coefficients using Ridge regression with 5-fold cross-validation, and then conducted model training with the adaptive Lasso with 5-fold cross-validation after weighing the coefficients. (3) Model evaluation: In the 5-fold outer cross-validation, we selected the optimal model and calculated the average value of the model fitting parameters. (4) Variable estimation: We reported the regularization parameters and variable coefficients of the optimal model.Results
Characteristics
A total of 150 patients met the study’s inclusion criteria. However, 6 (4%) patients were excluded as they were lost to follow-up. A total of 144 participants were included in the final analysis, and the baseline characteristics are listed in
. The study flow is shown in .Characteristics | Value |
Age (years), mean (SD) | 52.40 (13.37) |
Sex, n (%) | |
Male | 73 (50.7) |
Female | 71 (49.3) |
Education, n (%) | |
Primary school | 20 (13.9) |
Middle school | 30 (20.8) |
High school | 43 (29.9) |
University | 51 (35.4) |
Chronic pain, n (%) | |
Absence | 137 (95.1) |
Presence | 7 (4.9) |
Preoperative FOP | , median (IQR)16 (13-23) |
Surgery method, n (%) | |
Wedge resection | 24 (16.7) |
Segmental resection | 64 (44.4) |
Lobectomy | 56 (38.9) |
Pain intensity, median (IQR) | 3 (1-4) |
Fear avoidance belief, median (IQR) | 11 (8-15) |
Psychological resilience, mean (SD) | 49.54 (12.99) |
Activity recovery, n (%) | |
Lower | 38 (26.4) |
Similar/Higher | 106 (73.6) |
Postoperative FOP, median (IQR) | 20 (14-28) |
aFOP: fear of pain.

Postoperative FOP as the Dependent Variable
The statistical analysis showed that the mean squared error was 14.273 (SD 3.254), indicating a reasonable prediction error range with room for improvement. The mean R² value was 0.731 (SD 0.060), suggesting that the models could account for approximately 73.1% (SD 6%) of the variance in postoperative FOP and had a relatively good fit. The optimal alpha of the optimal model was 0.081. The coefficient of the optimal model revealed that the preoperative FOP, FAB, and pain intensity had significant positive effects on the postoperative FOP with coefficients of 8.620, 8.560, and 0.417, respectively. In contrast, psychological resilience and age had significant negative impacts, with coefficients of −5.822 and −2.853, respectively. Among categorical variables, patients with a university education had lower postoperative FOP compared to those with primary school education, while female patients had a higher postoperative FOP than male patients did. The surgical method and chronic pain had no significant effect on the postoperative FOP (
).Independent variables | Coefficient |
Age | –2.853 |
Sex | |
Male | 0.000 |
Female | 0.778 |
Education | |
Primary school | 0.000 |
Middle school | −0.000 |
High school | 0.000 |
University | −0.190 |
Chronic pain | |
Absent | 0.000 |
Present | 0.000 |
Preoperative FOP | 8.620 |
Surgery method | |
Wedge resection | 0.000 |
Segmental resection | -0.005 |
Lobectomy | 0.000 |
Pain intensity | 0.417 |
Fear avoidance belief | 8.560 |
Psychological resilience | −5.822 |
aLambda is 0.081 for all variables.
Activity Recovery as the Dependent Variable
The model performed excellently after analysis, with an average accuracy of 0.820 (SD 0.024) and an average area under the curve of 0.926 (SD 0.044), indicating that the model had a good predictive ability and stability for activity recovery. Psychological resilience, FAB, and pain intensity were significant factors that affected the activity recovery, with coefficients of 1.185, −0.966, and −0.170, respectively. Both university education and segmental resection significantly positively affected activity recovery compared to baseline, with coefficients of 0.283 and 0.042, respectively. Age, sex, chronic pain, and preoperative FOP had no significant effect on activity recovery (
).Independent variables | Coefficient |
Age | 0.000 |
Sex | |
Male | 0.000 |
Female | 0.000 |
Education | |
Primary school | 0.000 |
Middle school | 0.000 |
High school | 0.000 |
University | 0.283 |
Chronic pain | |
Absent | 0.000 |
Present | 0.000 |
Preoperative FOP | 0.000 |
Surgery method | |
Wedge resection | 0.000 |
Segmental resection | 0.042 |
Lobectomy | 0.000 |
Pain intensity | −0.170 |
Fear avoidance belief | −0.966 |
Psychological resilience | 1.185 |
aLambda is 2.783 for all variables.
bFOP: fear of pain.
Discussion
Study Findings
This study delved into the role of psychological resilience in perioperative FOP and avoidance behavior among surgical patients, particularly those undergoing lung surgery. The findings contribute novel insights to the existing literature, suggesting that psychological resilience may serve as a crucial factor in breaking the vicious cycle of FOP and facilitating recovery.
Impact of Psychological Resilience on Postoperative FOP
Our study employed adaptive Lasso regression under nested cross-validation to analyze the factors influencing postoperative FOP, a common phenomenon experienced by patients following surgery [
]. The developed model demonstrated robust performance, with a high proportion of variance explained in postoperative FOP. Among the factors, psychological resilience emerged as the most significant inhibitory factor influencing postoperative FOP. Preconceived biases regarding postoperative activities and pain can lead to the development of the FOP [ , ]. We observed that some patients strictly adhered to the doctor’s orders despite potential pain, while others rejected and avoided them. This disparity can be attributed to the varying levels of psychological resilience among individuals. Resilient individuals are more likely to accept and face pain, actively adjust their pain concepts, and gradually expose themselves to pain stimuli [ , ]. For instance, they may perceive postoperative pain as a normal part of the recovery process and actively communicate with medical staff to learn pain management strategies, gradually adapting to and overcoming the FOP. Conversely, individuals with lower psychological resilience may avoid stressful situations, including postoperative activities, leading to a vicious cycle of pain, fear, and avoidance [ , , ].Impact of Psychological Resilience on Postoperative Activity Recovery
The adaptive Lasso logistic regression exhibited higher accuracy and area under the curve values with a lower standard deviation, indicating that the model has high accuracy and stability in predicting postoperative activity recovery. The fact that the coefficient of psychological resilience is the largest revealed that psychological resilience had a stronger influence on postoperative activity recovery than other factors. This suggests that psychological resilience primarily enables individuals to initiate activities that may cause pain despite the presence of FOP, serving as a positive factor in overcoming fear. Patients with higher psychological resilience tend to have better ability to resume their activities postoperatively [
, ], and our research has also confirmed this. They may be more actively involved in social interactions and resume daily housework, thereby promoting physical function recovery and improving psychological well-being, resulting in a virtuous cycle. This may be because patients with high psychological resilience are better able to cope with negative emotions, have more reasonable cognitive expectations of the rehabilitation process, and can better overcome the fear of activities, thus promoting the recovery of postoperative activities [ , ].Study Limitations
This study has several limitations. First, psychological resilience was measured postoperatively, which may introduce bias due to the impact of surgery. Second, although both models demonstrated certain predictive abilities, there is room for improvement in the R² values. Third, the generalizability of the findings is limited, as this study specifically focused on patients undergoing lung surgery, and the results may not be applicable to all surgical patients. Therefore, conducting multicenter studies with a bigger sample size would further validate the robustness of the results.
Conclusion
This study revealed the significant role of psychological resilience in postsurgical pain management, particularly in reducing the FOP and promoting recovery of activities. Individuals with higher psychological resilience are more likely to effectively cope with postsurgical pain and reduce avoidance behaviors. These findings underscore the importance of assessing and potentially enhancing psychological resilience during the perioperative period, especially for those with higher levels of FOP. By fostering resilience and promoting correct pain cognition, clinical practitioners can empower patients to overcome the FOP, engage in rehabilitation activities, and achieve better postoperative outcomes.
Acknowledgments
This study was supported by the general program of Hubei Provincial Natural Science Foundation of China (No. 2021CFB588).
Data Availability
The datasets generated during and analyzed during this study are available from the corresponding author on reasonable request.
Conflicts of Interest
None declared.
References
- Sugano R, Ikegami K, Ando H, et al. The relationship between fear-avoidance beliefs in employees with chronic musculoskeletal pain and work productivity: a longitudinal study. J UOEH. 2020;42(1):13-26. [CrossRef] [Medline]
- Meier ML, Stämpfli P, Humphreys BK, Vrana A, Seifritz E, Schweinhardt P. The impact of pain-related fear on neural pathways of pain modulation in chronic low back pain. Pain Rep. May 2017;2(3):e601. [CrossRef] [Medline]
- Luo H, Cai Z, Huang Y, et al. Study on pain catastrophizing from 2010 to 2020: a bibliometric analysis via CiteSpace. Front Psychol. 2021;12:759347. [CrossRef] [Medline]
- Crombez G, Eccleston C, Van Damme S, Vlaeyen JWS, Karoly P. Fear-avoidance model of chronic pain: the next generation. Clin J Pain. Jul 2012;28(6):475-483. [CrossRef] [Medline]
- Varangot-Reille C, Pezzulo G, Thacker M. The fear-avoidance model as an embodied prediction of threat. Cogn Affect Behav Neurosci. Oct 2024;24(5):781-792. [CrossRef] [Medline]
- Luo Y, He J, Bao L, Meng H, Hu C, Chen Q. Fear of pain as a predictor for postoperative pain intensity among the patients undergoing thoracoscopic surgery. Pain Res Manag. 2022;2022:2201501. [CrossRef] [Medline]
- Soundara Pandian PR, Balaji Kumar V, Kannan M, Gurusamy G, Lakshmi B. Impact of mental toughness on athlete’s performance and interventions to improve. J Basic Clin Physiol Pharmacol. Jul 1, 2023;34(4):409-418. [CrossRef] [Medline]
- Bögemann SA, Puhlmann LMC, Wackerhagen C, et al. Psychological resilience factors and their association with weekly stressor reactivity during the COVID-19 outbreak in Europe: prospective longitudinal study. JMIR Ment Health. Oct 17, 2023;10:e46518. [CrossRef] [Medline]
- Stamatis A, Morgan GB, Spinou A, Tsigaridis KG. Mental toughness and osteoarthritis: postsurgery improvement in knee pain/functionality in older adults. Rehabil Psychol. May 2023;68(2):212-219. [CrossRef] [Medline]
- Tian H, Ding X, Lin C, Qu P, Fan X. Study of dental phobia, psychological resilience, and related factors in children aged 8-9 years in Weifang city. Hua Xi Kou Qiang Yi Xue Za Zhi. Feb 1, 2023;41(1):73-79. [CrossRef] [Medline]
- Babić R, Babić M, Rastović P, et al. Resilience in health and illness. Psychiatr Danub. Sep 2020;32(Suppl 2):226-232. [Medline]
- Bao L, Peng C, He J, Sun C, Feng L, Luo Y. The relationship between fear avoidance belief and threat learning in postoperative patients after lung surgery: an observational study. Psychol Res Behav Manag. 2023;16:3259-3267. [CrossRef] [Medline]
- Tabachnick BG, Fidell LS. Using Multivariate Statistics. Pearson Education; 2013. URL: https://books.google.com.sg/books?id=ucj1ygAACAAJ [Accessed 2023-12-11]
- Luo Y, Li S, He J, et al. Translation and validation of fear of pain-9 items into simplified Chinese version for Mainland China. J Pain Res. 2021;14:35-40. [CrossRef] [Medline]
- Waddell G, Newton M, Henderson I, Somerville D, Main CJ. A fear-avoidance beliefs questionnaire (FABQ) and the role of fear-avoidance beliefs in chronic low back pain and disability. Pain. Feb 1993;52(2):157-168. [CrossRef] [Medline]
- Connor KM, Davidson JRT. Development of a new resilience scale: the Connor-Davidson Resilience Scale (CD-RISC). Depress Anxiety. 2003;18(2):76-82. [CrossRef] [Medline]
- Ballout N, Etievant L, Viallon V. On the use of cross-validation for the calibration of the adaptive lasso. Biom J. Jun 2023;65(5):e2200047. [CrossRef] [Medline]
- Ustunel F, Erden S. Evaluation of fear of pain among surgical patients in the preoperative period. J Perianesth Nurs. Apr 2022;37(2):188-193. [CrossRef] [Medline]
- Pak R, Mahmoud Alilou M, Bakhshipour Roudsari A, Yousefpour F. Experiential avoidance as a factor in generalized psychological vulnerability: in the relationship between chronic pain and pain anxiety with pain disability. Pain Manag Nurs. Jun 2024;25(3):e256-e264. [CrossRef] [Medline]
- Shojaie D, Hoffman AS, Amaku R, et al. Decision making when cancer becomes chronic: needs assessment for a web-based medullary thyroid carcinoma patient decision aid. JMIR Form Res. Jul 16, 2021;5(7):e27484. [CrossRef] [Medline]
- Dursun A, Kaplan Y, Altunbaş T, Bahtiyar M. The mediating effect of experiential avoidance on the relationship between psychological resilience and psychological needs in the COVID-19 pandemic. Curr Psychol. May 19, 2022;43(14):1-11. [CrossRef] [Medline]
- Seçer İ, Ulaş S, Karaman-Özlü Z. The effect of the fear of COVID-19 on healthcare professionals’ psychological adjustment skills: mediating role of experiential avoidance and psychological resilience. Front Psychol. 2020;11:561536. [CrossRef] [Medline]
- Kartal M, Kapikiran G, Karakas N. The effect of emergency nurses’ psychological resilience on their thanatophobic behaviors: a cross-sectional study. Omega (Westport). Aug 2024;89(3):1273-1285. [CrossRef] [Medline]
- The REGAIN (Regional versus General Anesthesia for Promoting Independence after Hip Fracture) Investigators. Preoperative psychological resilience and recovery after hip fracture: secondary analysis of the regain randomized trial. J American Geriatrics Society. Dec 2023;71(12):3792-3801. [CrossRef]
- Berthold DP, Bormann M. Editorial commentary: psychological resilience promotes positive outcomes after surgery. Arthroscopy: The Journal of Arthroscopic & Related Surgery. Dec 2024;40(12):2895-2896. [CrossRef]
- Al Ta’ani Z, Al Ta’ani O, Gabr A, et al. From fear to resilience: a scoping review of psychological components in anterior cruciate ligament rehabilitation. J Sport Rehabil. Nov 1, 2024;33(8):591-618. [CrossRef] [Medline]
- Broche-Perez Y, Jimenez-Morales RM, Vázquez-Gómez LA, Bauer J, Fernández-Fleites Z. Fear of relapse and quality of life in multiple sclerosis: the mediating role of psychological resilience. Mult Scler Relat Disord. Nov 2023;79:105026. [CrossRef] [Medline]
Abbreviations
CD-RISC: Connor-Davidson Resilience Scale |
FAB: fear avoidance belief |
FABQ-PA: Physical Activity subscale of the Fear-Avoidance Beliefs Questionnaire |
FOP: fear of pain |
FOP-9: Fear of Pain-9 items |
Lasso: least absolute shrinkage and selection operator |
Edited by Amaryllis Mavragani; submitted 23.06.24; peer-reviewed by Katherine E Cain, Peter Humburg; final revised version received 18.12.24; accepted 19.12.24; published 07.02.25.
Copyright© Yang Luo, Sisi Li, Lijuan Feng, Junyi Zheng, Chunfen Peng, Lihong Bao. Originally published in JMIR Formative Research (https://formative.jmir.org), 7.2.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 JMIR Formative Research, is properly cited. The complete bibliographic information, a link to the original publication on https://formative.jmir.org, as well as this copyright and license information must be included.