Prof Stewart Irvine, medical director of NHS Education for Scotland, said: "It helps us ensure that we provide doctors in training with the best possible experience, that we learn from areas where things are working well, and can take action to improve matters where training is not up to standard.