Conditions that arise when the endocrine system is not functioning properly, such as diabetes or hypothyroidism.