pretty sure the standard is34 weeks and then if you want to continue longer you need a GP to sign something saying its safe for you to do so. (thats what it is at my work anyway but maybe each workplace has a different policy)