Univariate analysis results indicated that serum potassium ions at admission (OR 0.311, 95% CI 0.103–0.935, p = .038), serum sodium ions within 72 h of surgery (OR 0.991, 95% CI 0.983–1.000, p = .048), GLU after 72 h of surgery (OR 1.655, 95% CI 1.180–2.320, p = .004), and CRH after 72 h of surgery (OR 0.964, 95% CI 0.936–0.994, p = .018) might be associated with the occurrence of delirium. The gene discussed is CRH; the disease is delirium.