Hi Phil,
I hope you're feeling a lot better since your accident.
Are you sure you're supposed to be cycling with your back the way it is?
Sounds to me as if you shouldn't be doing too much of anything if your leg keeps going out from under you. You must have pinched nerves in there.
I hope you don't have to drive far to see the surgeon.
You take care of yourself.