 Physiologically, porphyrias are classified as liver or erythropoietic based on the sites of accumulation of heme precursors, either in the liver or in the bone marrow and red blood cells.Deficiency in the enzymes of the porphyrin pathway leads to insufficient production of heme.Heme function plays a central role in cellular metabolism.