Background

The importance of regular exercise in terms of preventing type 2 diabetes mellitus (T2DM) has been reported in several randomized clinical trials and observational cohort studies [1,2,3]. Many guidelines and the World Health Organization (WHO) recommend at least 150 min of moderate-intensity aerobic physical activity or at least 75 min of vigorous intensity aerobic physical activity per week for preventing T2DM and cardiovascular disease (CVD) [4,5,6]. Recently, it has been reported that a 20-min brisk walk per day could reduce the risk of developing T2DM by almost 20% and that additional physical activity could reduce more T2DM in a study using United Kingdom biobank participants [7]. It is known that some physical activity is better than none, with more physical activity being better and earlier physical activity being the best for preventing T2DM [8].

Thyroid function and glucose metabolism was closely linked. There were several studies that untreated thyroid dysfunction is associated with an increased risk of T2DM [9,10,11]. Recently, it has been reported that patients who have undergone thyroidectomy due to thyroid cancer was more likely to develop T2DM [12]. Regular exercise is generally recommended to improve overall health in patients with thyroid cancer. Considering that regular exercise could prevent T2DM, patients with thyroid cancer may also be able to prevent the development of T2DM through regular exercise. However, no studies have investigated whether exercise habits before and after thyroidectomy have beneficial effects on incident T2DM in patients with thyroid cancer. The aim of this study was to evaluate associations of exercise habits before or after thyroidectomy with incident T2DM in patients with thyroid cancer using a nationwide population-based cohort.

Methods

Data sources

This study used the Korean National Health Information Database (NHID), a database of big data combining information from the National Health Insurance Service (NHIS) and health examinations [13]. NHIS is a single insurer in Korea where 97% of the populations are covered by the national health insurance and 3% of the populations are covered by medical aid [14]. The NHID includes qualification table (e.g., age and sex), treatment table (e.g., diagnosis, hospitalization, and prescription), medical check-up table (e.g., anthropometry, blood pressure, and blood test), and clinic table (e.g., institution classification and number of doctors and nurses). Specific variables and detailed explanations for each table can be found in previous studies [13,14,15]. This study was approved by the Institutional Review Board (IRB) of CHA Bundang Medical Center (CHAMC 2023–02-015). An informed consent exemption was granted by the IRB because all data provided by the NHIS to researchers were de-identified.

Study population

Among a total of 271,971 patients who underwent thyroidectomy (either lobectomy or total thyroidectomy) from January 1, 2010 to December 31, 2016, patients without health examination information within 2 years before and after thyroidectomy (n = 157,699), those with missing variable for analysis (n = 2,654), those who did not have a thyroid cancer code of International Classification of Diseases, Tenth Revision (ICD-10) within 1 year of thyroidectomy (n = 17,497), those aged under 40 years (n = 12,337), and those who had a type 1 diabetes mellitus (n = 2,296) or T2DM (n = 9,505) were excluded, leaving a total of 69,983 patients. To overcome bias, 457 patients who were diagnosed with T2DM within 1 year after thyroidectomy were additionally excluded (1-year lag-period). Finally, 69,526 patients were included in this study (Additional file 1: Fig. S1).

Exercise evaluation and definitions

Exercise evaluation was based on a self-reported questionnaire modified from the International Physical Activity Questionnaire (IPAQ) developed by WHO [16, 17]. According to the combination of intensity and duration of exercise, the questionnaire included three items: (1) light intensity exercise (e.g., walking slowly) for more than 30 min, (2) moderate intensity exercise (e.g., brisk walking, bicycling at a usual speed, or gardening) for more than 30 min, and (3) vigorous intensity exercise (e.g., running, fast cycling, or aerobics) for more than 20 min [18]. The questionnaire also included exercise frequency per week for three exercise intensities.

In this study, regular exercise was defined as moderate intensity exercise for more than 30 min or vigorous intensity exercise for more than 20 min, at least once a week [16, 17]. Patients were divided into four groups according to exercise habits before and after thyroidectomy: (1) persistent non-exercisers whose exercise was below the set point both before and after thyroidectomy, (2) new exercisers who did not exercise before thyroidectomy, but did exercise after thyroidectomy, (3) exercise dropouts who exercised before thyroidectomy, but did not exercise after thyroidectomy, and (4) exercise maintainers who exercised continuously before and after thyroidectomy. To evaluate the association between exercise amount by energy expenditure and incident T2DM, we calculated energy expenditure, rating light intensity as 2.9, moderate intensity as 4.0, and vigorous intensity as 7.0 metabolic equivalents of take (MET) [19]. Energy expenditure (MET-min/week) was calculated by multiplying 2.9, 4.0, or 7.0 METs by frequency of light, moderate, and vigorous exercise, duration, and frequency for a week. METs were categorized into < 500, 500–999, 1000–1499, and ≥ 1500 MET-min/week.

Anthropometric and laboratory measurements and definitions of variables and outcome

Among medical check-up data, information on smoking and alcohol consumption were obtained from self-reported questionnaire. Drinker was defined as individuals who consumed any amount of alcohol. Low income level was regarded as the lowest 20% of the total population based on monthly income. Obesity was defined as body mass index (BMI) ≥ 25 kg/m2 [20]. Hypertension was defined as at least one claim per year using ICD-10 codes I10 or I11 and at least one claim per year for the prescription of antihypertensive agents, or a systolic/diastolic blood pressure of at least 140/90 mmHg. Impaired fasting glucose (IFG) was classified as fasting plasma glucose (FPG) between 100 and 125 mg/dL without a previous prescription of antidiabetic medication [21]. Dyslipidemia was defined as at least one claim per year using ICD-10 code E78 and at least one claim per year for the prescription of a lipid-lowering agent, or by a total cholesterol level of at least 240 mg/dL [22, 23]. Estimated glomerular filtration rate (eGFR) was calculated using the equation from the Modification of Diet in Renal Disease study and eGFR < 60 mL/min/1.73 m2 was defined as chronic kidney disease (CKD) [24]. Thyroidectomy included total thyroidectomy and lobectomy. Patients taking levothyroxine after thyroidectomy were also identified.

Study outcome and follow-up

The primary outcome was incidence of T2DM. T2DM was defined either by searching for ICD-10 code E11-E14 with or without accompanying prescription codes for any antidiabetic drugs or a FPG level ≥ 126 mg/dL [25]. The study population was followed from baseline to the date of incident T2DM, or until December 31, 2019 whichever came first.

Statistical analyses

Continuous variables are expressed as mean ± standard deviation or median with interquartile range. Categorical variables are expressed as number with percentage. Event rate of the outcome was presented per 1,000 person-years. It was determined by dividing the number of events by the total person-year period. Multivariable Cox proportional hazards regression models were used to evaluate hazard ratio (HR) and 95% confidence interval (CI). Model 1 was crude without any adjustment. Model 2 was adjusted for age and sex. Model 3 was additionally adjusted for smoking status, drinking, income, hypertension, dyslipidemia, CKD, FPG, BMI, and use of levothyroxine. All P for interaction were evaluated through an analysis stratified by age, sex, thyroidectomy type, smoking, drinking, BMI, hypertension, dyslipidemia, IFG, and use of levothyroxine. A P < 0.05 was considered statistically significant. All statistical analyses were performed using SAS version 9.4 (SAS Institute, Inc.) and R version 3.2.4 (R Core Team) software.

Results

Characteristics of subjects according to exercise habits

Baseline characteristics of the study population according to exercise habits were presented in Table 1. Among 69,526 patients with thyroid cancer, 26.52% (n = 18,441) were persistent non-exercisers, 21.00% (n = 14,599) were new exercisers, 15.85% (n = 11,023) were exercise dropouts, and 36.62% (n = 25,463) were exercise maintainers. In the persistent non-exerciser group, the proportion of patients aged 65 years or older was the highest at 15.35%, followed by the exercise drop-out group at 12.36% and the new exerciser group at 10.33%. The exercise maintainer group had the lowest proportion of patients aged 65 years or older at 7.44%. The proportion of females was the highest in the persistent non-exerciser group at 87.49%. It was the lowest in the exercise maintainer group at 71.88%. The persistent non-exerciser group was more likely to have obesity, hypertension, dyslipidemia, and CKD than other groups. The exercise maintainer group was more likely to be current smoker and drinker. In addition, in the exercise maintainer group, the proportion of total thyroidectomy was the lowest at 76.39% and the proportion of those who were taking levothyroxine was also the lowest at 94.35%.

Table 1 Baseline characteristics of study population according to exercise habits

The risk of T2DM according to exercise habits

During a median follow-up of 4.5 years (range, 3.1–6.0 years), 2,720 (3.91%) patients developed T2DM in this study (Table 2). The incidence of T2DM per 1,000 person years was 10.77 in persistent non-exercisers, 8.28 in new exercisers, 8.59 in exercise dropouts, and 7.61 in exercise maintainers. The unadjusted HRs for incident T2DM in new exercisers, exercise dropouts, and exercise maintainers were 0.77 (95% CI 0.69–0.58), 0.80 (95% CI 0.71–0.89), and 0.71 (95% CI 0.64–0.78), respectively (Model 1). Compared with persistent non-exercisers, new exercisers (HR 0.87, 95% CI 0.78–0.97), exercise dropouts (HR 0.81, 95% CI 0.72–0.91), and exercise maintainers (HR 0.84, 95% CI 0.76–0.93) had also lower risks of incident T2DM after adjusting for age, sex, smoking, drinking, income, hypertension, dyslipidemia, CKD, FPG, BMI, and use of levothyroxine (Model 3). A Kaplan–Meier plot of cumulative incidence of T2DM showed that new exercisers, exercise dropouts, and exercise maintainers were associated with lower risks of incident T2DM than persistent non-exercisers after adjusting for age, sex, smoking, drinking, income, hypertension, dyslipidemia, CKD, FPG, BMI, and use of levothyroxine (Fig. 1).

Table 2 The risk of type 2 diabetes mellitus according to exercise habits
Fig. 1
figure 1

Kaplan–Meier plot of cumulative incidence of type 2 diabetes mellitus among four groups (Log-rank P < 0.001)

Subgroup analysis for the risk of T2DM according to exercise habits

The risks of T2DM stratified by sex, age, thyroidectomy type, smoking status, drinking, BMI, hypertension, dyslipidemia, IFG, and use of levothyroxine were shown in Table 3. Across all subsets of patients, three groups who exercised before and/or after thyroidectomy for thyroid cancer (new exercisers, exercise dropouts, and exercise maintainers) were associated with reduced risk for incident T2DM compared with the group who did not exercise before and after thyroidectomy (persistent non-exercisers). Especially in male and patients without IFG, three groups who exercised before and/or after thyroidectomy for the treatment of thyroid cancer were significantly associated with a lower risk for incident T2DM.

Table 3 Subgroup analysis for the risk of type 2 diabetes mellitus according to exercise habits

The relationship between energy expenditure and the risk of T2DM

In the new exerciser and exercise maintainer groups, the risk of incident T2DM was evaluated according to MET-min/week compared with persistent non-exerciser group (Table 4). In the unadjusted model, all exercise expenditure groups of new exercisers and exercise maintainers had lower risks of incident T2DM than persistent non-exercisers (Model 1). The new exerciser group was still tended to have a lower risk for incident T2DM after multivariable adjustment, but statistical significance was disappeared (Model 3). Compared with persistent non-exercisers, however, exercising < 1,500 MET-min/week in the exercise maintainer group was associated with lower risks of incident T2DM even after multivariable adjustment (< 500: HR 0.80, 95% CI 0.67–0.96, P = 0.002; 500 to < 1,000: HR 0.81, 95% CI 0.71–0.93, P < 0.001; 1,000 to < 1,500: HR 0.81, 95% CI 0.69–0.94, P < 0.001) (Model 3).

Table 4 The risk of type 2 diabetes mellitus according to energy expenditure in new exercisers and exercise maintainers compared with persistent non-exercisers

Discussion

In this study, we found that starting exercise, maintaining exercise, and even dropout of exercise after thyroidectomy for the treatment of thyroid cancer were associated with lower risks of incident T2DM. Furthermore, an energy expenditure level of < 500, 500–999, or 1,000–1,499 MET-min/week in exercise maintainers were associated with lower risks of incident of T2DM compared with persistent non-exercisers. This study was performed based on real-world data obtained from a national database and was the first study to evaluate the importance of regular exercise to prevent T2DM in patients who undergo thyroidectomy for the treatment of thyroid cancer.

Many studies have reported that thyroid dysfunction was associated with altered glucose metabolism [9,10,11]. Thyroid hormone affects glucose metabolism through several organs such as the liver, gastrointestinal tract, pancreas, adipose tissue, skeletal muscles, and the central nervous system [26]. Excess thyroid hormone can increase gastrointestinal motility and glucose absorption in gastrointestinal track, increase gluconeogenesis and lipolysis in liver, and increase glucagon secretion in pancreatic alpha cells [26]. A population-based study showed that hyperthyroidism increased the risk of T2DM [11]. Lack of thyroid hormone is also associated with insulin resistance and glucose intolerance. Several studies have reported an increased risk of T2DM in patients with overt and subclinical hypothyroidism [9,10,11]. However, there were few studies to evaluate the risk of incident T2DM in patients with thyroid cancer. A population-based cohort study including 36,377 thyroid cancer patients found that patients with thyroid cancer who underwent thyroidectomy were more likely to develop T2DM than the matched controls [12]. Our study provided evidence the benefit of regular exercise for preventing T2DM in patients who underwent thyroidectomy for the treatment of thyroid cancer.

Exercise is well known to have a protective effect against the development of T2DM. Beneficial effects of physical activity in preventing T2DM might be independent of other risk factors such as IFG or obesity [27, 28]. This means that inactivity itself without obesity or IFG is associated with an increased risk of T2DM. A study has evaluated the effect of exercise on diabetes prevention for patients with obesity and found that risk of diabetes is reduced around 50% by exercise [29]. Most interventions in these studies included not only exercise, but also weight loss and diet. Even a modest amount of exercise without weight loss can increase insulin sensitivity and improve glucose and fat metabolism in middle-aged adults [30]. Thus, physical activity itself might play a beneficial role in diabetes prevention. In present study, patients with regular exercise before and/or after thyroidectomy for the treatment of thyroid cancer showed 13% to 19% lower risk of T2DM development. Since it is well known that regular exercise lowers the risk of developing T2DM, it would be natural that patients who exercised before thyroidectomy have a lower risk of developing T2DM not only if they continue to exercise after thyroidectomy (exercise maintainers), but even if they stop exercising after thyroidectomy (exercise dropouts). Because exercise dropouts were those had continuously exercised before thyroid cancer surgery, the long period of exercise maintenance might have affected the low risk of incident T2DM. Interestingly, new exercisers also had a lower risk of T2DM, although they did not exercise before thyroidectomy and follow-up duration was not very long (median 4.5 years). Therefore, regular exercise before or after thyroidectomy may be helpful in preventing T2DM in thyroid cancer patients.

Subgroup analysis has shown that three groups who exercised before or after thyroidectomy for the treatment of thyroid cancer were significantly associated with a lower risk for incident T2DM in male and patients without IFG. Leigh et al. have reported that even though men have more risk factors for diabetes, the weight loss effect through intensive life style modification is greater. As a result, they did not develop T2DM more than women [31]. In patients who already had accompanying IFG, the prevention effect for T2DM was thought to be lower than in patients without IFG because IFG itself was an important risk factor for T2DM. In addition, exercising < 1,500 MET-min/week in the exercise maintainer group was associated with a lower risk of incident T2DM compared with persistent non-exercisers, but ≥ 1,500 MET-min/week was not. However, patients with ≥ 1,500 MET-min/week also tended to have reduced risk for incident T2DM, although statistical significance was disappeared after multivariable adjustment. Further studies are needed to explain the cause of these points.

Some limitations should be considered when interpreting the results of this study. First, the frequency and intensity of exercise were based on a self-reported questionnaire, which might have been under- or over-evaluated. In addition, energy expenditure estimated from the questionnaire was limited to evaluate actual amount of exercise. Second, we could not evaluate thyroid cancer stage, risk of recurrence, levothyroxine dosage, and actual thyroid function because of limited information in the database. Patients who are dosed levothyroxine correctly will feel more energetic, whereas those on doses too low or too high may feel lethargic or have metabolic perturbations. However, in Korea, since few patients do not follow up after thyroidectomy and most TSH suppression is performed according to guideline, there will not be many patients who are unable to exercise due to abnormal thyroid function. Third, we could not get the information on weight change before or after thyroidectomy, nutritional status including meal or calories intake, and exercise in less time than set questions (ex. moderate intensity exercise for less than 30 min or vigorous intensity exercise for less than 20 min), due to limitation of database. Fourth, we could not include patients with thyroid cancer without thyroidectomy because we defined thyroid cancer patients who have a thyroid cancer code of ICD-10 within 1 year of thyroidectomy. However, since almost all patients with thyroid cancer in Korea receive thyroidectomy for the treatment of thyroid cancer, it is believed that there are very few patients who did not undergo thyroidectomy but active surveillance [32]. Fifth, we could not evaluate effects on incident T2DM between regular exercisers and unregular exercisers because patients who did not regular exercise included not only those who did unregular exercise but also those who did not exercise at all. In addition, we also could not evaluate the difference depending on how many years participants have been exercised. Finally, because it was conducted in the Korean population, generalizing the results of this study to other ethnicities may require caution. However, to our knowledge, this study may be valuable because it included the largest number of patients with thyroid cancer undergo thyroidectomy for the treatment of thyroid cancer to evaluate the association between exercise habits before or after thyroidectomy and the risk of incident T2DM.

Conclusions

Regular exercise before or after thyroidectomy was associated with a lower risk of incident T2DM in patients with thyroid cancer. This study suggests that regular exercise before or after thyroidectomy might be helpful to prevent T2DM in patients with thyroid cancer.