5-ASA derivatives are primarily responsible for inducing pericarditis through IgE-mediated hypersensitivity reactions, direct cardiotoxicity, cell-mediated hypersensitivity, and humoral antibody reactions. This evidence concerns the gene IGHE and pericarditis.