However, relationship between serum Mg with PTH and bone mineral metabolism may vary with the presence of diabetes and different renal replacement therapies. Here, PTH is linked to diabetes mellitus.