diagnosing and treating illnesses