Since 1 August 2009 all junior doctor rotas in NHS Scotland have been designed to meet the requirements of the working time regulations, which limits working hours to 48 hours per week on average over a 26 week reference period. Before this, the new deal contract, limited hours to up to 56 per week which was averaged over the course of the agreed rota.