Furthermore, intravenous magnesium infusion led to a significant rise in PTH in the group with functional hypoparathyroidism and a reduction in PTH in the subjects with vitamin D insufficiency. Here, PTH is linked to vitamin D deficiency.