Social and News Media Enable Estimation of Epidemiological Patterns Early in the 2010 Haitian Cholera Outbreak
This is how it works: Person buys drugs. Person scratches a sticker on the bottle or packet to reveal a 12 digit pseudorandom number, then sends it to an SMS shortcode (a five digit number). Person gets an SMS response about whether the drugs are good or not.
In that time, the 12 digit number has been routed from the local telecom to servers in the United States, hosted by Amazon. It gets checked against the database, and they get a response SMS telling them whether they should return the drugs, or ingest them.
The cost of the service is footed by drug companies, who benefit both from preventing pirates from counterfeiting their wares, and maintaining their brand reputation (infant deaths linked to your brand is not good for business).