You may want to put together a bunch of stuff that you can do handwork on. I am having a very minor surgery on my knee on the 26th and I am trying to get some quilts that I can hand sew the binding and labels on during that time.
I should be able to sew in a week. Your knee replacement will probably be a bit longer!