Planning has to adjust to doctors taking a break after foundation years, says review