PTH and magnesium deficiency: Magnesium deficiency is related to decreased PTH and vitamin D levels.