Bed rest

Samantha
Is hip pain a reason to be put on bed rest? I have an office job so it's easy, but sitting there for hours really amps the pain, I feel like I'm losing circulation in my legs which brings on major migraines to where I can't keep my eyes open. The only thing I've found to curv the pain and symptoms is laying on my left side in a dark quiet room. Will the dr back me on that? Or will he make me continue to work.