CPT code integrity: what claims data quality means for AI model accuracy
CPT codes drive billions of dollars in claims decisions annually, but the procedural code data feeding AI models carries systemic quality problems that most teams never measure. Upcoding, unbundling, modifier misuse, and stale code mappings corrupt training data before a model ever sees it. CPT code integrity is not a billing problem; it is a model accuracy problem.
CPT codes are the backbone of procedural billing in the United States. Over 10,000 active codes describe everything from a 15-minute office visit to a robotic-assisted splenectomy. Every year, the AMA updates, adds, and deletes hundreds of codes, and every year, claims databases silently accumulate records that reference outdated, miscoded, or strategically manipulated procedural data.
When an AI model trains on claims data that includes CPT codes, it inherits every coding error, every upcoding pattern, and every bundling inconsistency embedded in that dataset. The model does not know the difference between a clinically accurate code and a revenue-optimized one. It treats both as ground truth.
This is the CPT code integrity problem. And it sits at the center of every claims-based AI application in healthcare.
Why CPT codes are uniquely fragile as training data
Unlike ICD-10 diagnosis codes, which describe what is wrong with a patient, CPT codes describe what was done. This distinction matters because procedural codes carry financial incentives that diagnosis codes do not. A single CPT code choice can change reimbursement by thousands of dollars.
The Office of Inspector General (OIG) has estimated that improper Medicare payments exceeded $46.2 billion in fiscal year 2023. A significant portion of those improper payments trace back to CPT code selection errors, including upcoding (selecting a higher-complexity code than the service warrants), unbundling (billing separately for procedures that should be billed as a package), and modifier misuse.
These are not random errors. They are systematic distortions. And when an AI model trains on claims data containing these patterns, it learns the distortion as if it were clinical reality.
How claims data quality failures propagate into AI models
Consider a predictive model designed to estimate surgical costs for a health plan. The model trains on three years of claims data that includes CPT codes for orthopedic procedures. If 12% of those claims contain upcoded CPT codes (a rate consistent with OIG audit findings in certain specialties), the model will systematically overestimate the complexity and cost of those procedures.
The model does not fail spectacularly. It fails quietly. Predictions drift upward. Cost estimates skew. Risk stratification breaks. And because claims data is treated as authoritative, nobody questions the input.
This is the core claims data quality AI problem: the data looks clean by every traditional metric (complete fields, valid code formats, matching date ranges) but the semantic content of the codes is wrong.
Traditional data quality checks catch missing fields. They do not catch a CPT 99214 that should have been a 99213.
The annual code churn problem
Every January, the AMA releases CPT code updates. In 2024, the AMA added 230 new codes, revised 70, and deleted 49. In 2025, similar volumes of changes went into effect.
When a training dataset spans multiple years and does not account for these changes, the model encounters codes that no longer exist, codes whose definitions have changed, and codes that have been replaced by more specific alternatives. A model trained on 2021 claims data that includes deleted CPT codes will produce outputs based on procedures that the coding system no longer recognizes.
This temporal code drift is a specific form of the broader temporal drift problem in healthcare AI. But CPT code drift is more dangerous because it is invisible in standard validation pipelines. The code format is still valid. The code just does not mean what it used to mean.
Key statistics
The scale of CPT code integrity issues is measurable and significant across the healthcare system.
What AI model integrity actually means
AI model integrity refers to the degree to which a model produces outputs that are accurate, consistent, and traceable to verified inputs. In healthcare, model integrity is not just a performance metric. It is a regulatory and clinical safety requirement.
But here is the part most teams miss: model integrity starts before the model exists. It starts with the data.
A model can have perfect architecture, optimal hyperparameters, and rigorous validation protocols. If the training data contains CPT codes that misrepresent the procedures actually performed, the model's integrity is compromised at the foundation. No amount of post-hoc explainability fixes this. You cannot explain your way out of training on the wrong data.
This is why AI explainability solves the wrong problem when data integrity is the actual failure point.
How do you verify the accuracy of AI-generated code?
When AI systems generate or suggest CPT codes (as many revenue cycle automation tools now do), verification requires more than checking whether the code exists in the current CPT codebook.
Accurate verification involves three layers:
Most AI coding tools stop at layer one. Some reach layer two. Almost none enforce layer three systematically across multi-year datasets.
The result is AI-generated codes that are syntactically correct but clinically or temporally wrong. These codes then feed back into claims databases, creating a feedback loop where AI-generated errors become training data for the next generation of AI models.
Is data integrity a measure of data quality? True or false?
True, but incomplete. Data integrity is one dimension of data quality, not a synonym for it.
Data integrity refers to the accuracy and consistency of data over its lifecycle: from creation through storage, retrieval, and use. Data quality is a broader concept that includes integrity but also encompasses completeness, timeliness, relevance, and provenance.
A CPT code can have perfect integrity (it has not been altered since it was recorded) and still represent poor quality data (it was an upcoded submission from the start). Integrity tells you the data has not been corrupted. Quality tells you the data was correct to begin with.
This distinction matters for AI applications because most data pipelines check for integrity (has anything changed?) but not for quality (was it right in the first place?). The SuperTruth Data Trust Index addresses this by scoring records across eight dimensions, including both Validation (integrity) and Quality (accuracy), as separate measurable attributes.
For a deeper breakdown of how these dimensions differ, see data quality vs data trust.
How AI is affecting medical billing and coding
AI is reshaping medical billing and coding in three concurrent ways, and not all of them improve data quality.
Automated code suggestion. Tools from companies like 3M, Optum, and dozens of startups now suggest CPT codes based on clinical documentation. When trained on clean data, these tools reduce coding time and improve consistency. When trained on claims data with embedded upcoding patterns, they perpetuate and scale those patterns.
Prior authorization automation. Payer AI systems evaluate CPT codes against coverage policies to auto-approve or auto-deny prior authorization requests. The UnitedHealth Group AI denial rate controversy demonstrated what happens when these systems operate on data assumptions that do not reflect clinical reality.
Fraud detection and audit targeting. CMS and commercial payers use AI to identify billing anomalies. These systems compare individual provider CPT code distributions against specialty benchmarks. But the benchmarks themselves are derived from claims data that contains the same coding distortions the system is trying to detect. The baseline is contaminated.
The net effect is that AI is simultaneously improving coding efficiency and amplifying existing data quality problems. Without a trust layer that scores data before it enters a model, these effects compound.
Procedural code data trust: what it requires
Building procedural code data trust requires scoring CPT data across multiple dimensions before it is used for any AI application. The relevant dimensions from the SuperTruth DTI framework include:
Provenance (25% weight). Where did this CPT code originate? Was it assigned by a certified coder, suggested by an AI tool, or auto-populated by an EHR template? The source determines the code's reliability.
Recency (15% weight). Is the code current for the date of service? Has it been cross-referenced against the CPT update for the relevant year? Multi-year claims datasets without version reconciliation fail this dimension.
Concordance (10% weight). Does the CPT code align with the ICD-10 diagnosis code on the same claim? A CPT code for a complex spinal fusion paired with a diagnosis code for a routine backache is a concordance failure that should be flagged before training.
Quality (10% weight). Does the code accurately represent the procedure as documented in clinical notes? This requires access to source documentation, not just the claim itself.
Without scoring across these dimensions, a claims dataset is a collection of billing assertions, not a verified record of clinical activity.
The ICD-10 and CPT code interaction problem
CPT code integrity does not exist in isolation. It intersects with ICD-10 coding accuracy in ways that compound data quality failures.
A claim contains both a diagnosis code (ICD-10) and a procedure code (CPT). Payer adjudication systems check whether the procedure is medically necessary for the stated diagnosis. When either code is wrong, the relationship between them becomes meaningless. AI models that train on claims data inherit these broken relationships as if they represent valid clinical logic.
For example, if a training dataset contains 5,000 claims where CPT 27447 (total knee replacement) is paired with ICD-10 M17.11 (primary osteoarthritis, right knee), the model learns a strong association. But if 8% of those claims actually involved a partial knee replacement billed as a total (a documented upcoding pattern), the model's understanding of that procedure-diagnosis relationship is systematically distorted.
What needs to change before AI can trust claims data
Three structural changes would improve CPT code integrity for AI applications:
Pre-training data scoring. Every claims record should receive a trust score before entering a training pipeline. Records below a defined threshold should be excluded or flagged. This is what the DTI Engine does: it scores records 0 to 100 across eight dimensions and enforces minimum thresholds for AI readiness.
Temporal version mapping. Claims datasets should include metadata indicating which CPT code version was in effect at the time of service. This allows models to normalize codes across years and flag records that reference deleted or redefined codes.
Source documentation linkage. Claims data should be linked to the clinical documentation that supports the CPT code assignment. Without this linkage, there is no way to distinguish between a correctly coded claim and a revenue-optimized one.
None of these changes require new technology. They require treating claims data as what it is: a financial artifact that needs verification before it becomes a clinical input.
The cost of ignoring CPT code integrity
The downstream costs are not abstract. A model that trains on upcoded CPT data will overestimate procedure costs, leading to inflated risk adjustment scores and incorrect premium calculations. A model that trains on unbundled CPT data will misunderstand procedure relationships, leading to prior authorization logic that denies valid claims or approves fraudulent ones.
The $3.5 trillion cost of bad health data is not just about missing records. It includes every AI decision made on procedural codes that were never verified against clinical reality.
Health plans, health systems, and pharma companies deploying claims-based AI all face the same question: do you know the integrity score of the CPT data your model trained on? If the answer is no, every output that model produces carries unmeasured risk.
The DTI Engine scores every health data record 0 to 100 across 8 trust dimensions before your AI model sees it. If your team is evaluating claims data for training, compliance, or clinical use and needs to quantify CPT code integrity before it becomes a model accuracy problem, schedule a conversation with the SuperTruth commercial team or (215) 918-4140.
Further reading:

Jason Alan Snyder
Co-founder of SuperTruth and Artists & Robots, and an inventor on the Data Trust Index patents. Twenty-plus years building technology inside Interpublic Group. He writes here nearly every day on data trust, provenance, and what AI should be allowed to act on, and publishes essays on his Substack.
About SuperTruth · LinkedIn · Substack · jasonalansnyder.com
See it in practice
DTI scores the record, not the patient.
8 dimensions. 0 to 100. Travels with every record permanently.