A Systems Perspective on Trainee Impairment