Long-term consequences of endocrine diseases