Pathophysiology of the endocrine system