Will Doctor take me out?

37 weeks and I'm so broken and uncomfortable at work. My job involves walking and standing continuously 8+ hours a day. Trying to go to my due date but it's so hard physically. Has anyone asked their dr to take them out of work for the last few weeks?