<human>: Can you succinctly summarize the text in 1-3 sentences?

I work at a large community hospital. I am in no way qualified to treat/deal with anything medical or crisis in nature. I am saying this because I feel that my work environment (I am a cleaner and support assistant) offers little to no training, particularly in how to deal with the homeless/ drug abusers and mental health crisis patients I come into contact with constantly. 

I finished my 8 hour shift and sat outside, next to another bench with an old man sitting on it. I looked over at him a few times and noticed he was covered in dirt, and shaking. He looked so broken down. I asked him if he was cold, and he said he was frozen to his bones. I asked if he was hungry and he said he was starving.

 I am a bleeding heart type of person, and I knew I couldn't just walk away. I did the only thing I could think of. I offered to walk him into the door of the hospital and sit him down next to our security office. Once we were in there, I explained to him that he is not a patient and wouldn't be able to stay, but that he could warm up. I gave him hot blankets and asked the ER department if I could give him a box of food we keep as extras in the fridge.

I notified the security office, ER triage and the security officer sitting next to him that he was told he would have to leave after he warmed up. He agreed and was polite so I said goodbye and went home.
Now that I am home and not emotionally involved I have realized I may have made a mistake. I don't know anything about this man, and I am concerned that if he did become violent or something that I would be blamed (and probably rightly so). I also realized he could have lice or bed bugs that would get on the sheets. In the moment, when I was looking at the poor disheveled man in front of me, I didn't think of any of that.. only that I could aleviate his suffering in that particular moment.

Did I make a mistake, or do the right thing?
<bot>: I walked a homeless man into a hospital to get warmed up, worried I could get in trouble for violating hospital policy or causing a security problem.