Drug diversion is defined as the misappropriation of prescription medication without legal authorization. The most common examples are when a physician writes a prescription for narcotics without a legitimate medical necessity or when a nurse diverts medication from a pyxis machine.