If I attempted a cardio workout before surgery I'd end up in the ICU anyway!
But seriously, that's a really good question. I was just wondering about that myself the other day. I think it probably depends a lot on the surgeon and the nurses. I really don't know though...sorry not much of a help.