HMBS and autoimmune pancreatitis: Acute intermittent porphyria (AIP) is caused by hydroxymethylbilane synthase (HMBS) gene mutation.