Gunmen opened fire on an ambulance as emergency crews transported victims to a nearby hospital, killing a rescue worker and wounding two others.