The compounding pharmacy at the center of a meningitis outbreak that has put 14,000 patients at risk was not following the requirements of its license when it shipped more than 17,000 vials of a contaminated steroid to pain clinics in 23 states, a spokeswoman for the Massachusetts Department of Public Health says.