Maternity leave

Originally I wanted to work up until I went into labor but now I am rethinking this. I'm now 36 weeks and am thinking about asking my doctor about pulling me out in two weeks. So working this week and next. My body can't handle the stress and long days at work. I've been swelling a ton. Cramping. Have been overly tired. I work long hours with no lunch sometimes and my job is very stressful. What does everyone think? This could potentially take two weeks away from spending with my baby.