A.M.
I had some clients in a similar situation when I was a lactation consultant. Here is what they did.
First they did pump and express milk and saved it and gave it to their baby in a cup, they did not know if baby would take a bottle, just that they did not want nipple confusion.
Then for the time baby could not have her milk she pumped and dumped and then after the alloted time just simply resumed nursing like always. They did have a rough two days , but alot less rough than a weaning they did not want and difficulites with allergies and so on.
Babies will wean when they are ready, so unlikely baby will be ready just because of a medical proceedure. I have also had a client who had to go to rehab for 2 weeks that resumed after coming back and when my child was close to this age. 18 months with the 2nd child. I often attended birth where I had to be gone for 2 full days or more, I pumped while gone, they fed her my milk and food and I returned to nursing when I got back.