PTH and familial primary hypomagnesemia: Furthermore, hypocalcemia could also be attributed to the coexistent hypomagnesemia (which is known to impair the release of PTH and induce skeletal resistance to its actions or/and hypokalemia which is associated with increased urinary excretion of calcium.