I had this last April/May (pancreatitis and bottle refusing EBF 6 m/o [no solids either under paeds. advice]).
I hired a NCT hospital grade pump and pumped 8-12 times a day. I was anti-biotics after ante-natal not being able/wanted to lend out a pump full time and only able to pump twice a day so got start of mastitis. I was also on buscopan, diclofenac, IV paracetamol and ora-morph/IV morphine and still gave my milk to my DD3.
Ask (aka insist) that the Drs check your meds with Dr Thomas Hale's Medications & Mothers' Milk reference book NOT the BNF. The hospital pharmacy will have a copy. This is THE reference book for bfing/drug compatability the latest edition is 2010 or they can check his internet forum for health professionals here.
DD3 was brought in twice a day for feeds and had the rest by bottle (sort of
she licked the milk of the teats
) and is still bfing today at 14m/o even after I was in for another week when my gall bladder was taken out.
So things to do:-
Get Drs to check meds with Hale.
Get Post-natal to give you a electric pump (pref. double) as hand/manual expressing is just too tiring when you have pancreatitis and you need to rest (which you can do with an electric).
If an pump is not forth coming you may have to hire one from NCT or Express yourself Mums or Anawiz or Poshmums.
Express as much as you feel up to (at least as many times as DS would normally take feeds).
Have someone bring DS on to the ward for bfs - the Matron may have to agree this in advance but don't take no for an answer unless they can give you a good answer why not e.g. outbreak of c.difficile, etc.
Have a cool bag filled with ice packs if the ward will not store the milk in their fridge.
Good luck and hope you recover swiftly. PM if you need anything.