(b) An additional maternity leave of thirty (30) days, without pay, can be availed of, at the option of the female worker: Provided, That the employer shall be given due notice, in writing, at least forty-five (45) days before the end of her maternity leave: Provided, further, That no prior notice shall be necessary in the event of a medical emergency but subsequent notice shall be given to the head agency.