Patients with anemia (Hb less than 10 g/dL) were likely to suffer delirium in our study. Here, GSTM1 is linked to delirium.