Introduction

Pain management continuously faces major challenges, although acute postsurgical pain (APSP) has attracted increased attention1. A larger cross-sectional study with 15,000 patients showed that 37% experienced moderate pain and 11% experienced severe pain within the first 24 h post-operation2. Moderate or severe APSP has an adverse effect on early recovery. The consequences of poorly controlled APSP include prolonged hospital length of stay and increased opioid consumption and medical expenses3. Moreover, APSP is also associated with some major poor outcomes, such as postoperative delirium, cardiovascular events, thromboembolism, and pulmonary complications4,5,6. Persistent acute pain can transition to chronic pain which may lead to long-term disability, decreased quality of life, and increased medical burden1,7,8.

Effective pain management depends on accurate pain assessment. A single pain score using current tools, such as the numerical rating scale (NRS) and visual analogue scale (VAS) is too imprecise to reflect the complexity of pain multidimensionally9. Chapman et al.10 developed a more precise tool for pain measurement called the acute pain trajectory, which can evaluate the effect of pain control dynamically and accurately, where initial pain intensity is characterised through the intercept while the resolution of pain is presented by the slope. The acute pain trajectory is advantageous in individualised pain treatment for postoperative patients since it focuses more on rapid pain resolution, rather than a reduction in pain intensity.

Chronic postsurgical pain (CPSP) refers to pain that occurs in the surgical incision or surrounding areas continuously or intermittently for at least 3 months. Other causes, such as continuing malignancy, chronic infection or continuation of chronic preoperative pain, for the pain should be excluded. Inadequate acute pain control can develop into a poor acute pain trajectory with a positive or flat slope, which is significantly correlated with CPSP11. Furthermore, poor pain trajectory after trauma is also related to posttraumatic stress disorder, persistent depression and cognitive dysfunction12. Given individual differences in the development of chronic pain, early identification of and intervention for major risk factors for CPSP will contribute to reducing the incidence of CPSP13.

Recently, studies have explored the risk factors for chronic pain after gastrointestinal surgery. Some predictors such as young age, female sex, preoperative chronic pain, and preoperative anxiety and depression have been shown to independently predict the CPSP. However, there are limited studies exploring the acute pain trajectory after gastrointestinal surgery. Chang et al.14 described the APSP trajectory for colorectal cancer surgery and explored the relationship between the APSP trajectory and postoperative outcomes such as tumour recurrence and mortality. Nevertheless, no studies have investigated the association between APSP trajectories and CPSP.

This study aims to identify the risk factors for acute pain trajectory after gastrointestinal surgery by investigating demographic, psychological and clinical variables, and to explore the predictive effect of APSP trajectories on CPSP. We hypothesised that MME consumption and some psychological factors were independently associated with APSP trajectories and poor pain trajectories could predict the development of CPSP.

Methods

Study design and participants

This prospective cohort study protocol was registered at the Chinese Clinical Trial Registry (ChiCTR1900024837). Patients for elective gastrointestinal surgery due to gastric or colorectal disease were enrolled between August 2019 and January 2020 at Zhongda Hospital, Southeast University. The study was approved by the Institutional Ethics Committee for Clinical Research of Zhongda Hospital, affiliated to Southeast University (No. 2019ZDSYLL084-P01). All methods were performed in accordance with the relevant guidelines and regulations. We recruited 345 patients to investigate the risk factors for acute pain trajectory after gastrointestinal surgery and explore the predictive effect of APSP trajectories on CPSP. Written informed consent was obtained as a condition to participate in the study. The inclusion criteria were as follows: (1) patients undergoing elective gastrointestinal surgery under general anaesthesia, (2) age ≥ 18 years, (3) physical status classification of the American Society of Anaesthesiologists (ASA) I to III, and (4) without signs indicative of severity. The excluded criteria included patients with expressive language disorder, hearing impairment or visual impairment.

Demographic characteristics and psychological questionnaires

On the day before surgery, demographic data including gender, age, height, weight, occupation status, education level, smoking (never, former, current), alcohol drinking (never, former, current), hypertension, diabetes, coronary heart disease, physical status classification of the ASA, history of previous chronic pain and previous surgery were collected. Moreover, anxiety, depression and fear of surgical procedures were measured using the Hospital Anxiety and Depression Scale (HADS) and Surgical Fear Questionnaire (SFQ) respectively, and expected postsurgical pain intensity was also assessed.

Participants who suffered from pain for more than 3 months were classified as having previous chronic pain. Meanwhile, whether the patients had a history of surgery was recorded. The HADS15, consisting of two seven-item subscales, has been used to measure anxiety and depression levels among patients in nonpsychiatric hospital settings. Subscale scores range between 0 and 21, with higher scores representing higher levels of anxiety and depression. The SFQ16, a valid and reliable indicator of surgical fear, consists of two eight-item subscales: fear of the short-term consequences of surgery (SFQ-s) and fear of the long-term consequences (SFQ-l). Each item has a score range of 0–10. Expected postsurgical pain was measured with an 11-point numerical rating scale (NRS) (on a scale from 0 = no pain at all to 10 = strongest pain imaginable)17.

Surgery and anaesthesia

All surgeries were performed according to the standard protocol by 3 surgeons. Information on the type of surgery, surgical site, duration of surgery, number of drainage tubes, and length of hospital stay was collected. In addition, preoperative clinical factors were obtained from the electronic medical record system. Surgical sites included the stomach, colorectum, and small bowel. The type of surgery was open or laparoscopic.

All patients had no preoperative medications. After admission to the operating room, a peripheral intravenous catheter was inserted. Parameters such as ART, ECG, SpO2, and PETCO2 were monitored routinely. A standardised anaesthesia protocol was administered by one of the anaesthesiologists from the study team. General anaesthesia was rapidly induced with intravenous sufentanil 0.3 μg/kg, propofol 2–2.5 mg/kg, and rocuronium 0.6 mg/kg. After intubation, all patients were placed on the mechanical ventilator with tidal volume (VT) 8–10 ml/kg and respiratory rate (RR) 10–12 times/min. General anesthesia was maintained with inhalation of 2.0–3.0% sevoflurane (0.8–1.0 MAC) and intravenous pumping of remifentanil 0.1–0.3 μg/kg/min and intravenous injection of cisatracurium. Sevoflurane and remifentanil were discontinued at the time of skin suturing, and additional sufentanil 0.1 μg/kg was administered intravenously.

Postoperative analgesia

The primary outcome was average pain intensity assessed using pain NRS scores from 1 to 7 days after surgery. Patients were asked to report their level of pain during movement (changing position from supine to either sitting or standing) in the past day. The average pain intensity over 7 days post-operation was continuously recorded. Patients were questioned about their pain intensity by phone 3 and 6 months postoperatively. CPSP was defined as pain at the incision site or surrounding areas of surgery with pain NRS score ≥ 1 at rest.

Patients received routine postoperative pain management. In the postanaesthesia care unit (PACU), tramadol 50 mg or oxycodone 2 mg was administered intravenously when the NRS pain score at rest was ˃ 3. On the ward, patients received oral celecoxib 200 mg every 12 h and patient-controlled intravenous analgesia (PCIA) with oxycodone or sufentanil. Additionally, during the period of self-controlled analgesia, rescue analgesia was provided with intravenous tramadol if necessary. Analgesic consumption during the first 24 h postoperatively was recorded from the time patients arrived in the PACU. To compare analgesic consumption, intravenous opioid analgesics were converted to oral milligram morphine equivalents (MME). MME was calculated using standard MME conversion factors (https://pain.ucsf.edu/opioid-analgesics/calculation-oral-morphine-equivalents-ome).

Statistical analysis

Analyses were performed with R software, version 3.6.3 (Foundation for Statistical Computing, Vienna, Austria). The features of the pain trajectory intercept and slope were calculated using an ordinary least squares fit regression equation based on the pain intensity of the 7 postoperative days. K-means clustering was used to specify all categories between 2 and 15, clustering the variables such as intercept and slope. The optimal number of clusters was determined based on the majority rule provided by the NbClust package in R.

The mean ± standard deviation was used to express normally distributed variables, while the median (interquartile range) was used for nonnormally distributed variables. Categorical data are described as numbers (percentages). Continuous variables among multiple groups were analysed using one-way ANOVA or the Kruskal–Wallis H test. Chi-square tests were performed to compare the categorical variables. A P value of < 0.05 was considered statistically significant. SAS 9.4 (SAS Institute Inc., Cary, NC) was used to perform multiple linear regression and multivariate logistic regression analyses.

Results

A total of 345 patients undergoing gastrointestinal surgery were recruited for this study. Of these, 31 refused to participate and 6 withdrew their consent. Excluded cases included 12 with incomplete questionnaires, 8 with surgical cancellation, and 6 with unplanned admission to the intensive care unit (ICU). A total of 282 patients (81.7%) were available for the analysis of APSP trajectory. Four and 8 patients were lost to follow-up within 3 and 6 months after surgery respectively (Fig. 1).

Figure 1
figure 1

Flow diagram. ICU intensive care unit, CPSP Chronic postsurgical pain.

Description and classification of APSP trajectory

The average APSP trajectory for the 282 patients is illustrated in Suppl. Figure 1. As shown in Suppl. Figure 2, the intercept was negatively correlated with the slope (Pearson’s r = −0.819, P ˂ 0.001). Figure 2A,B show the distribution of the intercept and the slope respectively. The majority of patients (73.7%) suffered moderate initial pain after surgery. Most patients had negative slopes, which demonstrated that pain was resolved gradually within 7 days. The K-means clustering algorithm shows that the optimal number of clusters is 3 (Fig. 3). Various indices according to built-in clustering scheme to determine the optimal cluster number are shown in Suppl. Table 1. The APSP trajectories of the three different groups are shown in Fig. 4. The initial pain intensity was the highest and resolved fastest over time in Group 3 (n = 24). The initial pain intensity was moderate and resolved more slowly in Group 2 (n = 141). In Group 1 (n = 117), the initial pain intensity was the lowest, and pain relief was the slowest.

Figure 2
figure 2

(A) Distribution of the APSP trajectory intercept. (B) Distribution of the APSP trajectory slope. APSP Acute postsurgical pain.

Figure 3
figure 3

The optimal number of clusters. The optimal number of clusters were determined based on the majority rule provided by NbClust package.

Figure 4
figure 4

Results of the APSP trajectory analysis showing three different subgroups of patients. APSP Acute postsurgical pain.

Demographic, clinical, and psychological characteristics among the 3 trajectory groups are shown in Table 1. Three trajectories display negative slope. BMI (P = 0.0310), MME consumption (P = 0.0T337) and preoperative anxiety (P = 0.0448) were significantly different among the 3 groups.

Table 1 Demographic, clinical and psychological characteristics between 3 trajectory groups.

Predictors of the APSP trajectory intercept

In Suppl. Table 2, the univariate analysis shows that the APSP trajectory intercept was significantly associated with preoperative anxiety (β 0.09, 95% CI 0.05–0.12, P ˂ 0.001), preoperative depression (β 0.06, 95% CI 0.02–0.10, P = 0.0036), expected postsurgical pain (β 0.10, 95% CI 0.03–0.16, P = 0.0041) and MME consumption (β 0.06, 95% CI 0.04–0.08, P ˂ 0.001). In addition, age (β −0.13, 95% CI 0.25–0.02, P = 0.0252, by 10 years), BMI (β 0.05, 95% CI 0.02–0.07, P = 0.0013), preoperative chronic pain (β 0.51, 95% CI 0.18–0.84, P = 0.0024), SFQ-s (β 0.03, 95% CI 0.01–0.04, P = 0.0020) and SFQ-l (β 0.02, 95% CI 0.01–0.04, P = 0.0079) were correlated with the intercept.

A multiple linear regression analysis was conducted to determine the predictors of APSP trajectory intercept (Table 2). BMI (β 0.04 95% CI 0.01–0.07, P = 0.0067), preoperative chronic pain (β 0.40 95% CI 0.06–0.73, P = 0.0208), preoperative anxiety (β 0.12, 95% CI 0.08–0.15, P = 0.0305) and MME consumption (β 0.04, 95% CI 0.02–0.06, P = 0.0382) were independent predictors of the intercept.

Table 2 Multivariate analysis of predictors for APSP trajectory intercept.

Predictors of the APSP trajectory slope

Univariate logistic regression showed that the APSP trajectory slope was significantly correlated with age (OR 0.10, 95% CI 0.02–0.18, P = 0.0174, ≥ 65 vs. ≤ 50), BMI (OR −0.05, 95% CI −0.1 to −0.01, P = 0.0229), preoperative anxiety (OR −0.008, 95% CI −0.015 to −0.002, P = 0.0127) and MME consumption (OR −0.018, 95% CI −0.026 to −0.011, P = 0.0193) (Suppl. Table 3).

After adjustment for potential confounding factors, we observed that preoperative anxiety (OR −0.016, 95% CI −0.027 to −0.005, P = 0.0063) and MME consumption (OR −0.010, 95% CI −0.014 to −0.006, P = 0.0327) were independently associated with the slope (Table 3).

Table 3 Multivariate analysis of predictors for APSP trajectory slope. APSP Acute presurgical pain, MME morphine milligram equivalent, HADS Hospital Anxiety and Depression Scale.

Predictors of CPSP at 3 months

A total of 278 patients completed follow-up at 3 months after surgery. The incidence of CPSP at 3 months was 30.6%. As shown in Suppl. Table 4, univariate analysis showed that the APSP trajectory (OR 0.56 95% CI 0.33–0.97, P = 0.0376, Group 2 vs. Group 1), preoperative anxiety (OR 1.09 95% CI 1.01–1.17, P = 0.0213), preoperative depression (OR 1.10 95% CI 1.02–1.17, P = 0.0128), SFQ-s (OR 1.03 95% CI 1.00–1.06, P = 0.0269) and SFQ-l (OR 1.04 95% CI 1.01–1.07, P = 0.0092) were significantly correlated with CPSP at 3 months. Meanwhile, CPSP at 3 months was correlated with female (OR 1.84 95% CI 1.09–3.08, P = 0.0215), age (OR 0.97 95% CI 0.95–0.99, P = 0.0123), preoperative chronic pain (OR 2.00 95% CI 1.13–3.56, P = 0.0178) and type of surgery (OR 0.53 95% CI 0.29–0.96, P = 0.0375).

After multivariable risk adjustment for potential confounding factors, the predictors of CPSP at 3 months included age (OR 0.93 95% CI 0.88–0.97, P = 0.0007) and APSP trajectory (OR 0.50 95% CI 0.26–0.93, P = 0.0297, Group 2 vs. Group 1) (Table 4).

Table 4 Multivariate analysis of predictors for CPSP at 3 months. CPSP Chronic postsurgical pain.

Predictors of CPSP at 6 months

A total of 274 patients completed follow-up at 6 months after surgery. The incidence of CPSP at 6 months was 16.4%. As shown in Suppl. Table 5, CPSP at 6 months was significantly correlated with preoperative anxiety (OR 4.05 95% CI 2.03–8.10, P < 0.001), preoperative depression (OR 1.09 95% CI 1.01–1.19, P = 0.0300) and SFQ-s (OR 1.04 95% CI 1.00–1.07, P = 0.0381). Additionally, female sex (OR 2.20 95% CI 1.15–4.20, P = 0.0170), age (OR 0.336 95% CI 0.13–0.87 P = 0.0253, ≥ 65 vs. ≤ 50) and preoperative chronic pain (OR 2.03 95% CI 1.02–4.03, P = 0.0439) were significantly correlated with CPSP at 6 months.

Multivariate logistic regression showed that female sex (OR 4.80 95% CI 1.16–19.91, P = 0.0305) and preoperative anxiety (OR 5.28 95% CI 1.59–17.54, P = 0.0067) were independent predictors of CPSP at 6 months (Table 5).

Table 5 Multivariate analysis of predictors for CPSP at 6 months. CPSP Chronic postsurgical pain.

Discussion

To the best of our knowledge, there were few prospective studies describing the APSP trajectory for gastrointestinal surgery, and very few studies have explored the association between the APSP trajectory and CPSP. In this study, we assessed possible predictors for the APSP trajectory for gastrointestinal surgery and identified the independent predictive effect of the APSP trajectory on CPSP. We discovered that BMI, preoperative chronic pain, preoperative anxiety, preoperative depression and MME consumption were independently associated with the APSP trajectory intercept. Meanwhile, preoperative anxiety and MME consumption were independently associated with the APSP trajectory slope. In addition, the study showed that age and APSP trajectory could independently predict CPSP at 3 months, and female sex and preoperative anxiety could independently predict CPSP at 6 months. However, the APSP trajectory could not predict CPSP at 3 months.

CPSP is strongly correlated with a high APSP trajectory intercept18. Sipilä et al.19 demonstrated that the predictors associated with the APSP trajectory intercept for breast cancer surgery were the amount of oxycodone needed for adequate analgesia and preoperative pain in the area of the operation. Additionally, a prospective cohort study described the APSP trajectory for mixed surgery and showed that the moderate and high pain trajectory group needed more postoperative opioids than the low pain trajectory group20. Similarly, our study found strong predictive factors for the intercept such as preoperative chronic pain and MME consumption. Meanwhile, we identified that preoperative anxiety was independently associated with the intercept. Althaus et al.21 investigated the predictive factors of the APSP trajectory and found that preoperative anxiety and female sex could independently predict the intercept. However, we did not find a predictive effect of age.

The APSP trajectory slope defined as resolution over time is strongly associated with potential factors. A prospective cohort study observed the risk factors for the acute pain trajectory after breast cancer and showen that BMI, expected postsurgical pain intensity and the amount of oxycodone needed for adequate analgesia were independent predictors of the APSP trajectory slope19. In our study, we found that MME consumption was independently associated with the slope. BMI was correlated with the slope but did not independently predict the slope after adjustment for potential confounding factors.

Preoperative anxiety was independently associated with APSP intensity and severity22. Pagé et al.23 demonstrated that preoperative anxiety could independently predict the APSP trajectory slope in a longitudinal study after total hip arthroplasty. A retrospective cohort study estimated the trajectory of postoperative pain using group-based trajectory modelling and discovered that preoperative anxiety and depression were predictors of the APSP trajectory slope21. Our study also showed that preoperative anxiety was an independent predictor of the slope, but preoperative depression was not.

APSP trajectory can dynamically reflect pain resolution over time, which contributes to identifying patients with risk factors for the development of persistent pain. In our study, trajectory Group 2, with the most favourable profile, was a protective factor for CPSP at 3 months.

The incidence of CPSP at 3 months in Group 2 was reduced by 55% compared with Group 1, which could probably be explained by the lower initial pain intensity and faster pain resolution in Group 2. In a prospective cohort study that investigated the acute pain trajectory after knee arthroplasty, the trajectory with low pain resolution was defined as an unfavourable pain trajectory. The study showed that an unfavourable maximal pain trajectory and pain trajectory at mobilization could independently predict the development of persistent pain24. Daoust et al.11 assessed the predictive power of acute pain intensity trajectories over 14 days after emergency department discharge for chronic pain 3 months later. They discovered that a trajectory with moderate initial pain intensity and flat slope was a strong risk factor for chronic pain 3 months later. Furthermore, Vasilopoulos et al.20 explored whether the APSP trajectory over 7 days after major surgery was a predictive factor for CPSP at 3 months. A pain trajectory with fast and sustained pain resolution was identified as an ideal pain trajectory. A nonideal pain trajectory was a trajectory with late, short, or no pain resolution. Their study showed that a nonideal pain trajectory was an independent predictor for CPSP at 3 months. Therefore, the pain trajectory with a flat slope was closely related to CPSP at 3 months.

In this study, however, we did not find a predictive effect for CPSP at 6 months. Pagé et al.23 investigated whether an acute movement-evoked postoperative pain trajectory over 5 days was associated with postsurgical pain 6 weeks and 6 months later. The pain trajectory with moderate initial pain intensity and a flat slope was identified as an unfavourable pain trajectory. Similar to our study, the unfavourable pain trajectory could only predict the development of postsurgical pain 6 weeks later, but could not predict the development of CPSP 6 months later. Therefore, in view of these studies, the unfavourable pain trajectory could predict the development of short-term postoperative pain instead of long-term postoperative pain.

Furthermore, we discovered that age and preoperative anxiety were predictive factors of CPSP at 6 months. Meanwhile, age was also a predictor of CPSP at 3 months. Similarly, Bruce et al.25 investigated the risk factors for chronic pain after gastrointestinal surgery and found that younger age and female sex were risk factors for CPSP. A population-based cross-sectional study showed that female sex was independently associated with chronic pain at 6 months after gastrointestinal surgery26. VanDenKerkhof et al.27 explored potential predictors for chronic pain after gastrointestinal surgery in a prospective single-centre cohort study. The results showed an independent association between preoperative anxiety and CPSP at 6 months. However, a retrospective study on laparoscopic colorectal surgery found that the predictors for CPSP at 6 months were not age, female sex or preoperative anxiety, but rather redo surgery for anastomotic leakage, inflammatory bowel disease and preoperative pain28. A possible reason was that psychological factors such as anxiety and depression were not included in the study. However, our study did not analyse several potential factors such as redo surgery and inflammatory bowel disease.

Our study had several methodological limitations. First, our study did not analyse preoperative pain sensitivity and genetic factors that were closely correlated with APSP and CPSP. Second, this study described the acute pain trajectory over 7 days. Therefore, the precision of repeated measurement data was probably reduced. In addition, these results cannot yet be generalised to the pain trajectory beyond the first 7 days after surgery. Finally, only 3- and 6-month follow-ups were conducted in our study. It is possible that patients suffer from persistent pain up to 1 year or longer after surgery. Further studies should investigate the association between the APSP trajectory and long-term pain outcomes.

Conclusions

In conclusion, our results demonstrate the existence of three categories of APSP trajectories.

BMI, MME consumption, preoperative chronic pain and anxiety were predictors of the APSP trajectory intercept. Moreover, MME consumption and preoperative anxiety could independently predict the APSP trajectory slope. The APSP trajectory could predict the development of CPSP 3 months later, but not 6 months later. Moreover, age was a predictor of CPSP at 3 months, while female sex and preoperative anxiety could predict CPSP at 6 months. Clinicians need to stay alert for these predictors and pay close attention to pain resolution.