how to get doctor to extend maternity leave