HMBS and autoimmune pancreatitis: Acute intermittent porphyria (AIP) is caused by haploinsufficiency of porphobilinogen deaminase (PBGD) and is characterized by disabling neurovisceral attacks and chronic disease symptoms.