Repository navigation
Home
The following are my thoughts about implementing a distributed computing system to build and maintain a centralized database of information provided by insurance companies as required by the United States government.
Most people in the U.S. are at least familiar with some of it, but much goes on behind the scenes that aren't exposed to patients. There are four key parts to how insurance in the U.S. works. I will refer to these as the four P's: plan/payor, provider, procedure, and payment. These four labels are not entirely accurate, but they're easy to remember, and I will explain them next.
- Plan/Payor: This is the insurance company that makes Payments to the Provider for the Procedures performed. Of course, the individuals receiving care also pay via a co-pay or a deductible, but the Payor here is the insurance company. Payors may have a thousand different plans.
- Provider: This is the doctor, group of doctors or hospital that performs and bills for the Procedure.
- Procedure: This label is not entirely accurate because, in addition to actual procedures performed, it includes all the provider's direct expenses associated with the care provided. If you've ever seen a medical bill for even a simple out-patient surgery, you'll know that there will be dozens of items listed. Everything from the anesthesiologist's time and the anesthesia to the pain medication given after the surgery. For every Procedure (i.e., procedures and consumables), there is a designated code. There are thousands of these codes for everything from a syringe to a heart transplant.
- Payment: Insurance companies negotiate payment rates for each Provider for each Procedure. This is the part of the system that is now required by U.S. law to be made available to the public. Thus, patients can now theoretically make an informed decision about their choice of provider, which includes the cost to the insurance company. I will use "negotiated rates" and Payments interchangeably.
Unfortunately, I feel this data will be of very little use to most patients who care primarily about what their deductible and co-pays are. Although, if deductibles are a major concern, patients may be able to save money by finding a provider that has negotiated a lower rate with the insurer. The people that will likely make the most use of this information are the providers who can now readily see how much other providers in their area are being paid. Ultimately, I see this giving leverage to the providers to negotiate higher rates which will then increase the cost of insurance. Hopefully, I'm wrong.
One issue with the system of negotiated rates is that most providers have negotiated rates for most procedures, even if they do not perform the procedure. This is because once a person graduates from medical school, they are legally allowed to perform any medical procedure. It is the Hippocratic oath, hospital administration, available facilities, and common sense that keep doctors from performing procedures beyond their area of expertise. However, in an emergency, it may be necessary to perform a procedure well outside of what a doctor routinely does.
Thus, if someone is browsing for the cost of, say, a hip replacement, they may find a provider that would charge nothing for the procedure. However, there is no way that provider would ever do a hip replacement, which is why the negotiated rate happened to be zero. While one finds this in the data, it is not common because most contracts have standard rates for most procedures, and the providers only negotiate the ones they might conceivably bill. Finding the best price for a procedure then requires that the patient know which providers will perform that procedure. For example, one will find over 50 million(!) negotiated rates for a heart transplant in the United Healthcare data alone. Nearly every provider in their data has multiple negotiated rates (because they have different contracts with different plans) for a heart transplant. However, of course, only a very small fraction of those rates are available.
Another issue is that, as mentioned above, what patients view as procedures are tens or hundreds of sub-procedures, each with its own negotiated payment. Take the negotiated rates for a heart transplant. Most of the rates are around $2,500, which appears exceptionally cheap until one remembers that an actual heart transplant will have hundreds of other charges.
Even if patients knew who in their vicinity performs a procedure and, of course, what insurance plan they have, the U.S. government only requires the insurance companies to make the data "machine-readable." There is no requirement that the data be "human readable" or easily searchable. When you multiply thousands of Payor/Plans with tens of thousands of Providers and tens of thousands of Procedures, you wind up with a huge amount of data, tens of terabytes per insurance company. Thus, the plan here is to make the data more readily available and searchable by people who are not data scientists.
Let's first understand the data involved by looking at some from Humana. Humana has provided its data in a simple yet inefficient format that lists every negotiated rate on a separate line. Each line contains the following information (I have included sample values for each category).
| Information | Example 1 | Example 2 |
|---|---|---|
| Reporting Entity Name | Humana Inc | Humana Inc |
| Reporting Entity Type | Health Insurance Issuer | Health Insurance Issuer |
| Last Updated On | 2022-09-21 | 2022-09-21 |
| Version | 1.0.0 | 1.0.0 |
| NPI | 1407402209,1518592237 | 1982715538,1306820253 |
| TIN | 616001218 | 020574738 |
| Type | ein | ein |
| Negotiation Arrangement | ffs | ffs |
| Name | Obturator Prosthesis Modification | Palatal Augmentation Prosthesis |
| Billing Code Type | CDT | CDT |
| Billing Code Type Version | 2022 | 2022 |
| Billing Code | D5933 | D5954 |
| Description | Obturator Prosthesis Modification | Palatal Augmentation Prosthesis |
| Negotiated Type | negotiated | negotiated |
| Negotiated Rate | 180.10 | 5073.81 |
| Expiration Date | 9999-12-31 | 9999-12-31 |
| Service Code | ||
| Billing Class | professional | professional |
| Billing Code Modifier | ||
| Additional Info | ||
| Bundled Billing Code Type | ||
| Bundled Billing Code Version | ||
| Bundled Billing Code | ||
| Bundled Description |
Most of these data labels are self-explanatory; however, a few may not be. The NPI is the "national provider identifier" that all providers have; these can be individual providers or provider groups. The TIN is the "tax(?) identification number" that all businesses have. Most of the time, this will be an EIN, or "employer identification number," which is like a social security number for businesses. The TIN uniquely identifies provider groups such as hospitals, clinics, and group practices that might not have an NPI. In the two examples given, there are two physicians in each provider group. You can determine information about a provider here (https://npiregistry.cms.hhs.gov/search). The first (1407402209) is a nurse practitioner in Lexington, KY, who focuses on pediatrics named Elleanor Gray Vogt. The second group member is a nurse practitioner focused on family medicine named, Lindsay Paige Jenkins. The acronym "ffs" stands for "fee-for-service," not the more common off-color meaning.
Humana has split its 50 terabytes of compressed data into roughly 500,000 files of approximately 100 MB each. Each of these files contains about 1,200,000 lines like the two examples above, meaning there are about 600 billion(!) negotiated rates.
It should be clear from the two examples provided why this is an inefficient way to exchange data, i.e., there is a lot of redundant information--most other Payor data is about ten terabytes. For example, the first two items in each data line are identical. Why replace them with a single column that contains an "H" and a key that identifies an "H" in the first column meaning two columns with "Humana Inc" in the first and "Health Insurance Issuer" in the second? We don't want to get rid of the first two columns entirely because there are other insurance companies involved.
As a slightly more complicated example of how one can reduce the amount of data but not the information contained, consider the Name, Billing Code Type, Billing Code Type Version, Billing Code, and Description columns. Not only will these be often repeated--essentially for each provider group--but they are all tied together.