Being in the hospital can be stressful and emotionally taxing. I think it's kind of her to visit.
I was in the hospital for a DVT (blood clot in my leg) a couple of years ago, 5 days. I came quite close to having a psychiatric evaluation because of my emotional state. I wish I had asked my T to visit, I think it would have been helpful.
I've been told that if you are in a psychiatric hospital for long enough, that you'll probably get a visit from your T. I guess I don't see how being in a hospital for a physical problem would be that much different in that sense.
So, that's my personal opinion
I hope you are doing better after your hospital stay!