Well done, OP, you did the right thing.
Slightly shocked that quite a few people on here wouldn't even call the police or an ambulance.
In my country you're legally required to assist people in distress, unless doing so would put you or others in harm's way. At minimum, you would usually be required to call the local emergency number. Failure to provide assistance is a crime that carries a maximum sentence of one year in prison.
There was a recent case where an old man lay unconscious in the foyer of a bank and four people just stepped over him on their way to the cash machines and did nothing (apparently mistaking him for a homeless person). The man died and they were fined around 3000€ each.
There's a similar legal requirement in Albania, Andorra, Argentina, Austria, Belgium, Brazil, Bulgaria, Croatia, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Israel, Italy, the Netherlands, Norway, Poland, Portugal, Russia, Serbia, Spain, Switzerland and Tunisia, according to Wikipedia.