Read up on the procedures hospitals use for narcotic returns.
Regardless, from discussions with PharmDs, RPHs, and pharmacy technicians years ago, there are multiple desirable capabilities from any device that can authenticate an injectable drug quickly and inexpensively.
Most of the time, if some liquid substance in a container MUST be authenticated, it requires an order to the in-house lab or third-party lab. Slow and expensive gas cro and mass spec machines, even with Stat orders, are cumbersome at best.
Back to your specific question. Read up on the procedures hospitals use for narcotic returns. If a 40mg injectable is checked out of the pharmacy or controlled storage, and 20mg is administered per doctor's order, the remaining 20mg is typically wasted. It should be verified, and wasted. It someone intent on diverting transfers the remaining 20mg to a personal container (or their arm), then transfers 20mg of tap water back into the original container, it is easy to have someone observe the "wasting" of that 20mg of tap water and have the one diverting state "wasting 20mg of <narcotic name here>."
Find out where and how they actually "waste." I've watched in done in multiple hospitals as a hospital systems analyst/developer.