Acute Intermittent Porphyria (AIP) is a rare disease that results from a deficiency of hydroxymethylbilane synthase, the third enzyme of the heme biosynthetic pathway. This evidence concerns the gene HMBS and autoimmune pancreatitis.