A nomogram revealed that age, cardiopulmonary bypass duration, CD4+ T cell count and CD4/CD8 ratio were independent predictors of delirium. This evidence concerns the gene CD8A and delirium.