a doctor can performs diagnosis