Hyperglycemia ≥ 200 mg/dL (OR = 4.588; IC 95% 1.348–15.610; P < 0.001) and BNP ≥ 300 pg/mL (OR = 3.366, IC 95% 1.108–10.223; P = 0.027) were independent predictors of length of stay longer than 10 days or death. The gene discussed is NPPB; the disease is Hyperglycemia.