RSD ME
Hope you're feeling a little better today - I know how days, or worse still - nights, of pain keeping you awake can just sap every ounce of energy from your body. I find if I have several bad nights in a row I become pretty dysfunctional so occasionally I will take a sleeping pill to try and get a few hours of restorative sleep. I don't like the side effects (bad after-taste and they're addictive) but one every now and then is useful. Maybe this is something you could discuss with your doctor if you don't already have them and if you can tolerate them.
Take care