I second the advice of a dietician. Do it while you are still in the hospital, if you can. Or at least, have them set it up. Your gastro doctor should be able to recommend one.
Take care of yourself.