Try to contamplain your mind and body, it must be very intresting in your situation.
When pain arise :
"-Hm, my body (mind) feel pain here or here.
-What is the sort of pain?
-How it mouves.
-What exactly make me percive it like somethink painfull, which element?
-And if i tuch it? Feel compassion to it? If i lead my concentration on other part of body (some plesant feeling)? ...what will heppens?
- Hmm, intresting, this pain mike arise such and such toughts.
- My body want to stand up. And if i stay a little more, what would be reaction of my mind? Of my body?
- And if i will forgot the last minutes of suffering, and will concentrate on the pain's present moment? ....Now. ....Now.... Now... (until you establish present moment)
- Intresting, there is feeling of pain in presen moment, but there is no suffering in present moment.
Investigate your mind, and your body like this.
Like a scientist who want to know the fonctioning of illness, of pain, body, feeling, perception, volitional formations, consciosness... all fenomena. Like a scientist who want to find the medicament, the exit, the end of suffering.
I wish you the best.