HMBS and metabolic disease: Acute intermittent porphyria (AIP) is a rare inherited metabolic disorder caused by hydroxymethylbilane synthase (HMBS) deficiency, the third enzyme in the heme biosynthetic pathway.