Acute intermittent porphyria (AIP) is an autosomal dominant inherited disease clinically characterized by life-threatening acute neurologic attacks and is biochemically defined by partial deficiency of porphobilinogen deaminase (PBGD) activity in the liver. This evidence concerns the gene HMBS and autoimmune pancreatitis.