I'd say that is up to the GM. Some surgeries are quick, others would take long hours. And in a sci-fi universe, who knows? So yes, it is up to the GM
"This is all Joker's fault! What a tool he was! Now I spend all day computing pi because he plugged in the Overlord."