Neither immune defect disease nor underlying solid malignancy was associated with death, but the patients who died showed a higher proportion of haematological diseases and lower CD4+, CD8+, and B lymphocyte cell counts than the patients who survived. Here, CD4 is linked to cancer.