In the past year I was in the hospital for DD's birth and for a week (unexpectedly) for critically low potassium.
If you don't have someone that can bring you food, I'd pack enough that you can sustain yourself, especially if you have non-top 8 allergies.
I was able to eat a few specific things. It didn't often add up to a normal meal, but luckily I was ok with that. I could get things like a plain bagel with cream cheese, a baked potato, an orange or grapes, pudding, cottage cheese. They let me order broth from the soft food menu, and with some plain pasta and a plain grilled chicken breast I made a sort-of passable chicken noodle soup. (I was honestly surprised their broth was safe for a soy allergy though.)