CD4 and sexually transmitted disease: In the base case analysis excluding transmission effects, diagnosis of index patients in STD clinics compared with the ED setting involved slightly higher costs because the earlier average diagnosis in STD clinics at a median CD4 count of 429 cells/μL (compared with 356 cells/μL in the ED setting) resulted in monitoring costs for an additional duration for the index patients.