The Cox proportional hazards models demonstrated the 3rd quartile of cytomegalovirus IgG (OR: 3.26, 95% CI: 1.55–6.84), lymphopenia (OR: 2.85, 95% CI: 1.2–6.74), and 1st quartile of CD19+ B cell count (OR: 2.84, 95% CI: 1.29–6.25) predicted elevated risks of unexpected admission after adjusting for potential confounders; while the 3rd quartile of CD3+ T cell indicated a reduced risk of mortality (OR: 0.19, 95% CI: 0.05–0.71). The gene discussed is CD19; the disease is lymphopenia.