In the results of multivariate logistic regression analysis, it was found that gender, smoking, hyperlipidemia, duration of diabetes, and levels of TNF-α, IL-6, IL-18, and CRP could be used as related factors associated with cardiovascular events in patients within 30 days, suggesting that there was a good agreement between showing inflammatory indicators and gender history of the disease and the probability of cardiovascular events within 30 days and actual observation. The gene discussed is TNF; the disease is diabetes mellitus.