The patients were randomly assigned into derivation cohort (801cases) and validation cohort (200 cases) in 8:2 ratio, respectively, in which in derivation cohort we found that 7 predictors, including LDH >350U/L, HR>130 times/min, room air PaO2 <70mmHg, later admission to ICU, Anemia (HGB≤90g/L), CD4<50cells/ul, and development of a pneumothorax, were associated with poor prognosis in HIV/AIDS patients with PCP and were included in the predictive model. This evidence concerns the gene CD4 and anemia (phenotype).