Safety assessment of pharmaceutical distribution in a hospital environment