A gunman is said to have shot a man in the head outside a hospital before calmly walking away.