Staff at Rex Hospital in Raleigh took part in an emergency drill Wednesday to help improve its response during an active-shooter situation.