HMBS and autoimmune pancreatitis: Acute intermittent porphyria (AIP, OMIM 176000) is an inherited metabolic disease characterized by partial deficiency of hepatic porphobilinogen deaminase (PBGD).