BackgroundBy analysing the deaths of inpatients in a tertiary hospital in Hangzhou, this study aimed to understand the epidemiological distribution characteristics and the composition of the causes of death. Additionally, this study aimed to predict the changing trend in the number of deaths, providing valuable insights for hospitals to formulate relevant strategies and measures aimed at reducing mortality rates.MethodsIn this study, data on inpatient mortality at a tertiary hospital in Hangzhou from 2015 to 2022 were obtained via the population information registration system of the Chinese Center for Disease Control and Prevention. The death data of inpatients were described and analysed through a retrospective study. Excel 2016 was utilized for data sorting, and SPSS 22.0 software was employed for data analysis. The statistical inference of single factor differences was conducted via χ2 tests. The SARIMA model was established via the forecast, aTSA, and tseries software packages (version 4.3.0) to forecast future changes in the number of deaths.ResultsA total of 1938 inpatients died at the tertiary hospital in Hangzhou, with the greatest number of deaths occurring in 2022 (262, 13.52%). The sex ratio was 2.22:1, and there were significant differences between sexes in terms of age, marital status, educational level, and place of residence (P < 0.05). The percentage of males in the groups aged of 20 to 29 and 30 to 39 years was significantly greater than that of females (χ2 = 46.905, P < 0.001). More females than males died in the widowed group, and divorced and married males experienced a greater number of deaths than divorced and married females did (χ2 = 61.130, P < 0.001). The proportions of male students with a junior college and senior high school education were significantly greater than that of female students (χ2 = 12.310, P < 0.05). The primary causes of mortality within the hospital setting included circulatory system diseases, injury, poisoning, tumours, and respiratory system diseases. These leading factors accounted for 86.12% of all recorded deaths. Finally, the SARIMA (2, 1, 1) (1, 1, 1)12 model was determined to be the optimal model, with an AIC of 380.23, a BIC of 392.79, and an AICc of 381.81. The MAPE was 14.99%, indicating a satisfactory overall fit of this model. The relative error between the predicted and actual number of deaths in 2022 was 8.02%. Therefore, the SARIMA (2, 1, 1) (1, 1, 1)12 model demonstrates good predictive performance.ConclusionsHospitals should enhance the management of sudden cardiac death, acute myocardial infarction, severe craniocerebral injury, lung cancer, and lung infection to reduce the mortality rate. The SARIMA model can be employed for predicting the number of deaths.