An impaired immune system, as seen in patients with low CD4 counts, causes these patients to be susceptible to opportunistic infections like DH. This evidence concerns the gene CD4 and dermatitis herpetiformis, familial.