HMBS and acute intermittent porphyria: Acute intermittent porphyria (AIP) is an autosomal dominant acute porphyria which is caused by mutations in the gene encoding hydroxymethylbilane synthase (HMBS), the third enzyme in the heme biosynthesis pathway.