CD4 and diabetes mellitus: On multivariable analysis, HIV (HR 1.84, 95% CI 1.07–3.16, P = 0.03), diabetes, and a baseline CD4 count less than 200 cells/μL were found to be independent predictors of peritonitis (Table 5).