endocrine diagnostic technique