HMBS and autoimmune pancreatitis: Acute intermittent porphyria (AIP, MIM 176000) is an autosomal dominant disease caused by a partial deficiency of the hepatic porphobilinogen deaminase (PBGD, EC 4.3.1.8), the third enzyme of the heme synthesis pathway.