Sorry to hear about the injury.
If you are on opioid pain meds, be careful of constipation - I ended up in emergency with it, no joke. If you are taking codeine, you should get some advice about which laxative to add to the mix to keep out of trouble, at least that is what I intend to do if there is a next time for me.
Good luck with it, I hope the surgery goes well.