Don’t recall any special diet restrictions.
You’ll be flat on your back for a few days. You can’t really move around in bed because you can’t lift yourself with your elbows. You’re not gonna wanna eat much for a while, so there won’t be much to worry about in the poopage department.
When you came home, were you able to get out of bed and sit up in a chair? I am not much for laying around in bed.