We observed that the following factors had significantly increased the risk of death in our hospitalized patients: being aged 50 years or older, being urban residents, nadir CD4+ T-cell counts being <200 cells/μL, not being on cART, being injection drug users, and having one of the following comorbidities: Pneumocystis pneumonia, cryptococcal meningitis, AIDS-related malignancy, toxoplasma encephalopathy, talaromycosis, non-AIDS malignancy, and kidney disease (Table 4). Here, CD4 is linked to pneumocystosis.