From computerized pharmacy data , cumulative opioid exposure was defined as total standardized doses ( TSDs ) dispensed over 10 years ( excluding the most recent year because of possible prodromal symptoms ) .