Hi there ~
I understand your concerns. I am sorry you have been having excruciating pain in the right side of your rib cage
and unable to bend or sit. This could be due to a pinched nerve
on its exit from the vertebra of the spine. I wonder if you have to have an imaging study like an MRI
to find out and consult a neurologist
. In the meantime I hope you are getting medications to help with the pain from a local doctor.
I hope this helps. Take care of yourself and have a lovely day!