HMBS and autoimmune pancreatitis: Acute intermittent porphyria (AIP) is an autosomal dominant type of hepatic porphyria caused by mutations in the porphobilinogen deaminase (PBGD) gene.