ORIGINAL RESEARCH article

Front. Health Serv., 14 October 2026

Sec. Health System Economics and Financing

Volume 6 - 2026 | https://doi.org/10.3389/frhs.2026.1927175

A machine learning framework for predicting healthcare insurance claim denials

  • 1. School of Computing Sciences, Pak-Austria Fachhochschule: Institute of Applied Sciences and Technology, Haripur, Pakistan

  • 2. Department of Biomedical Engineering, Tohoku University, Sendai, Miyagi, Japan

  • 3. Computer Science Department, School of Engineering, Central Asian University, Tashkent, Uzbekistan

  • 4. Department of Electrical Engineering, COMSATS University Islamabad, Abbottabad, Pakistan

  • 5. Heriot-Watt International Faculty, K.Zhubanov Aktobe Regional University, Aktobe, Kazakhstan

  • 6. Electrical, Electronics and Computer Engineering Department, School of Engineering and Physical Sciences, Heriot Watt University, Edinburgh, United Kingdom

  • 7. James Watt School of Engineering, University of Glasgow, University Avenue, Glasgow, United Kingdom

Abstract

Introduction:

The denial of healthcare insurance claims imposes a significant burden on providers, leading to decreased revenue and inefficient operations. This research presents a predictive model to assist providers in managing claim submissions.

Methods:

The framework uses a rule-based claim scrubber that authenticates submissions before sending them, matching them against known denial patterns. It also employs a two-stage supervised pipeline. The study analyses 678,881 professional claim service lines submitted to a single U.S. payer between 2017 and 2024, of which 31.9% were denied. Stage 1 classifies a submitted line as accepted or denied using a Random Forest over 26 features

Results:

On a temporally ordered, claim-grouped held-out partition of 139,615 lines that retains the natural denial prevalence, it attains a precisionrecall AUC of 0.777 (95% CI 0.770-0.784) against a no-skill baseline of 0.330, ROC-AUC 0.865, accuracy 0.794, balanced accuracy 0.784, recall 0.756 and Matthews correlation 0.552. Stage 2 assigns a reason code over a 67-class label space covering 98.8% of denials, reaching 0.269 Top-1 and 0.498 Top-3 accuracy; the same model reaches 0.918 Top-3 when candidates are restricted to the five most frequent codes, and we report both because reason-code accuracy depends heavily on the label space. Because Stage 2 scores only lines Stage 1 has flagged, end-to-end performance is the product of the two stages: the correct code appears among the first three candidates for 38.8% of all denied lines. Class imbalance was addressed with the Synthetic Minority Over-Sampling Technique applied within training folds only; an ablation shows no measurable benefit at this prevalence (difference in average precision −0.0002, 95% CI −0.0009 to +0.0006) and worse calibration, which we report rather than omit. Tuned XGBoost and LightGBM baselines on the identical partition are statistically indistinguishable from the Random Forest.

Discussion:

The solution provides providers with a claim validation and denial-forecasting tool that reduces the denial rate and simplifies the revenue cycle.

1 Introduction

The rejection of insurance claims poses an extensive issue in health care. They cause significant financial and operational costs for providers, payers, and patients, particularly as AI transforms the industry (1). Every refusal request incurs a series of expenses: administrative reprocessing costs increase by approximately 15% per case, patient care times are extended, and provider-insurer tensions rise. The majority of claim management systems rely on manual reviews or rudimentary automated analyses and are incapable of handling the intricate distributions of denials (2, 3). Consequently, the time frames for reimbursement exceed 30 days, and total expenditures increase due to the systems’ inability to anticipate and respond to evolving payer policies. Recent papers have focused on predicting claim outcomes using machine learning and data-driven approaches (4, 5). The existing solutions typically construct a simple binary classification pipeline: preparing data, training a model, and providing a yes/no answer. They fail to explain why a claim was denied and to offer practical advice. Ensemble and deep learning are promising but have issues of data imbalance; they cannot be explained, and their recommendations are not detailed (6–10). These issues can be addressed using new transformer and graph neural network methods (11, 12), but they have not yet been fully applied to predict denial.

The paper presents a comprehensive predictive framework that transcends conventional workflows. PF-CDM enhances every processing stage by using its solution, which entails: (1) embedding more advanced feature engineering on 26 claim attributes; (2) applying the Synthetic Minority Over-Sampling Technique inside the training folds only, so that every validation and held-out partition retains the natural denial prevalence; and (3) an interpretable rule-based scrubber that identifies the potential reasons of denial. The framework is developed and evaluated retrospectively on professional claim lines obtained from a single U.S. healthcare payer. No prospective deployment, multi-payer trial or external validation is claimed, and the transferability of the reported results to other payers, claim types or geographies is therefore untested; this is examined in Section 6.

Figure 1 illustrates the two-stage pipeline for claim denial prediction and reason-code identification.

Figure 1

The significant contributions of this work are:

  • A new two-step machine learning model both estimates the likelihood of a claim being denied and the code of the reason for the denial.

  • A systematic feature-engineering procedure that derives 26 model-ready features from 32 raw claim fields across temporal, clinical, provider, financial and demographic dimensions. The complete feature dictionary, giving the data type, encoding scheme and point of availability of every feature, is reported in Supplementary Table S1.

  • Embedding of machine learning with business rules and explainability methods, which make the system prepared to be implemented in the real world as a decision-support device.

  • A quantitative leakage assessment, an ablation of the imbalance treatment, internal baselines with paired significance testing, and an end-to-end cascade evaluation, all reported with confidence intervals.

The remainder of this paper is organised as follows. Section

2

reviews prior work on claim outcome prediction, class-imbalance handling and model interpretability, and introduces the feature set. Section

3

positions PF-CDM relative to existing approaches. Section

4

describes the data source, the preprocessing and feature-engineering pipeline, the imbalance-handling strategy, the two-stage architecture, the rule-based scrubber and the evaluation protocol, including the measures taken to prevent information leakage. Section

5

reports the experimental results for both stages together with the ablation, error and feature-importance analyses. Section

6

discusses the findings, states the limitations of the study and outlines directions for future work.

2 Literature review

Predicting denials of healthcare insurance claims has been a long-standing research topic. Initially based on statistical techniques and primitive machine learning, the field advanced with increased computing power to employ sophisticated methods such as ensemble learning and deep learning to enhance accuracy and interpretability. Ensemble methods have consistently outperformed single learners on structured administrative and clinical data and remain the reference approach for tabular prediction tasks of this kind (7). Gradient-boosted tree ensembles in particular deliver strong accuracy at the cost of extensive hyper-parameter tuning (5), whereas the deep architectures developed for electronic health records (4) carry computational and deployment overheads that have limited their adoption in operational revenue-cycle settings (10). Coding quality is a further determinant of the denial outcome: mismatches between the submitted diagnosis and procedure codes are a recognised driver of avoidable rejection and of resubmission delay, which motivates the procedure and diagnosis category features retained by the selection procedure. A further challenge is working with lopsided data, which researchers address through techniques like SMOTE for oversampling infrequent cases (6), or by using stratified ensemble models (7). Alternative approaches include cost-sensitive learning (13) and modifications to neural network architecture (14), which form the basis for handling the inherent imbalance in claim datasets.

Model interpretability is crucial in real-world applications, especially for high-stakes decisions where transparent models are necessary (8). Methods like SHAP values (9), LIME (15), and counterfactual explanations (16) instill user confidence in the forecasts by explaining feature importance. Despite these advancements, several gaps remain. Current models primarily offer binary classification, infrequently explain the rationale for a decision, and rarely integrate domain-specific business rules; few have been successfully implemented in real business processes. As machine learning grows in importance for predicting healthcare outcomes (17) and the need to train clinicians in AI principles is recognized (18), PF-CDM aims to address these shortcomings by providing accurate predictions, precise explanations, and practical applicability.

The 26 features divide into nine temporal, six clinical, four demographic, four provider and three financial variables. Selection used permutation importance rather than impurity importance, because the latter favours high-cardinality columns such as the procedure code and the provider identifier; the two rankings differ materially and the distinction is noted in Section 5. Importance was computed over ten permutations on a random sample of 40,000 training lines, which is sufficient to separate the retained features from the discarded ones at the observed effect sizes, and the 26 features reported were those whose mean importance exceeded zero by more than one standard deviation. Every feature is computable at submission, which is a requirement for a pre-submission tool rather than an incidental property.

3 Comparison with existing work

Though the volume of research on predicting healthcare claim denials is increasing, existing models have limitations: they are poorly designed and have limited scope, and are not ready for use. PF-CDM framework is compared with key previous studies along four dimensions: binary accuracy, denial-code prediction, interpretability, and real-time usability. Most claim-analytics studies frame the problem as binary classification alone: the model indicates whether a claim is likely to be rejected but not why, so its output cannot be acted upon before submission. Gradient-boosted tree methods such as XGBoost (5) achieve strong general classification performance on tabular data but embed no healthcare-specific validation logic and provide no native reason attribution. Claims-specific neural approaches address adjacent problems rather than denial reason coding: the transformer-based Medicare claim encoder of Lahlou et al. (11) targets explainable health-risk estimation, the graph neural network of Hasan (12) targets fraud detection, and the hybrid ensemble of Jabeen et al. (28) forecasts insurance outcomes without producing an actionable reason code.

There is a substantive difference in the PF-CDM approach. The first stage performs binary accepted/denied classification on a held-out partition that preserves the natural denial prevalence; the complete metric suite, with 95% bootstrap confidence intervals, is reported in Table 1, and the comparison against internal baselines trained on the identical split is reported in Table 3 with the associated significance tests. The second stage estimates denial reason codes over a 67-class label space, which is a materially harder task than the five-code formulation used in much of the prior literature and is stated as such. PF-CDM further combines a pre-submission validation layer, documented with its implementation status in Appendix A, with a SHAP-based explainability layer and a dashboard that presents predicted probabilities and candidate reason codes at the point of claim entry. Such an integration makes the PF-CDM model more than a mere classifier and a decision-support system that suits clinical provider operational needs.

Table 1

MetricEstimate95% CIReference value
PR-AUC (primary)0.77700.7700–0.7835No skill 0.3302
ROC-AUC0.86480.8616–0.8678Chance 0.5000
Accuracy0.79360.7905–0.7966Majority class 0.6698
Balanced accuracy0.78400.7805–0.7876Chance 0.5000
Precision0.66480.6583–0.6712Prevalence 0.3302
Recall (sensitivity)0.75600.7497–0.7626
Specificity0.81210.8084–0.8156
0.70740.7021–0.7131
Matthews correlation0.55170.5444–0.5588
Brier score0.14290.1416–0.1442Lower is better

Stage 1 performance on the held-out partition (139,615 lines, denial prevalence 33.0%, operating threshold 0.469).

Intervals are percentile bootstrap over 1,000 replicates resampled by claim rather than by line.

PF-CDM combines denial prediction with reason coding, model transparency, and readiness to deploy. By reporting likely denial, denial reasons, and real-time feedback and actionable insights, PF-CDM fills a research gap. The PF-CDM framework emphasises explainability, alignment with regulations, and operational feasibility, rather than the previous models that emphasised only accuracy. Explainability, as Rudin (8) argued, is non-negotiable in high-stakes areas of healthcare. This philosophy is reflected in PF-CDM, which is both statistically rigorous and clear and rule-based.

4 Materials and methods

4.1 Data source and scope

The data were obtained from a single U.S. healthcare insurance payer and comprise de-identified professional (CMS-1500) claim service lines adjudicated between October 2017 and July 2024. The unit of analysis is the service line, not the claim: a claim carries several lines, each with its own procedure code, service date, charge and adjudication outcome, and lines of one claim are adjudicated together. The extract contained 1,048,575 lines before cleaning and 678,881 after, distributed across 123 rendering providers and dominated by two states, Illinois (26.7% of lines) and Michigan (16.4%), with the patient state field missing on 56.3%. This is therefore a concentrated provider group in a limited geography rather than a national sample, and the generalisability implications are discussed in Section 6.

The raw extract carries 96 fields and no outcome column, so the definition of a denial is a modelling decision rather than a given. A line is treated as denied when it carries a claim adjustment reason code. The alternative rule, a non-zero denial amount, agrees with this definition on 90.8% of lines; the 9.2% disagreement consists entirely of lines carrying a reason code with no dollar amount recouped, which are denials in the operational sense and are counted as such. The resulting denial rate is 31.9% at line level. Several denominators were examined, including the dollar-weighted convention used in revenue-cycle practice, which gives 42.5%; the line-level rate is reported throughout because it is the unit the model operates on.

4.2 Preprocessing and exclusions

Lines missing an essential field were excluded (21,224 lines, 2.0%, all missing a procedure code), as were lines whose service date preceded the patient’s date of birth (305 lines, 0.03%). Procedure codes were normalised to five characters, ICD-10 codes were validated against the CMS pattern, payer names were standardised, and lines without a referring provider identifier were flagged rather than dropped. Dates of birth recorded with two-digit years were corrected where the parsed value fell after the claim date, a century error affecting 41,046 lines.

A further 348,167 lines, 33.9% of the extract, were exact duplicates across all fields. The extract carries no usable line identifier, so these are indistinguishable from one another and were collapsed to one instance each. This step matters beyond data hygiene: retaining duplicates and then partitioning at random places copies of the same line on both sides of the split, and a model with unconstrained leaf size then recognises rather than predicts. That mechanism is examined quantitatively in Section 5.

4.3 Notation

Let denote the processed dataset, where with is the feature vector of line , is the adjudication outcome with denoting denial, and is the denial reason code, defined only when . Here and . Write for the denial prevalence.

4.4 Data partitioning and prevention of information leakage

The data are partitioned temporally rather than at random, and grouped on the claim. All lines belonging to claims created before 21 July 2023 form the development set (539,266 lines, prevalence 0.316) and the remainder form the held-out set (139,615 lines, prevalence 0.330). Grouping is necessary because lines of one claim are adjudicated together and are not independent; allowing them to straddle the partition would let the model observe part of a claim in training and the remainder in testing. Model selection uses stratified group cross-validation with five folds inside only.

Four measures protect against information leakage.

First, the class prevalence of every validation fold and of the held-out partition is left untouched. Resampling is applied exclusively to the training portion of each fold, so no synthetic record is ever scored.

Second, every fitted transformation, including categorical encodings, imputation and the smoothed rate features defined in Equations 3, 4, is estimated on the training portion of the fold and then applied to the held-out portion, never the reverse. Feature selection itself is performed on the training partition alone for the same reason.

Third, fields populated only at or after adjudication are removed from the feature space before any model is fitted. This includes the denial amount, which in this extract is populated if and only if the line was denied and would therefore reproduce the target almost exactly.

Fourth, all historical and aggregate features are computed with a strict temporal cut-off placed before the index line. Because the extract carries no adjudication date, a claim submitted shortly before the index line has an outcome recorded in the data that was not knowable to the biller at submission time. The cut-off is therefore placed a fixed interval before the index claim’s creation date, and the interval was chosen empirically rather than assumed. Supplementary Table S3 reports the correlation between the history features and the outcome as the cut-off is moved back. The provider curve stabilises at 90 days, and the residual association of approximately 0.10 is the genuine provider effect; the 0.32 observed at zero lag was contamination. The patient curve is still declining at 365 days, so 365 days is used as a floor and the residual patient association is reported as an upper bound rather than an estimate.

A shuffled-label control confirms that no feature encodes the outcome of its own line. A model fitted on randomly permuted training labels and evaluated on the untouched held-out partition attained a mean ROC-AUC of 0.4835 over five permutations, with individual runs spanning 0.4231 to 0.5196, straddling chance. The control was run without the sampler, because resampling alters the geometry the test measures: with SMOTE in the pipeline the same control reads 0.5456, and a factorial check using a pure-noise feature confirmed that the elevation is an artefact of interpolation into dense regions rather than evidence of leakage.

The patient identifier merits a caveat. The extract carries no patient key, so a quasi-identifier was constructed from date of birth, sex and state, yielding 32,446 distinct values. Patients sharing all three attributes collide, and the construct is described as a proxy rather than an identifier. At the 365-day cut-off, lines from patients with three or more prior denials were denied 33.5% of the time against 32.2% for patients with a clean history, a ratio of 1.04. At a 30-day cut-off the same comparison gives 45.5% against 22.8%, which illustrates how much of an apparent patient-history effect is attributable to the cut-off rather than to patient behaviour. No patient-history feature was retained by the selection procedure.

4.5 Class imbalance

Stage 1 addresses the 68.1/31.9 imbalance with SMOTE (6). For a minority sample , one of its minority-class nearest neighbours under Euclidean distance is chosen at random and a synthetic sample is generated asSynthesis continues until the training-fold minority proportion reaches a sampling ratio , which is tuned jointly with the forest parameters and was selected at . Equation 1 is applied to training folds only. Section 5 reports an ablation showing that this treatment confers no measurable benefit at the observed prevalence.

Stage 2 does not resample. Interpolating between reason codes that are clinically distinct produces synthetic points with no meaning, so the contribution of class to the Gini impurity at each split is weighted instead bywhere is the number of training lines carrying code and . Equation 2 is the inverse-frequency scheme of (7). A Random Forest is not fitted by gradient descent and has no differentiable loss, so the weighting acts on the impurity criterion at each split rather than on an objective function.

4.6 Derived features

The specialty risk score for taxonomy is the empirical denial rate of that specialty, smoothed towards the global rate to stabilise sparse specialties:where is the set of training-fold lines of specialty , is the training-fold denial rate and is the smoothing constant. The charge-deviation feature compares the billed amount with the payer benchmark for the same procedure and payer type:Both quantities are estimated within the training fold only.

4.7 Pre-submission validation layer

The deployed system applies a validation layer before a claim reaches either model. Its purpose is to reject submissions that cannot be adjudicated and to normalise those that can, rather than to anticipate a specific reason code. It is described here as implemented, and Appendix A distinguishes the capabilities that are deployed from those that are specified but not yet built.

For a single claim entered through the interface, five field-level checks must pass: a procedure code must be present, the billed charge must exceed zero, the number of units must be at least one, a drug code must be present, and the service date must precede the claim creation date, with calendar validity enforced. A submission failing any check is returned to the user rather than scored.

For a file of claims, the layer verifies that all 19 required columns are present and rejects the file otherwise. It then coerces the numeric fields, replaces values that fail coercion with zero, maps categorical values unseen during training to a baseline class so that an unfamiliar procedure code degrades gracefully rather than raising an error, and expands the payer type into four binary indicators.

Two of the manual-entry checks would reject valid claims as currently specified and are under revision; both are identified in Appendix A.

The deployed application serves the model reported here. Its interface accepts a complete claim rather than a single line, which is necessary because four of the 26 features are claim-level aggregates and two are provider-history counts; neither can be derived from one line in isolation. Provider history is computed from the submitting practice’s prior claims under the same 90-day cut-off used in training, so a line receives the same feature at inference that it would have received in training.

4.8 Two-stage architecture

Stage 1 is a Random Forest (19) binary classifier over . Stage 2 is a separate multiclass Random Forest, trained on denied lines only, that estimates over . It is a single-label multiclass model, evaluated by Top-1 and Top-3 accuracy over the full label space. Because Stage 2 scores only lines that Stage 1 has flagged, a denial missed by Stage 1 is unrecoverable, and the end-to-end accuracy of the cascade is the productwhich is necessarily lower than either stage in isolation and is reported alongside the per-stage figures in Section 5.

4.9 Evaluation protocol

Stage 1 is assessed by accuracy, balanced accuracy, precision, recall, specificity, , the Matthews correlation coefficient, ROC-AUC, the area under the precision-recall curve and the Brier score. Because the positive class is the minority, PR-AUC is treated as the primary discrimination measure and ROC-AUC as secondary. The Matthews coefficient is given by Equation 6Calibration is assessed by the Brier score and by a reliability diagram over ten probability deciles. Stage 2 is assessed by Top- accuracy given by Equation 7,where is the set of truly denied held-out lines and the highest-probability codes, together with macro-averaged over .

All 95% confidence intervals are percentile bootstrap (20) over 1,000 replicates. Resampling is performed by claim rather than by line, because lines of one claim are not independent and a line-level bootstrap would understate every interval. Paired comparisons between classifiers on the same held-out partition use McNemar’s test for classification agreement (21) and DeLong’s test for correlated ROC curves (22), with Holm correction across the family of comparisons (23), and a bootstrap interval on the difference in average precision (20).

4.10 Implementation and hyper-parameters

All experiments were run in Python 3.11 with scikit-learn 1.6.1, imbalanced-learn 0.13, XGBoost, LightGBM, CatBoost and SHAP, on a four-core CPU instance with 30 GB of memory. Hyper-parameters were selected by successive-halving randomised search over a grouped 30% subsample of training claims, scored by average precision under five-fold stratified group cross-validation, and the selected configuration was refitted on the full training partition. The search space and the selected values are given in Supplementary Table S4. Random seeds were fixed for the split, the resampling and the forests. The hyper-parameter search required 41.7 min and the final refit 7.3 min on this hardware; inference over the 139,615 held-out lines completes in under a minute, which is the figure relevant to real-time use.

4.11 Stage 2 configuration

Stage 2 was tuned by randomised search over 20 candidates on a grouped 40% subsample of denied training claims, scored by macro under three-fold stratified group cross-validation, and refitted on all 170,636 denied training lines. The selected configuration was 500 trees, minimum leaf size 2, max_features 0.3, unrestricted depth and inverse-frequency class weighting. Codes with fewer than 100 training instances were pooled into a single residual class, leaving 67 classes covering 98.8% of denials.

4.12 Temporal and expert validation

Robustness to policy drift was assessed on cumulative windows of the held-out period and is reported in Section 5. Face validity of the Stage 2 output was checked informally during development, with insurance coding professionals reviewing model predictions on sampled denied lines. This was not conducted as a structured annotation study: reviewer assignments and per-line judgements were not retained, so no chance-corrected agreement statistic can be computed from it. No numeric agreement figure is therefore reported. Raw percentage agreement is in any case uninformative when a single code accounts for a large share of denials, since two raters who both default to that code will agree often while demonstrating nothing. A structured inter-rater study with stratified sampling and Cohen’s and Fleiss’ is required to substantiate a claim of this kind, and is identified as necessary further work in Section 6.

5 Experimental results

5.1 Stage 1: denial prediction

Stage 1 separates accepted from denied lines on the held-out partition, which retains the natural denial prevalence of 33.0%. At the operating threshold of 0.469, selected by maximising on the validation folds, the confusion matrix in Figure 2 records 75,941 correctly accepted lines, 34,850 correctly identified denials, 17,574 lines incorrectly flagged and 11,250 denials missed. Every quantity in Table 1 follows from those four counts or from the predicted probabilities, so the table and the figure are mutually reconcilable: accuracy is .

Figure 2

PR-AUC is the primary measure because the positive class is the minority and accuracy is prevalence-dependent: predicting “accepted” for every line scores 0.670 here. The model’s 0.794 is a gain of 12.4 points over that floor, and its PR-AUC of 0.777 is 2.35 times the no-skill baseline.

Figure 3 presents the ROC and precision–recall curves for Stage 1.

Figure 3

5.2 Calibration and operating points

A tool that presents a biller with a denial probability must be calibrated, not only discriminative. The Brier score is 0.143 and the expected calibration error over ten quantile bins is 0.071, adequate for triage but not for a probability quoted to a payer. Figure 4 shows the calibration curve and predicted probability distribution for Stage 1. Table 2 restates the model in the terms a revenue-cycle team works in.

Figure 4

Table 2

ThresholdLines flaggedPrecisionRecallFalse alarms per denial caught
0.36750%0.5590.8460.79
0.44640%0.6440.7800.55
0.54930%0.7290.6630.37
0.67120%0.8310.5030.20
0.79010%0.9200.2790.09
0.8475%0.9300.1410.08

Stage 1 operating points.

Each row flags a fixed share of submitted lines for pre-submission review.

5.3 Comparison with internal baselines

Six comparators were tuned on the identical grouped subsample with the same number of search draws and refitted on the full training partition. Table 3 reports performance and Table 4 the paired tests. The Random Forest has the highest PR-AUC, but its margin over tuned XGBoost and LightGBM is not significant: the bootstrap intervals on the difference in average precision span zero and DeLong’s test does not reject. It is significantly ahead of CatBoost, a single decision tree and logistic regression. Figure 5 compares PF-CDM with the baseline models using PR-AUC.

Figure 5

Table 3

ModelPR-AUCROC-AUCBal. acc.MCCBrier
PF-CDM (Random Forest)0.77700.86480.78400.70740.55170.1429
XGBoost0.77610.86430.78410.70770.55230.1453
LightGBM0.77580.86390.78320.70890.56230.1426
CatBoost0.75330.86520.78470.70860.55450.1431
Decision tree0.66970.82230.75370.66880.48170.1812
Logistic regression0.65850.81490.73830.65100.45150.2060
Majority class0.33020.50000.50000.49650.00000.2214

Internal baselines on the identical partition, feature set and tuning budget.

PR-AUC is the primary metric, and every model was refitted on the full training partition at its selected configuration.

Table 4

ComparisonAP95% CIMcNemar DeLong Conclusion
vs XGBoost0.00080.0018 to 0.00340.4150.634not significant
vs LightGBM0.00110.0016 to 0.0041<0.0010.267see text
vs CatBoost0.02350.0204 to 0.02690.0040.391PF-CDM ahead
vs Decision tree0.10720.1037 to 0.1110<0.001<0.001PF-CDM ahead
vs Logistic regression0.11850.1136 to 0.1227<0.001<0.001PF-CDM ahead

Paired tests against Stage 1.

AP is the difference in average precision, PF-CDM minus the comparator, with a bootstrap 95% interval; -values are Holm-corrected across the family.

One nuance deserves comment. McNemar’s test rejects for LightGBM although the discrimination measures do not. The two models rank lines almost identically but settle at different operating points: LightGBM’s threshold yields higher precision, 0.699 against 0.665, and lower recall, 0.720 against 0.756. The disagreement is about where the threshold falls, not about the ability to separate the classes.

5.4 Ablation of the imbalance treatment

At a denial prevalence of 31.9% the class imbalance is mild, so the contribution of the resampling step warrants testing rather than assumption. Supplementary Table S5 reports the ablation. The difference in average precision between the resampled and unsampled variants is 0.0002 with a 95% interval of 0.0009 to 0.0006: the interval spans zero and is narrow enough to be conclusive rather than merely underpowered. The unsampled variant is better calibrated, Brier 0.140 against 0.145, and fits in roughly half the time. SMOTE is retained in the reported pipeline because the difference is not adverse and the method is widely used for this class of problem, but the evidence here is that it is unnecessary at this prevalence.

5.5 Feature contribution

Table 5 reports the ablation of feature categories. All variants share one estimator configuration and no resampling, so the differences are like for like; the reference row is that configuration with all 26 features, which reaches 0.786. Financial features carry the great majority of the signal, and withholding the four provider features changes PR-AUC by nothing at all. Claim economics, rather than provider identity, carry the predictive signal in these data.

Table 5

Category withheldFeatures leftPR-AUCChangeShare of total loss
None (all 26 features)260.7859––
Financial230.72450.061461.5%
Clinical200.76410.021821.8%
Temporal170.77720.00878.7%
Demographic220.77800.00797.9%
Provider220.78590.00000.0%

Feature-category ablation.

The reference row uses the same estimator and no resampling as the variants, which is why it differs from Table 1. Shares are computed from the measured loss when each category is withheld.

Table 6

CodeDescriptionLines% of denials% of all lines
16Claim lacks information needed for adjudication20,07411.763.72
B9Patient is enrolled in a hospice13,5627.952.52
97Benefit included in payment for another service12,2657.192.27
109Not covered by this payer; submit to the correct one11,1966.562.08
96Non-covered charge7,3104.281.36

The five most frequent denial reason codes in the training partition, with both denominators reported.

Code B9, hospice enrolment, is the second most frequent and is an eligibility condition answerable before submission.

Table 7

ModelTop-1Top-3Top-5Macro
PF-CDM (Random Forest)0.26850.49750.61760.2206
Decision tree0.14250.23750.29800.1208
Majority class (code 16)0.1416––0.0000

Stage 2 comparators on the held-out denied lines, over the full 67-class label space.

The majority-class row predicts the most frequent code for every line and is the floor any useful model must clear.

Table 8

Evaluation ScopeTop-1Top-3Top-5
Stage 2 alone, all denied lines0.2690.4980.618
Stage 2 conditional on Stage 1 flagging0.2870.5140.630
End to end (Stage 1 recall 0.756)0.2170.3880.476

End-to-end cascade performance at the Stage 1 operating threshold.

Conditional accuracy is measured on the denied lines Stage 1 flagged; the end-to-end figure is the product with Stage 1 recall and is necessarily lower than either stage alone.

The SHAP analysis agrees: the strongest contributions come from the total charge of the claim, the submission lag, the line’s share of the claim total and the number of lines on the claim. Exact TreeSHAP (24) is intractable for the deployed forest, whose unconstrained leaves number in the hundreds of millions, so attributions were computed on a constrained surrogate fitted on the same data and features, over a random sample of 3,000 held-out lines. Surrogate fidelity is measured rather than assumed: PR-AUC 0.775 against the deployed model’s 0.777, and a Spearman rank correlation of 0.961 between the two models’ predicted probabilities on the held-out partition. Dependence plots for the two strongest contributors are given in Supplementary Figures S4, S5. This ranking differs from one based on impurity, which favours high-cardinality columns such as the procedure code and the provider identifier; permutation and SHAP attributions are reported here for that reason.

Figure 6 summarizes feature contributions using SHAP values from the surrogate model. A worked example makes the output concrete. Local explanations for all three error modes are given in Supplementary Figures S6–S8: a true positive, a false positive and a false negative drawn from the same sample. For the false positive in Supplementary Figure S7 the model returned a denial probability of 0.62 for a line that was subsequently paid. The three largest contributions were the claim total of USD 605.44, the line’s small share of that total (4.3%) and a submission lag of four days. The model had learned that low-share lines on larger claims are frequently bundled and denied under code 97; here the bundling did not apply. A biller reviewing this line would confirm the bundling status and release it, at the cost of one review. For contrast, the false negative in Supplementary Figure S8 carried a claim total of USD 200.00 with a submission lag of 276 days and received a probability of 0.28: the model weighted the small charge more heavily than the extreme lag, and the line was denied for timely filing. These are the two error modes a deployment should monitor.

Figure 6

5.6 Generalisation and drift

Two evaluations bound the claim of operational readiness. Withholding 24 of the 123 rendering providers entirely and training on the remainder gives a PR-AUC of 0.677 on 284,349 lines from those providers, against 0.777 on the temporal split. The temporal split answers the leakage question but not the question of generalisation to an unfamiliar practice, since 95.4% of held-out lines come from a provider present in training. We report both: the temporal figure describes the deployed setting for this provider group, the grouped figure what a new practice should expect.

Performance also declines across the held-out period, from PR-AUC 0.881 over the first month to 0.777 over twelve. Part of this is base-rate movement rather than model degradation: the denial prevalence falls from 0.448 to 0.330 over the same windows and PR-AUC depends on prevalence, whereas ROC-AUC does not and falls by only 0.035. Reporting the metric alongside the prevalence is necessary, since a decline in PR-AUC across a period of falling prevalence does not by itself indicate model degradation.

5.7 Subgroup performance

Performance was measured across payer type, provider specialty, patient state, age band and sex, and is reported in Supplementary Table S11 with subgroup sizes, and the parity measures on the largest contrast within each attribute in Supplementary Table S12. Discrimination varies considerably by payer, from a PR-AUC of 0.652 on Medicare lines to 0.938 on Medicaid lines, but this tracks the denial prevalence of those subgroups, 25.9% and 59.6% respectively, and PR-AUC depends on prevalence; ROC-AUC, which does not, spans the narrower range 0.793 to 0.924. Race and ethnicity are not recorded in this extract, so no analysis of racial disparity is possible; we state this rather than omit it. The consequence of an error also bears stating: a false positive causes a claim line to be held for pre-submission review, not care to be withheld, which materially changes the harm profile relative to clinical prediction settings.

5.8 Stage 2: denial reason coding

Stage 2 predicts the reason code for a denied line over 67 classes, comprising the 66 codes with at least 100 training instances plus a pooled residual class, together covering 98.8% of denials. On 46,100 held-out denied lines it attains 0.269 Top-1 (95% CI 0.263–0.274), 0.498 Top-3 (0.491–0.504) and 0.618 Top-5 (0.611–0.624), with macro of 0.221 and weighted of 0.264. The two figures are close, which indicates performance is not concentrated in a single frequent code.

Reason-code accuracy depends strongly on how many codes are admitted as candidates, and Supplementary Table S7 reports that dependence explicitly because it is a common source of incomparability in this literature. Restricted to the five most frequent codes the same model reaches 0.918 Top-3; restricted to three, 0.708 Top-1. Reason-code results reported in this literature are therefore not comparable unless the label space is stated, and we report the full 67-class figures as the headline result with the restricted values as a secondary analysis. Figure 7 illustrates how reason-code accuracy varies with the size of the candidate label space.

Figure 7

The error structure is systematic rather than diffuse. The largest confusions are code 29 predicted as A1 (28.9% of its instances), code 96 as A1 (23.9%), code 31 as 18 (23.9%) and code 24 as 109 (23.4%). Codes 29, 96 and A1 are all coverage and eligibility denials; codes 24 and 109 both concern which payer is responsible. The model confuses categories that are adjacent in adjudication practice, which is a more useful limitation than a general statement about rare codes and indicates where further features would help.

Stage 2 was compared against three alternatives trained on the identical denied-line partition with the same feature set. The Random Forest leads by a wide margin, in contrast to the binary stage where tuned gradient boosting matched it: the 67-way task separates learners that the binary task does not.

Two further comparators were excluded rather than reported. Multinomial logistic regression reached 0.1059 Top-1 and gradient boosting 0.0361, both below the majority-class floor of 0.1416. A model that loses to predicting the single most frequent code for every line is misconfigured rather than outperformed, and we record the failures rather than present either as a result. The decision tree clears the floor by only 0.0009, which is itself an indication of how hard 67-way reason-code assignment is on these features.

5.9 The two-stage cascade

Stage 2 scores only lines that Stage 1 has flagged, so the operational performance of the deployed pipeline is the product of the two stages, as given in Equation 5. At the Stage 1 operating threshold, 37.6% of all submitted lines are flagged, Stage 1 recovers 75.6% of denials, and Stage 2 places the correct code among its first three candidates for 51.4% of those. End to end, the correct reason code appears among the first three candidates for 38.8% of all denied lines, and is the single top candidate for 21.7%.

We quote no single combined accuracy for the framework, because none exists independently of the Stage 1 threshold: the cascade moves with the operating point. Reporting the two stages separately without their product would overstate what a billing team experiences.

6 Discussion and future work

PF-CDM predicts the denial of a submitted claim line and, for lines predicted to be denied, the associated reason code, at a level that is operationally useful within the payer studied. Because the studies in Supplementary Table S2 address different tasks on different datasets at different prevalences, we make no claim of state-of-the-art performance against them. The appropriate comparators are the internal baselines of Table 3, against which the Random Forest is indistinguishable from tuned gradient boosting and clearly ahead of linear and single-tree models. The contribution of this work is therefore the two-stage architecture, the scrubber and the evaluation protocol rather than the choice of learner, and we state that plainly.

6.1 Practical implications for denial management

The operating-point analysis in Table 2 translates the model into the quantity a revenue-cycle team actually plans against, which is reviewer workload. Over the twelve-month held-out period the payer adjudicated 139,615 professional lines, of which 46,101 were denied. Flagging the 20% of lines with the highest predicted risk would place 27,923 lines in a pre-submission review queue and surface 23,189 of those denials, at a cost of 4,734 unnecessary reviews, or roughly one false alarm for every five denials caught. Flagging 30% raises the yield to 30,565 denials but triples the false alarms to 11,319. The choice between these is a staffing decision rather than a modelling one, and the contribution of the model is that it makes the trade-off explicit and tunable rather than fixed.

The reason-code stage changes what a reviewer does with a flagged line. Without it the queue is undifferentiated and every line requires the same manual diagnosis; with it, each flagged line arrives with three candidate reason codes, and the correct code is among them for 38.8% of denied lines end to end. For the codes the model identifies most reliably this is directly actionable: a line flagged with code 29 has a 41.6% chance of being a timely-filing denial, which is checkable in seconds against the submission date.

The error analysis also points to a preventive measure that requires no model at all. Code B9, hospice enrolment, accounts for 7.95% of denials, approximately 3,665 lines over the held-out period, and is an eligibility condition that a payer eligibility query answers before submission. The same applies to the cluster of codes 29, 96 and A1 that the reason-code model confuses with one another: these are coverage and eligibility determinations rather than coding errors, and are better addressed by an eligibility check at entry than by a more accurate classifier. A realistic deployment therefore pairs the model with the eligibility and coverage capabilities set out in Appendix A, and we regard that pairing rather than the classifier alone as the operational contribution of this work.

Two constraints bound what a provider should expect. The model is calibrated well enough for triage but not for quoting a probability to a payer, with an expected calibration error of 0.071, so its output should be presented as a ranking rather than as a percentage likelihood. And performance on a practice the model has not seen falls from 0.777 to 0.677 in PR-AUC, so a new deployment should expect a period of degraded accuracy until local claims enter the training window.

The feature analysis points to claim economics rather than provider identity: the total charge of the claim, the line’s share of that total and the charge per unit together account for the largest part of the model’s discriminative power, followed by submission timing. Provider identity and specialty contribute nothing measurable once these are present. Denial risk in this dataset is driven more by what is billed, and how a line sits within its claim, than by who submitted it.

Several limitations bound these results. First, all data originate from a single U.S. payer, so the labels encode that payer’s adjudication policy, edit configuration and reason-code conventions. The provider base is narrow: 123 rendering providers, the ten largest accounting for 73.6% of lines, operating predominantly in two states. No external dataset was available, and under a provider-held-out split PR-AUC falls to 0.677, which is the realistic expectation for an unfamiliar practice. Second, the study covers professional CMS-1500 lines only; institutional, dental and pharmacy claims follow different adjudication paths. Third, although every feature is restricted to information available at submission and the shuffled-label audit found no residual signal, retrospective data cannot exclude an unobserved upstream process that correlates a feature with the outcome.

Fourth, performance decreases on rare reason codes (6): those with fewer than 100 training instances were pooled and are not individually predictable. Fifth, the framework assigns one code per line, whereas real denials frequently carry several, which the Top-3 formulation mitigates but does not resolve. Sixth, bias is addressed only descriptively. Subgroup performance is reported across payer type, specialty, state, age band and sex, but the extract carries neither race nor ethnicity nor an income proxy, so the disparities most often examined in the fairness literature (25) cannot be measured. Two further sources deserve note: the labels encode one payer’s decisions, so any systematic bias in those decisions is reproduced by a model trained to predict them, and the concentrated provider base confounds specialty and geography with provider identity. This is the most significant gap in the present evaluation.

Seventh, no structured expert validation of the reason-code output has been carried out. Face validity was checked informally during development, but without retained per-line annotations no chance-corrected agreement can be reported, and none is claimed. Eighth, the extract as supplied was truncated at 1,048,576 rows, the maximum a spreadsheet application will hold, by an export step upstream of this study; the analysis therefore covers a contiguous slice spanning the full 2017 to 2024 period rather than the payer’s entire data. Ninth, the evaluation is retrospective throughout.

One methodological observation generalises beyond this dataset. Balancing a claims extract and then partitioning it produces optimistic results through two distinct mechanisms. A balanced held-out partition raises accuracy and precision through the base rate alone, with no change in the model. And if the balancing duplicates or synthesises rows before the split, copies of the same record appear on both sides, and a model with unconstrained leaf size recognises rather than predicts. Neither mechanism is visible in the headline metrics, which is what makes the practice hazardous. The remedy is to resample inside the cross-validation folds and to leave every held-out partition at its natural prevalence.

Four directions follow from the findings rather than from general aspiration. The first is a prospective evaluation: whether presenting these predictions to billing staff reduces the denial rate is the only question that would justify deployment, and it cannot be answered retrospectively. The second is the coverage and eligibility capability specified in Appendix A, which the error analysis identifies as the largest available gain, since the codes the model most often confuses are eligibility determinations rather than coding errors. The third is a multi-payer extract, which would separate the payer’s adjudication policy from claim characteristics that generalise. The fourth is a multi-label formulation, since real denials frequently carry several reason codes and the present single-label treatment is an approximation. Transfer learning from frequent to rare codes (26) and text features drawn from denial correspondence (27) are plausible extensions, but both are secondary to establishing that the framework changes outcomes in practice.

PF-CDM offers healthcare providers a calibrated, interpretable tool for pre-submission claim review, and an evaluation protocol that other work in this area can adopt. We regard the explicit account of what the model cannot do as part of the contribution rather than a caveat on it.

Statements

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Author contributions

MJ: Conceptualization, Investigation, Supervision, Writing – original draft. OM: Investigation, Writing – original draft. NC: Writing – original draft, Software. MQ: Formal analysis, Writing – review & editing. IU: Writing – review & editing, Conceptualization. SH: Formal analysis, Writing – review & editing. MR: Supervision, Writing – original draft.

Funding

The author(s) declared financial support was received for this work and/or its publication. This work was supported by the EPSRC IAA project SISSTEM (grant reference 325175-01).

Acknowledgments

The authors thank the healthcare insurance organisation that provided access to the de-identified claims data on which this study is based, and its revenue cycle management staff for guidance on adjudication practice and reason-code usage. The organisation had no role in the design of the study, the analysis or interpretation of the results, or the decision to submit for publication.

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that Generative AI was not used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/frhs.2026.1927175/full#supplementary-material

References

  • 1.

    TopolEJ. High-performance medicine: the convergence of human and artificial intelligence. Nat Med. (2019) 25:44–56. 10.1038/s41591-018-0300-7

  • 2.

    AgarwalRGaoGDesRochesCJhaAK. Research commentary—the digital transformation of healthcare: current status and the road ahead. Inf Syst Res. (2010) 21:796–809. 10.1287/isre.1100.0327

  • 3.

    RajkomarADeanJKohaneI. Machine learning in medicine. N Engl J Med. (2019) 380:1347–58. 10.1056/NEJMra1814259

  • 4.

    ShickelBTighePJBihoracARashidiP. Deep EHR: a survey of recent advances in deep learning techniques for electronic health record analysis. IEEE J Biomed Health Inform. (2018) 22:1589–604. 10.1109/JBHI.2017.2767063

  • 5.

    ChenTGuestrinC. Xgboost: a scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining (2016), 785–94. 10.1145/2939672.2939785

  • 6.

    ChawlaNVBowyerKWHallLOKegelmeyerWP. Smote: synthetic minority over-sampling technique. J Artif Intell Res. (2002) 16:321–57. 10.1613/jair.953

  • 7.

    GalarMFernándezABarrenecheaEBustinceHHerreraF. A review on ensembles for the class imbalance problem: bagging-, boosting-, and hybrid-based approaches. IEEE Trans Syst Man Cybern Part C Appl Rev. (2012) 42:463–84. 10.1109/TSMCC.2011.2161285

  • 8.

    RudinC. Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nat Mach Intell. (2019) 1:206–15. 10.1038/s42256-019-0048-x

  • 9.

    LundbergSMLeeSI. A unified approach to interpreting model predictions. In: Guyon I, von Luxburg U, Bengio S, Wallach H, Fergus R, Vishwanathan S, et al., editors. Advances in Neural Information Processing Systems. Vol. 30. Red Hook (NY): Curran Associates, (2017), 4765–74. Available online at: https://proceedings.neurips.cc/paper_files/paper/2017/file/8a20a8621978632d76c43dfd28b67767-Paper.pdf

  • 10.

    LeeTCShahNUHaackABaxterSL. Clinical implementation of predictive models embedded within electronic health record systems: a systematic review. Informatics. (2020) 7:25. 10.3390/informatics7030025

  • 11.

    LahlouCCraytonATrierCWillettE. Explainable health risk predictor with transformer-based medicare claim encoder. arXiv [Preprint]. arXiv:2105.09428 (2021). 10.48550/arXiv.2105.09428

  • 12.

    HasanMT. Graph neural network models for detecting fraudulent insurance claims in healthcare systems. Am J Adv Technol Eng Solut. (2022) 2:88–109. 10.63125/r5vsmv21

  • 13.

    HeHGarciaEA. Learning from imbalanced data. IEEE Trans Knowl Data Eng. (2009) 21:1263–84. 10.1109/TKDE.2008.239

  • 14.

    BudaMMakiAMazurowskiMA. A systematic study of the class imbalance problem in convolutional neural networks. Neural Netw. (2018) 106:249–59. 10.1016/j.neunet.2018.07.011

  • 15.

    RibeiroMTSinghSGuestrinC. Why should i trust you? Explaining the predictions of any classifier. In: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining (ACM) (2016), 1135–44. 10.1145/2939672.2939778

  • 16.

    MillerTHowePSonenbergL. Explainable AI: beware of inmates running the asylum or: how I learnt to stop worrying and love the social and behavioural sciences. arXiv [Preprint]. arXiv:1712.00547 (2017). 10.48550/arXiv.1712.00547

  • 17.

    Al-NafjanAAljuhaniAAlshebelAAlharbiAAlshehriA. Artificial intelligence in predictive healthcare: a systematic review. J Clin Med. (2025) 14:6752. 10.3390/jcm14196752

  • 18.

    ParkSHDoKHKimSParkJHLimYS. What should medical students know about artificial intelligence in medicine?J Educ Eval Health Prof. (2019) 16:18. 10.3352/jeehp.2019.16.18

  • 19.

    BreimanL. Random forests. Mach Learn. (2001) 45:5–32. 10.1023/A:1010933404324

  • 20.

    EfronBTibshiraniRJ. An Introduction to the Bootstrap. New York: Chapman and Hall/CRC (1993). 10.1201/9780429246593

  • 21.

    McNemarQ. Note on the sampling error of the difference between correlated proportions or percentages. Psychometrika. (1947) 12:153–7. 10.1007/BF02295996

  • 22.

    DeLongERDeLongDMClarke-PearsonDL. Comparing the areas under two or more correlated receiver operating characteristic curves: a nonparametric approach. Biometrics. (1988) 44:837–45. 10.2307/2531595

  • 23.

    HolmS. A simple sequentially rejective multiple test procedure. Scand J Stat. (1979) 6:65–70. Available onlilne at: https://www.jstor.org/stable/4615733

  • 24.

    LundbergSMErionGChenHDeGraveAPrutkinJMNairB, et al. From local explanations to global understanding with explainable AI for trees. Nat Mach Intell. (2020) 2:56–67. 10.1038/s42256-019-0138-9

  • 25.

    ObermeyerZPowersBVogeliCMullainathanS. Dissecting racial bias in an algorithm used to manage the health of populations. Science. (2019) 366:447–53. 10.1126/science.aax2342

  • 26.

    PanSJYangQ. A survey on transfer learning. IEEE Trans Knowl Data Eng. (2010) 22:1345–59. 10.1109/TKDE.2009.191

  • 27.

    DevlinJChangMWLeeKToutanovaK. Bert: pre-training of deep bidirectional transformers for language understanding. In: Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies (2019), 4171–86. 10.18653/v1/N19-1423

  • 28.

    JabeenGGoliGKafila. “Building trust: the foundations of reliability in healthcare.” In: Kumar P, Singh P, Diwakar M, Garg D, editors. Healthcare Industry Assessment: Analyzing Risks, Security, and Reliability. Cham: Springer (2024). p. 43–65. 10.1007/978-3-031-65434-3_3

Appendix A Scrubber specification, implementation and measurement

A scrubber specification and a scrubber build are different things, and the distinction determines what a reader can rely on. This appendix separates them: the specification the system was designed against, the subset currently implemented, and a measurement of what the implemented rules achieve.

A.1 Design specification

The scrubber was specified against published sources rather than assembled ad hoc: CMS guidance, National Correct Coding Initiative edits, and Local and National Coverage Determinations (LCDs and NCDs), together with payer-specific contract terms. The specification covers four capability groups: initial claim validation, advanced rule-based scrubbing, error detection and correction, and rule management with versioning. Supplementary Table S8 lists each specified capability with its current implementation status, so that a reader can distinguish design intent from delivered function.

Four of the thirteen specified capabilities are deployed in the application and three more are implemented in the preprocessing pipeline described in Section 4. The six remaining, which include the NCCI consistency edits and the medical-necessity and coverage checks, are designed but not built. No capability in the specification maps a claim condition to a specific denial reason code; that function is provided by Stage 2.

A.2 Validation layer as built

Supplementary Table S9 lists the checks implemented in the released application and in the preprocessing pipeline. Six govern manual entry and batch upload, four are applied during preprocessing of the study extract, and three normalise field values before scoring. None of them anticipates a denial reason code.

Two of the manual-entry checks would reject valid claims as currently specified. Requiring a non-empty drug code excludes every line that is not a drug administration, which is the large majority. Requiring a charge strictly greater than zero excludes zero-charge quality-reporting codes such as CPT 3078F, which appear legitimately in the extract. Both are under revision, and we report them rather than describe an idealised layer.

A.3 Candidate reason-code rules

To establish whether a reason-code rule layer is worth building, three candidate rules were specified from payer policy and national coding edits and then measured on the held-out partition. Supplementary Table S10 reports, for each, the number of held-out denied lines on which it fires and its positive predictive value (PPV), the share of those carrying the anticipated code.

Only the timeliness rule is precise enough to act on unaided, identifying its code in 41.6% of the lines on which it fires. The other two are better understood as flags for human review: the duplicate check in particular fires on many lines and identifies the associated code in fewer than one in twenty. We report this rather than present three rules as though all were validated controls.

The measurement also indicates where the specified but unbuilt capabilities would pay. Code B9, hospice enrolment, accounts for 8.0% of denials in this extract and is an eligibility condition fully answerable before submission, so the specified coverage-validation capability would prevent it outright. Codes 29, 96 and A1, which the reason-code model confuses with one another (Supplementary Figure S8), are likewise coverage and eligibility denials rather than coding errors. The two capabilities most worth building next are therefore coverage validation and the NCCI consistency edits, in that order, and this is an empirical conclusion from the error analysis rather than a restatement of the specification.

Summary

Keywords

claim denial prediction, class imbalance, explainable artificial intelligence, health insurance claims, random forest, revenue cycle management

Citation

Jadoon MM, Miakhil O, Chakari NR, Qureshi MB, Ullah I, Ahmed Haider S and Ur Rehman M (2026) A machine learning framework for predicting healthcare insurance claim denials. Front. Health Serv. 6:1927175. doi: 10.3389/frhs.2026.1927175

Received

03 July 2026

Revised

24 September 2026

Accepted

28 September 2026

Published

14 October 2026

Volume

6 - 2026

Edited by

Ashok P., Symbiosis International Deemed University, India

Reviewed by

Ahmad Salah, University of Technology and Applied Sciences-Ibri, Oman

Moussa Mahamat Boukar, Prime University Abuja, Nigeria

Updates

Copyright

*Correspondence: Masood Ur Rehman

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics