Cops: Man stole purse outside hospital