Rapid verification of identity and content of drug formulations using mid-infrared spectroscopy