Walgreens has agreed to pay $106 million to settle lawsuits that alleged the pharmacy chain submitted false payment claims with government health care programs for prescriptions that were never dispensed.
The settlement announced on Friday resolves lawsuits filed in New Mexico, Texas and Florida on behalf of three people who had worked in Walgreens’ pharmacy operation. The lawsuits were filed under a whistleblower provision of the False Claims Act that lets private parties file case on behalf of the United States government and share in the recovery of money, the U.S. Justice Department said. The pharmacy chain was accused of submitting false payment claims to Medicare, Medicaid and other federal health care programs between 2009 and 2020 for prescriptions that were processed but never picked up.
In a statement, Walgreens said that because of a software error, the chain inadvertently billed some government programs for a relatively small number of prescriptions that patients submitted but never picked up.
I could pretty easily see how such a bug could happen if the description in the article is accurate.
The right way to do it is to have the entire transaction in some pending state, and nothing is permanently saved anywhere until the transaction is completed. (This is called an atomic operation. It usually applies to distributed databases, but the same concept applies here, where the transaction takes a long time to succeed or fail.)
If, instead, you add it to the “reimbursement list” while putting the actual “make the pill” and billing part in the pending state, then forget to remove it when the transaction isn’t completed, you get the outcome described in the article.