Cab driver leaves hospital after robbery, shooting