Parathyroid hormone (PTH) regulates the amount of calcium and phosphorus in bone and blood. PTH is made by four small parathyroid glands located in the neck behind the thyroid gland. Hypoparathyroidism occurs when there is too little PTH. Blood calcium levels fall, and phosphorus levels rise.
The most common cause of hypoparathyroidism is injury to the parathyroid glands during head and neck surgery. Rarely, hypoparathyroidism is a side effect of radioactive iodine treatment for hyperthyroidism. PTH secretion also may be impaired when blood levels of magnesium are low, or when blood pH is too high, a condition called metabolic alkalosis.
Also Hyperparathyroisim is where the Parathyroid gland produces TOO MUCH hormone.
I would be going back to the Endo and asking him/her to explain it all to you and ask what is going to be done about it.
Good Luck