Trainees to be asked about discrimination and unprofessional behaviour by colleagues