HMBS and Other metabolic disease: Acute Intermittent Porphyria (AIP) is an inherited metabolic disorder resulting from haploinsufficiency of the hydroxymethylbilane synthase (HMBS) gene, which encodes porphobilinogen (PBG) deaminase (PBGD), the third enzyme in the heme synthesis pathway.