A rare inherited metabolic disorder where excess oxalic acid forms crystals which make up urinary stones. In type I primary hyperoxaluria there is a deficiency of peroxisomal alanine-glyoxalate aminotransferase and type II involves a deficiency of the enzyme glyoxylate reductase/hydroxypyruvate reductase. See also Oxalosis