How Thyroid Function Tests Detect Autoimmune Conditions