Introduction

Climate change draws a wide concern and has enormous impacts on public health. The frequency of extreme weather intensified with the rising of global surface temperature, which brings a great challenge to the environment and public health (IPCC 2013). Extreme weather events showed significant impacts on human health, and the effects often lasted for 14 days (Braga et al. 2001) or 40 days (Zanobetti et al. 2003). Numerous epidemiological studies have linked extreme temperatures with overall mortality (Hajat and Kosatsky 2010; O'Neill and Ebi 2009; Kovats and Hajat 2008), cardiovascular diseases (Bhaskaran et al. 2009; Basu 2009), and heart diseases (Moran et al. 2010; Stewart et al. 2010). Previous studies performed in North America (Knowlton et al. 2009; Lin et al. 2009), Europe (Curtis et al. 2017; Tataru et al. 2006; Johnson et al. 2005), and Australia (Huang et al. 2012) have proved the effect of extreme temperatures on health. In mainland China, the relationship between extreme temperatures and health has been investigated in several large cities, such as Beijing (Song et al. 2017; Wang et al. 2015), Shanghai (Guo et al. 2012; Ma et al. 2014), and Guangzhou (Yang et al. 2013). Some studies suggested that the effects of extreme temperatures can be delayed by weeks, especially for cold effects (Goldberg et al. 2011; Rocklöv and Forsberg 2008).

Previous studies found that the exposure-response curve between temperature and mortality generally was U-, J-, or V-shaped, with increased mortality risks at both high and low temperatures (Curriero et al. 2002; McMichael et al. 2008). Gasparrini et al. (2010) proposed a distributed lag non-linear model (DLNM), taking the lag effect of exposure factors into account. The non-linear relationship of the exposure-response showed that it was possible to estimate the health effect of changing the temperature by 1 °C (Kim et al. 2006). Basu (2009) found that elevated temperature increased the risk of respiratory mortality. Study in England and Wales showed that the relative risks (RRs) of the total death were 1.03 (95% CI, 1.02–1.13) and 1.06 (95% CI, 1.05–1.06) for each 1 °C higher than the thermal threshold and lower than the cold threshold respectively (Hajat et al. 2007). Numerous studies have reported the adverse effects of temperature on respiratory diseases, and most of those studies regarded mortality as a health measure (Basu 2009; Hajat et al. 2007). Extreme temperatures, both with respect to heat and cold, substantially increase the risk of disease and death (Diaz et al. 2002). A study in Taiwan showed that after accounting for 4-day cumulative temperature effect, the relative risks of emergency room (ER) visits for respiratory diseases were found to be associated with extreme cold at 1st percentile lasting for > 3 days (Wang et al. 2012). A study of the number of hospital admissions in Lhasa showed that people older than 65 years and men were more susceptible to high temperatures (Bai et al. 2014). Moreover, medical situation may confer susceptibility to extreme temperatures (Davídkovová et al. 2014; Lin et al. 2013). Some studies have estimated the association between extremely low and high temperatures and cardiovascular mortality (Guo et al. 2011; Goggins et al. 2013), but few study on the effects of extreme temperatures on ER visits for respiratory diseases.

In this study, we employed a distributed lag non-linear model to evaluate the effects of extreme temperatures on ER visits for respiratory diseases in Beijing, China. Moreover, we also performed age- and gender-specific analysis. Findings of this study may help to develop relevant preventive interventions for the government and provide a scientific basis for the prediction and guidance of medical meteorology in Beijing.

Materials and methods

Study area

Beijing (116ingls and nd gu, the capital of China, has over 21.8 million permanent residents in 2015. The local climate belongs to a typical temperate semi-humid and continental monsoon climate. Four seasons are distinct, with hot and rainy, summer and cold, and dry winter. Spring and autumn are relatively short and comfortable. The annual average temperature is between 10 and 15 °C. The diurnal variation of temperature is large.

Daily respiratory visits

Daily number of emergency room (ER) visits for respiratory diseases were collected from four large general top-level hospitals in Beijing from January 1, 2009, to December 31, 2012. We choose the hospitals because they have a good reputation for the diagnosis and treatment of respiratory diseases. The data contains the date of visits, gender, age, diagnosis codes, etc. Clinic symptoms were encoded in terms of the 10th International Classification of Diseases (ICD-10: J00–J99), in which the respiratory diseases were examined and classified.

Meteorological data and air pollution data

Daily data of average temperature, maximum and minimum temperatures, sunshine time, wind speed, and relative humidity during 2009–2012 were obtained from Beijing Meteorological Bureau. Daily air pollution data were collected from Environmental Observation Center, including particulate matter less than 10 μm in aerodynamic diameter (PM10), sulfur dioxide (SO2), and nitrogen dioxide (NO2).

Statistical analysis

Considering the existence of simultaneously non-linearity and lag effects in the relationship between temperature and respiratory diseases, we made use of the distributed lag non-linear model (DLNM) combined with a Poisson regression to evaluate the effects of extreme low and high temperatures on hospital ER visits for respiratory diseases. The DLNM consists of two functions, including “crossbasis” function and “crosspred” function. The two functions are used for the study of lag effect and prediction respectively, allowing the model to estimate the exposure-response prediction across the maximum lag period. In order to determine the outcomes (ER visits) of time series, the general model representation is shown below:

$$ {\displaystyle \begin{array}{c}\mathrm{Yt}\sim \mathrm{Poisson}\left(E(Y)\right)\\ {}\begin{array}{l}\log \left(E(Y)\right)=\alpha +\beta \mathrm{basis}.\mathrm{temp}+s\left(\mathrm{time}, df=32\right)+s\left(\mathrm{relativehumidity}, df=3\right)\\ {}+s\left(\mathrm{wind}, df=3\right)+s\left(\mathrm{suntime}, df=3\right)+s\left({\mathrm{PM}}_{10}, df=3\right)+\mathrm{s}\left({\mathrm{SO}}_2, df=3\right)\\ {}+s\left({\mathrm{NO}}_2, df=3\right)+\lambda \mathrm{DOW}+\eta \mathrm{Holiday}\end{array}\end{array}} $$

The DLNM combined with generalized additive model (GAM) was employed in our study. In the model, log function is applied as the link function; E(Y) is the estimated daily number of ER visits; a is the intercept; basis.temp is a matrix obtained by applying the DLNM to daily mean temperature, β is vector of coefficients for basis.temp; s(x, df) indicates the natural cubic spline function for x with a certain df; and df is the degree of freedom. Cubic spline functions were used to control the long-term and seasonal trends. We also accounted for the effects of DOW (day of the week) and Holiday (dummy argument variate) as linear variates, where λ and η represent vector of coefficients of DOW and Holiday respectively. After controlling these variables, a maximum lag of 27 days was set to estimate the delayed effect of daily mean temperature on the ER visits. We fitted both the non-linear temperature effect and the lag effect in DLNM; the minimum value of the Akaike information criterion (AIC) was used to examine the df for daily mean temperature and lags. In the final model, 5 df and 4 df were used respectively when setting spline knots at equal intervals in the temperature range and in the log scale of lags. The mean temperature was interpreted as the reference temperature (i.e.,“centering value”) for the three-dimensional plot (Yi and Chan 2015).

We also conducted a stratified analysis on gender and age. The extremely low temperature was defined as the 1st percentile of the daily mean temperature, and the extremely high temperature was defined as 99th percentile of the daily mean temperature. The RRs for the number of ER visits were calculated for cold effects at the extremely low temperature compared with the 10th percentile of daily mean temperature and for hot effects at the extremely high temperature compared with the 90th percentile of daily mean temperature (Guo et al. 2013). We also conducted the lag effects of 0, 0–3, 0–14, and 0–27 to estimate the cumulative effects of extreme temperatures on ER visits.

Sensitivity analyses were performed by altering the df for temperature, time trend, and the maximum lag day, as well as the confounding elements including meteorological and pollutant elements in the model, taking all age groups of outpatients as the example. In addition, models were also refitted using the 25th and 75th percentiles of daily mean temperature to evaluate cold and hot effects respectively for the sensitive analysis. The DLNM and MGCV packages in R software (version 3.3.1) were used to fit all the models.

Results

During the study period between 2009 and 2012 (1461 days), 0.27 million hospital ER visits for respiratory diseases were recorded in Beijing, accounting for 22.5% of the total. The descriptive analysis was shown in Table 1. The daily mean ER visits were 188, and more males were reported. There were 117 ER visits aged 16–65 years, accounting for the biggest proportion in all respiratory diseases.

Table 1 Summary of daily hospital ER visits for respiratory diseases in Beijing, 2009–2012

Table 2 demonstrates the descriptive statistics for meteorological factors and air pollutants. The average daily mean temperature was 13.1 °C (range, − 12.5 °C to 34.5 °C), and relative humidity was 50.8% (range, 0.0 to 97.0%). The mean concentrations of SO2, NO2, and PM10 were 26.6 μg/m3, 57.1 μg/m3, and 114.4 μg/m3 respectively.

Table 2 Descriptive statistic of meteorological factors and air pollutants in Beijing, 2009–2012

Table 3 shows the Spearman correlation between meteorological elements and pollutants. The daily average temperature has a significant positive correlation with sunshine hours, relative humidity, and PM10 and has a significant negative correlation with SO2 and NO2.

Table 3 Spearman correlation between meteorological factors and the pollutants in Beijing

Figure 1 indicates the exposure-response curve between daily mean temperature and relative risks of respiratory ER visits. The curve is W-shaped, with the highest RR of 3.70 (95% CI, 2.94–4.63) at − 12.5 °C and RR of 1.33 (95% CI, 1.26–1.40) at 7 °C. The RRs rise sharply in extreme temperature of cold than hot.

Fig. 1
figure 1

Exposure-response between daily mean temperature and relative risks of hospital ER visits between 2009 and 2012 (solid red line) and 95% confidence intervals (gray area), using 5 df for temperature and 4 df for lag. The reference temperature was 13.1 °C

Figure 2 shows the three-dimensional plots of the relationship between mean temperature and hospital ER visits along 27 lag days. Comparing the RRs for mean temperature with the reference mean temperature of 13.1 °C, the age-specific temperature-RR curves were non-linear and high RRs were observed at low and high temperatures. For all age groups, both cold and hot effects showed positive associations. The cold effect became predominant with a lag of 3 days and showed a longer-lasting effect of more than 27 days, while the hot effect has a strong immediate positive effect and decreased from lag 0 to lag 5. Then it was almost no change after 5 days, showing a shorter and acute effect. For aged ≤ 15 years, low temperature had delayed effect of 3 days and the cold effects increased all the time, whereas the hot effects reached the peak at lag 0. For those aged 15–65 years, the lagged cold effect and the immediate hot effect were still significant, but the RRs were observed quite high at 7 °C for aged 16–65 years.

Fig. 2
figure 2

The three-dimensional graph of the relative risks for different ages (A–D: all ages, age ≤ 15 years, aged 16~65 years, age ˃ 65 years) by mean temperature along 27 lag days in Beijing, 2009–2012. Using a 5-df natural cubic spline for temperature and 4 df for lag

Figure 3 presents the estimated cumulative effects of daily mean temperature on ER visits for different age groups. The temperature-RR curves demonstrated both the shorter-time (lag 0, lag 0–3) and longer-time (lag 0–14, lag 0–27) effects on ER visits for respiratory diseases. Effects of both lower and higher temperatures were non-linear. For lag 0 and lag 0–3, the cumulative cold effects on age-specific ER visits were observed lower than lag 0–14 and lag 0–27, while the cumulative hot effect was higher than lag 0–14 and lag 0–27. In particular, the cumulative effect of 7 °C increased with lag days.

Fig. 3
figure 3

The estimated cumulative effect of daily mean temperature on hospital ER visits for different ages (age ≤ 15 years, aged 16~65 years, age > 65 years) at lag 0, lag 0–3, lag 0–14, and lag 0–27. The smooth red lines are the maximum likelihood estimate of RR, and the gray regions are the pointwise 95% confidence intervals (CI). The reference temperature is 13.1 °C

Figure 4 indicates the extreme cold and hot effects of the 1st percentile and the 99th percentile of daily mean temperature on respiratory diseases. It indicated that the cold effects delayed 3 days, and the strong impact lasted more than 20 days. The hot effects on respiratory diseases showed the strongest on lag 0 day, then gradually decreased and disappeared after 2 days.

Fig. 4
figure 4

Extreme cold and hot effects by lag at 1st (cold effect, − 7.9 °C) and 99th (hot effect, 30.8 °C) percentiles of temperature distribution from 2009 to 2012 in Beijing. The reference temperature was 13.1 °C

Table 4 demonstrates the cumulative cold and hot effects on age-specific hospital ER visits at lag 0, lag 0–3, lag 0–14, and lag 0–27. The cumulative hot effects were statistically significant at lag 0 and lag 0–3. The cumulative hot effect was the strongest in aged > 65 years, and the largest RR was 1.36 (95% CI, 0.96–1.92) at lag 0–27. Hot effects on children and those aged 16–65 years were much smaller than those on the elderly. The cumulative cold effects showed protective effects for all ages at lag 0 and lag 0–3. While for longer-time effects, children (age ≤ 15 years) were most susceptible to the cold effects at lag 0–14 and lag 0–27, and the highest RR with extremely low temperatures was 1.96 (95% CI, 1.70–2.26) at lag 0–27. Cumulative cold effects also showed a higher RR at lag 0–27 on adults (age 16–65 years).

Table 4 Cumulative cold and hot effects of temperature on age-specific respiratory outpatients and associated with 95% confidence intervals (95% CI) along the lag days in Beijing, China, 2009–2012

Figure 5 indicates the overall relative risks of the cumulative cold and hot effects along lag days for different genders. Females had more acute response to cold effects than males, although the RRs were almost the same after 2 weeks. While for the hot effects, females presented obviously higher RRs comparing to males. The hot effects on males lasted 8 days, while hot effects on females lasted at least 27 days.

Fig. 5
figure 5

Cumulative cold and hot effects of temperature on gender-specific respiratory ER visits and associated 95% confidence intervals (95% CI) along lag days in Beijing, China, 2009–2012

Sensitivity analysis

Sensitivity analysis was performed by changing df (4, 5, 6, and 7) for daily mean temperature with natural cubic spline function in the DLNM (Figure A1). The estimated relationship between ambient temperature and ER visits for respiratory diseases did not substantially change. Moreover, we also used different maximum lag days for mean temperature (Figure A2) and different df per year (from 6 to 13) for long-time trend (Figure A3) to fit the model, which gave the similar result. Furthermore, when excluding air pollution or meteorological factors or both of them in the DLNM, the result was still similar to the original estimates (Figure A4). In order to maintain completeness, we included all the above factors in the DLNM.

We also calculated the hot effect by comparing the 99th percentile of temperature with the 75th percentile of temperature, while the cold effect was calculated by comparing the 1st percentile of temperature with the 25th percentile of temperature, indicating the similar results to the original estimates (Table A1). Results of sensitivity analysis were shown in the supplementary material.

Discussion

We studied the effect of extreme temperature on age- and gender-specific ER visits for respiratory diseases in Beijing, China, during 2009–2012. The relationship between daily mean temperature and ER visits was almost W-shaped for all ages, with increased RR at low temperature. Strong hot and cold effects were observed in the whole year in Beijing. Children (age ≤ 15 years) were the most susceptible to extremely low temperature, while the elders (age > 65 years) were the most vulnerable to extremely high temperature. Associations between high temperature and ER visits were found acutely and strongly, while that between low temperatures were observed after 3 days and of longer duration. In terms of gender, females were more sensitive to extreme high and low temperature than males.

Previous studies showed that the temperature-mortality curve was almost U-shaped or J-shaped around the world (Anderson and Bell 2009; Martin et al. 2012; Guo et al. 2013; Ma et al. 2014), and it varied greatly by climate, geography, and society (Yu et al. 2011a; Son et al. 2011). In our study, the association between daily mean temperature and ER visits was W-shaped. This result is consistent with the results performed in Tianjin (Ma et al. 2014) and Hong Kong (Yi and Chan 2015) in China. Except for the high RR at low temperature in the W-shape, a high value of cumulative effect of around 7 °C was also observed. This result agrees with the results reported in Tibet (Bai et al. 2014) and Taiwan (Wang et al. 2012) although the temperature of high RR was various. A study in Suzhou showed a high estimated RR of daily mean temperature on respiratory mortality at around 20 °C (Wang et al. 2014). A similar study conducted in 17 large cities in mainland China suggested a high RR around 13 °C (Ma et al. 2014). However, previous studies in Bavaria, Germany (Breitner et al. 2014), and Valencia, Spain (VicedoCabrera et al. 2014) did not show the characteristic structure. The differences of the temperature corresponding to high RR are likely because of the transition and change of seasons among each area. The high RR at different temperatures also might be due to the selection of different dataset of morbidity or mortality. This finding is still not very clear and needs further investigation.

Our study performed DLNM up to 27 days to estimate the lag effects of ambient temperature on age-specific ER visits. We found high temperature had acute and shorter-term effect on ER visits, while low temperature had delayed and long-lasting effect. Many previous studies have reported similar lag effects of hot temperature in Germany (Breitner et al. 2014), Australia (Turner et al. 2012), Canada (Goldberg et al. 2011), and mainland China (Bai et al. 2014; Yi and Chan 2015). However, the impact of low temperature on respiratory ER visits was apparently prolonged. We found that cold effect lasted nearly 27 days or more, which is consistent with the studies in Chile, Italy (Muggeo and Hajat 2009), and the Netherlands (Huynen et al. 2001). Similar to our findings, previous studies suggested that the effects of extreme temperatures can be delayed by weeks, especially for cold weather (Goldberg et al. 2011; Rocklöv and Forsberg 2008). A study conducted in Santiago, Chile, and Palermo, Italy, suggested that slightly negative risk estimates associated with cold exposure at very long lags (days 25–50 after exposure) (Muggeo and Hajat 2009). Goodman et al. working in Dublin reported that heat and cold effects are up to 40 days after exposure and found that cold effects mostly occurred within the first 3 weeks of exposure (Goodman et al. 2004). Braga et al reported that in the USA, cold effects had mostly disappeared by a lag period of about 20 days (Braga et al. 2001). Guo et al. (2011) also suggested that longer lags should be required to examine the cold impact in case of ignoring harvesting effect and underestimating the cold effect.

Our results showed that the cumulative hot effect of temperature has the greatest impact on elderly people (age > 65 years). A previous study in the Philippines also suggested that the elderly had the greatest risk of temperature-related mortality (Seposo et al. 2015). This might be due to the fact that the body function and adaptability of the elderly are gradually decreasing with age (D’Ippoliti et al. 2010; Son et al. 2012; Basu and Ostro 2008; Michelozzi et al. 2009). The cumulative cold effect had greater and longer impacts on children (age ≤ 15 years). A greater susceptibility to lower temperature effects was also found in Sao Paulo, Brazil (Gouveia et al. 2003) and Manila, Philippines (Seposo et al. 2015). Vulnerability of children to cold effect might be due to the following: (i) children are more sensitive to extreme temperatures because of their greater metabolic rate (Bunyavanich et al. 2003) and (ii) for children, asthma is the most common chronic illness in childhood and cold weather can be a trigger to asthma symptom like coughing, wheezing, shortness of breath, and tightness in the chest (Mireku 2009).

Many previous studies have pointed out that the magnitude of the effect of temperature on human beings varies from population to population (Curriero et al. 2002; Revich and Shaposhnikov 2008; Iniguez et al. 2010; Yu et al. 2011b). The cold and hot effects of extreme temperatures on the hospital ER visits for respiratory diseases in the current study were less than the results performed in the mainland cities of Suzhou (Wang et al. 2014) and Guangzhou (Luo et al. 2014) in China. This might be attributed to the hotter summer and no heating suppling winter of Suzhou and Guangzhou.

Our findings confirmed that females were more vulnerable to both high and low temperatures compared to males, which agrees with those of previous studies (D’Ippoliti et al. 2010; Son et al. 2012; Xiang et al. 2014). But, studies conducted in mainland China (Yang et al. 2012), the USA (Medina-Ramón et al. 2006), and Europe (Stafoggia et al. 2006; Hajat et al. 2007) reported that females were more susceptible to hot but not cold weather than males. Sex-related differences may be dependent on physiology and socioeconomic factors (Ma et al. 2015; Zeng et al. 2014) and need further investigation.

Some limitations of our work should be noticed: (a) some studies classified respiratory diseases, such as bronchitis, asthma, and influenza, and also made the classification statistics for the outpatient profession and educational level (Qiu et al. 2015; Kan et al. 2008), in which we will launch more researches and (b) data we used exists limitation in a certain degree. The meteorological element information was only derived from a platform of Beijing, which cannot reflect the average situation of Beijing. And, the hospital ER visits data were collected from four hospitals, which may not include all the residents as potential patients, but these bias could not be completely eliminated due to many practical factors.

Conclusion

Our study showed that extreme temperatures have adverse effects on the number of hospital ER visits for respiratory diseases. The effect of hot effect is more acute and strong, while the cold effect is observed after 3 days and longer duration. Children are mostly susceptible to extremely low temperature, while the elders are the most vulnerable to extremely high temperature. In addition, females are more susceptible to extreme temperature than males. These results can provide useful information for the local government to develop relevant preventive interventions to extreme temperatures and develop public health strategies in Beijing, China.