Conditions of the thyroid gland that can cause overproduction or underproduction of thyroid hormones.