Diagnostic principles in endocrinology