Pathological processes of the parathyroid glands. They usually manifest as hypersecretion or hyposecretion of parathyroid hormone that regulates the balance of calcium; phosphorus; and magnesium in the body.