every job is different - but in general, maternity leave (or ceasing work sue to pregnancy) happens at around 34 weeks, and to cover them for allowing you to work beyond that, they need for you to provide a letter from your doctor. prior to that, you should be fine