PTH and familial primary hypomagnesemia: Hypocalcemia can arise from insufficiencies of parathyroid hormone (PTH) and/or activated vitamin D. Because hypomagnesemia is known to be one cause of such pathophysiology,[6] it is important to measure serum magnesium level in cases of prolonged hypocalcemia.