Skip to content
All publications

Research Article

AI Learns What We Document, Not What Care Really Costs

Saudi hospitals are moving towards value-based payment, and AI tools promise to predict what every patient costs. This article argues that patient-level cost data must pass a clear readiness gate before any algorithm is allowed to learn from it.

Hala Alremal, Independent Researcher, Riyadh, Saudi Arabia2 December 20265 min read

Summary

Cost data and AI at a glance

6
readiness checks before cost data feeds an AI model.
2
red lines that should never move.

Key findings

  • Cost is built, not measured Every patient cost rests on choices about what to capture, estimate and allocate.
  • No charge does not mean no cost Work that is never billed can vanish from costing models that read bills rather than activity.
  • AI turns gaps into decisions A model learns missing data as a real pattern and may read poor documentation as efficiency.
  • A gate, not a ban Completeness, reconciliation, driver validity, plausibility, ownership and change control should come before any model.

Few hospitals can say what one patient cost

A patient goes home after five days on your ward. What did their care actually cost? Not what was billed, not what the insurer paid, but what the hospital spent. Ask that in most hospitals and the room goes quiet. Now imagine handing that silence to an AI tool and asking it to set prices, budgets and targets.

Most hospitals know what a department spent last year. Patient-level costing goes one level deeper. It follows a single patient and adds up what their care used: the nurse's time, the blood test, the X-ray, the medicine, each night in a bed, and a fair share of what everyone uses, such as the operating theatre and the building.

My view is firm: this data should not train or run AI tools until it has earned that right. Not because AI is dangerous, but because cost data is far less solid than it looks, and an algorithm will turn its weaknesses into decisions faster than any human could.

A patient cost is built, not measured

A patient cost is not measured the way blood pressure is measured. It is built. Someone decided which activities to capture, which to estimate, which overheads to spread and by what rule. If a nurse does not record the dressing they used, its cost disappears from that patient and lands, invisibly, on everyone else. If a test is performed but never billed, it may vanish completely, because many systems see the bill, not the work. No charge does not mean no cost.

The result can be a figure like 18,000 riyals, printed to two decimals, that looks authoritative and may be wrong by a margin large enough to change a price.

Humans read such numbers with doubt. A finance manager who sees a strange cost asks whether the radiology feed failed that month. An AI model asks nothing. It learns whatever pattern the data contains, including the pattern of missing data. If one service records activity carefully and another does not, the model will learn that the careful service is expensive.

Saudi payment reform raises the stakes

In announcing the 2027 budget, the Crown Prince stressed raising spending efficiency, measuring its results and linking resources to national strategies. In healthcare, that does not mean spending less on patients or blaming clinicians. It means knowing what care really costs, patient by patient, so every riyal, public or private, reaches the patient it was meant for.

Under Vision 2030, the Health Sector Transformation Program aims to separate purchasers from providers, pay for outcomes and introduce national DRG-based payment, where hospitals receive a set amount for each type of case.

Now consider our own health system. Suppose the cost data behind those amounts comes partly from hospitals that capture activity well and partly from hospitals that do not. The second group will look cheaper. A model trained on the combined data will read their gaps as efficiency, and the price may settle below what careful care really costs. The hospitals that documented honestly would carry the loss. Recorded cost is not real cost, and it is certainly not a clinical need.

The rules to prevent this exist. The Personal Data Protection Law covers patient-level records, national data management standards describe quality and ownership, and SDAIA's AI Ethics Principles call for accountability and human oversight. What is missing is the bridge to hospital cost data.

Six checks and two red lines

What I propose is a gate. Before cost data feeds any model, a hospital should show:

  • Completeness: activities that consume resources are captured, not only those that generate a bill.
  • Reconciliation: patient costs reconcile to the general ledger, and activity counts to source systems.
  • Driver validity: the rules that spread shared costs match how work is done today.
  • Plausibility: impossible values, such as an intensive care day cheaper than a clinic visit, are detected and explained.
  • Ownership: someone with real time and authority owns each data feed.
  • Change control: when a workflow changes, the costing model is reviewed.

And two red lines: cost is never a proxy for clinical need, and cost outputs never judge an individual clinician without case-mix adjustment and human review.

Do this work and something larger happens. A hospital stops guessing about itself. Physicians see what their decisions set in motion, without being blamed for them, and every accurate note becomes part of how a nation plans its care. One day someone will ask what that patient's care cost, and the room will not go quiet. Someone will answer, show where every riyal came from, and stand behind it.

Built on public frameworks

This is an opinion piece, drawing on published patient-level costing practice, Saudi national frameworks and my practical experience with hospital costing data. The DRG scenario is illustrative and uses no institutional or patient data.

From checklist to evidence

My full ICAIRE paper develops this readiness gate into a checklist mapped to Saudi regulation and tests it on two synthetic hospital profiles.

References

  • National Data Management Office. (2021). Data management and personal data protection standards (Version 1.5). Saudi Data and Artificial Intelligence Authority. Issued under Council of Ministers Resolution 292; 15 domains, 77 controls, 191 specifications. https://sdaia.gov.sa/ndmo/Files/PoliciesEn001.pdf
  • Personal Data Protection Law, Royal Decree No. M/19 (2021), as amended. Kingdom of Saudi Arabia.
  • Saudi Data and Artificial Intelligence Authority (SDAIA). (2023). AI Ethics Principles. Riyadh: SDAIA.
  • Saudi Press Agency. (2026, November 24). Statement of HRH the Crown Prince on the approval of the State's General Budget for fiscal year 1448/1449 AH (2027). Reported in Arab News, “Saudi Arabia approves SR1.39tn budget for 2027 as growth set to rebound”. https://www.arabnews.com/finance/saudi-arabia-approves-sr139tn-budget-for-2027-as-growth-set-to-rebound-3013863
  • Saudi Vision 2030. (2021). Health Sector Transformation Program [Programme document]. Lists the national health payments system (DRG) among the four systems of the health digital infrastructure initiative. https://www.vision2030.gov.sa/media/0wop2tds/hstp_eng.pdf
  • Alshahrani, A., et al. (2025). Implementing diagnosis-related groups for value-based healthcare in Saudi Arabia: A systematic review of evidence on barriers and facilitators. PMC13588303. https://pmc.ncbi.nlm.nih.gov/articles/PMC13588303/