The officer was shot with a live round and then taken by ambulance to hospital