The glutamine degradant levels mediated the causal relationship between HLA DR+ CD4+ %T cells and prostatitis, with a mediation effect of −0.012, accounting for 8.07% of the total. This evidence concerns the gene CD4 and medical procedure.