HMBS and autoimmune pancreatitis: Acute intermittent porphyria (AIP) is an inherited metabolic disease caused by a mutation in the hydroxymethylbilane synthase (HMBS) gene leading to reduced enzymatic function [1,2,3,4].