I heard a story about a sleepy pharmacist confusing
Acyclovir and
Avloclor (chloroquine), leading to the patient being given megadoses of an anti-malarial to treat shingles. Hmm, could've been nasty. This sort of thing isn't surprising given the stupid brand names some drugs have. There is, in fact,
quite some literature on it. I imagined that we used barcodes or something similar to prevent this.
I particularly like the idea of using a molecule's
InChIKey to generate a barcode. That way you don't need a registry to assign and track barcodes - it is implicit in the combination of molecular structure and barcode-generating algorithm.
Acyclovir Avloclor
MKUXAQIIEYXACX-NTGMBSGFCM WHTVZRBIWZFKQO-PKSOQXRJCD
This took me about ten seconds using
DrugBank and this
little website for generating barcodes. They might not look too different to the human eye, but to the special barcode bipper they are like calcite and casein.
Here I've used Aztec symbology, but I'm no barcode expert - is it rich enough? I'll guess not because I bet you can't round-trip from structure to barcode to structure (#molecules >> #barcodes).