Should I take early leave?

Debbie • 1st time mammy
I'm nearly 34wks, I was intending on working upto wk 39. I work in an office and have had no pregnancy related illness or problems until now. Yesterday at my midwife appt she advised I should consider early leave or going on the sick as ive got really bad swelling in my legs and feet. My blood pressure is still ok though. I've checked works HR policy and if I go on sick now-they'll make me start my maternity leave then. Should I struggle on or just bite the bullet and leave now cutting my maternity short (the time I have off with baby).