Another way to say "A doctor diagnoses illness" is "A doctor is for diagnosing illness."