HMBS and autoimmune pancreatitis: Acute intermittent porphyria (AIP) is an autosomal dominant metabolic disorder that is caused by the deficiency of porphobilinogen deaminase (PBGD), an enzyme that is involved in the synthesis of heme [128].