PTH and magnesium deficiency: Magnesium deficiency is associated with impaired secretion and affinity of PTH.