He also died crossing the tram track, presumable not looking both ways before crossing. To be clear, I've also nearly been hit by the Barcelona tram too, so I don't blame him, but "smart" is always relative.
Also, I do belive the story was that he had the appearance of a homeless man and thus received sub-standard care. When someone finally recognized him, it was already too late.