Hospitals will tend to have spotty service as they tend to be built of mostly concrete and steel. Also some rooms such as ERs are well shielded so depending where you are in the hospital you can end up with poor signal. I used to do IT in one and even wifi could be spotty in some places despite plenty of access points. RF is tricky business.
5G is also very high frequency so does not tend to go as far. I've only ever seen 5G show up on my phone once. I didn't even realize we had it here.