HMBS and autoimmune pancreatitis: AIP is inherited in an autosomal dominant pattern with variable expressivity and results from mutations that decrease the activity of porphobilinogen deaminase, also known as hydroxymethylbilane synthase.