doctors diagnose illnesses