Regarding the regulation of calcium (Ca) and phosphorus (P) homeostasis: parathyroid hormone (PTH) secretion is triggered by low serum calcium levels and inhibited by hypomagnesemia and elevated 1,25(OH)2D3 levels. The gene discussed is PTH; the disease is familial primary hypomagnesemia.