HMBS and autoimmune pancreatitis: Acute intermittent porphyria (AIP) is a dominant disorder that results from a partial deficiency of hydroxymethylbilane synthase (HMBS, EC 2.5.1.61) the third enzyme of the heme biosynthetic pathway[1].