It's one of many things I hated about being stuck in the mental hospital 5 years ago. 35 days in a row of hospital food. About 33% of it was edible. The only thing I liked is that I got them to switch breakfast for me for 2 sets of chocolate milk but they refused when I told them I'm used to eating once a day.
As someone with a decent amount of experience in the restauration business, I really can't blame them though. They usually have to make 1500-3000 meals a day depending on the size of the hospital and they can't use most spices because a lot of people have their digestive system in bad shapes either because of illnesses related to it or severely weakened because they are on antibiotics that ruins their intestinal flora. They also have to make it so people who can't chew can still eat. They cannot use salt because of all those with atheroscleroscis or other illnesses related to the heart and blood stream. They also have to ensure there are some meals that are Kosher and Hallal. On top of that, they have hundreds of custom menus and they have to make sure each of them reaches the right person in the hospital. It's also a really thankless job, people hate them. They are paid well though.
If it's like prisons, they might have the kosher and hallal meals made elsewhere and they simply heat it though so it may or may not get you better meals to pretend to be one of the two for better food.