The Compile-Once EnterpriseHospital networks · enterprise-wide concept

US hospitals · 2025 · expenses vs prices

Hospital costs rose 7.5% in 2025, more than twice as fast as prices.A hospital group can't close that gap one hospital at a time.

Every hospital, lab, clinic and pharmacy in a group rebuilds the same reports, checks and rules in its own systems, in its own country. Compile-Once builds each one once, as a small tested program, and runs it everywhere in the group. The LLM builds. Code runs.

An architecture concept by Muthukumar Subramanian · Agentic AI Architect

Ashwick Health Network is a fictional composite. Industry facts are sourced; company figures are illustrative.

What leaders are carrying into 2027

+9.9%

US hospital supply expenses in 2025. Drug expenses rose 13.6%.1

41%

of US providers say at least one claim in ten is denied, up from 30% in 2022.2

1 in 4

admitted US emergency patients waited four hours or more for a bed, even outside winter peaks.3

11M

health workers short worldwide by 2030, on the WHO's projection.4

Meet the group

Ashwick Health Network: 70 hospitals, eight business lines, one shared spine

A fictional group the size of the largest real ones. Five countries, four different EHRs inherited from earlier deals, and a six-hospital chain that joined this year. Every figure about Ashwick is illustrative.

Where

United StatesChicago · Houston · Phoenix · Midwest
22 hospitals + 6 acquired
United KingdomManchester · Leeds · Bristol
12 hospitals
NetherlandsRotterdam · Utrecht · Eindhoven
9 hospitals
United Arab EmiratesDubai · Abu Dhabi · Sharjah
12 hospitals
SingaporeCentral · East · West
9 hospitals

310 clinics · 46 labs · 420 pharmacies
~68,000 staff · 2 college campuses

Business lines and the legacy each one runs

Hospitals

Acute and specialty care, 41 emergency departments, 9,800 beds.

  • EHR ×4
  • ADT · bed board
  • theatre system

Outpatient clinics

310 clinics and day-surgery centres, the front door for referrals.

  • practice mgmt
  • scheduling

Diagnostics and labs

46 labs, 380 collection points, imaging centres that also serve outside doctors.

  • LIS
  • RIS · PACS

Retail pharmacy

420 pharmacies in the US, UK and UAE, plus hospital dispensaries.

  • dispensing
  • POS · stock

Telehealth

Video consults and e-prescribing in all five countries.

  • video platform
  • e-Rx

Home care

Nursing and rehab at home in four countries, the step after discharge.

  • visit scheduling
  • mobile notes

College of Nursing and Medicine

Two campuses, Rotterdam and Dubai. Students train on the group's wards.

  • student records
  • LMS

Insurance and TPA desk

Runs health plans and third-party administration in the UAE and US.

  • adjudication
  • pre-auth
Shared functions, used by every lineone group, many ledgers
  • Revenue cycle
  • Procurement and supply chain
  • HR and rostering
  • Finance
  • Quality and accreditation
  • Legal and compliance
  • IT and cyber

Group legacy: three ERP instances, six rostering tools, two data warehouses, one ticket queue with 1,860 open change requests (illustrative).

Acquired in 2026

A six-hospital regional chain in the US Midwest

Its own EHR, its own ERP, its own rostering and quality reports. The board wants it reporting as part of the group within one quarter.

Partners at the edges

  • About 200 payers and insurers, each with its own rules
  • National health-record programmes and claims exchanges
  • Group purchasing organisations, distributors, device makers
  • Universities and placement partners for the college
  • Accreditation bodies and regulators in five countries

The signature animation · eight beats

From the group to one ward, and back out to seventy hospitals

Zoom from five countries to one city, one campus and one ward. A ward manager's request becomes a tested capsule there. Then zoom back out and watch the same capsule installed across the group, before three constellations cross business lines.

Explore a business line:

All Ashwick figures in the animation are illustrative.

Industry context · 2025–2026

What's hurting hospital networks right now

Ten pressures that land on a group's executive committee at once. Each one crosses business lines, which is why fixing it hospital by hospital doesn't stick.

41%providers, 2025

Claim denials and the revenue cycle

41% of US providers say at least one claim in ten is denied, up from 38% in 2024 and 30% in 2022; 54% say claim errors are increasing.2

With Compile-Once: denial-precheck and claim-pack-check run on claim.v9 before anything leaves the building. Writing an appeal letter stays with a model and a person.

4h+1 in 4 admitted

ED boarding and bed capacity

In a 1,500-hospital US study, more than a quarter of admitted emergency patients waited four hours or more for a bed even in quiet months; about 35% in winter peaks.3

With Compile-Once: the bed-to-discharge constellation frees beds earlier; ed-boarding-watch shows the same measure in every country.

11Mby 2030

Workforce shortage and agency spend

The WHO projects a shortfall of 11 million health workers by 2030.4 In England, trusts spent nearly £1bn less on agency staff in 2024-25 than the year before, from about £3bn.5

With Compile-Once: roster-gap and agency-rate-check on people.v4. Who works which shift stays a manager's call.

+9.9%supplies, 2025

Supply costs and price variance

US hospital supply expenses rose 9.9% in 2025 and drug expenses 13.6%.1 Inside a group, the same item is often bought at different prices through different ERPs, and nobody sees it because the item records don't match.

With Compile-Once: constellation 2, from item-normaliser to po-price-guard in every ERP.

227US, Q2 2026

Drug shortages and formulary control

Active US drug shortages rose for a third straight quarter to 227 in Q2 2026, against a peak of 323 in early 2024.6 The EU reached a provisional deal on a Critical Medicines Act in May 2026.7

With Compile-Once: shortage-substitute lists approved alternatives by site from dispense.v5. The pharmacy and therapeutics committee approves each rule.

2027EU · US dates

Interoperability and national record programmes

The EU's European Health Data Space Regulation entered into force in March 2025 and applies from March 2027.8 US payers must run FHIR APIs, prior authorization included, by 1 January 2027.9 Saudi Arabia's NPHIES exchange carries claims on HL7 FHIR.10,11

With Compile-Once: each EHR is mapped once to encounter.v6 and patient.v3; FHIR exports become capsules with tests, one per national profile.

5.8hper 8h of care

Clinical documentation burden

US ambulatory physicians spend about 5.8 hours in the EHR for every 8 hours of scheduled patient time, across more than 200,000 physicians studied.12

Where a model stays: drafting a note from a conversation is open-ended language work. Route it to a model on purpose. Capsules take the structured parts: coding completeness, discharge summary checks.

8th ed.JCI, 2025

Quality and accreditation reporting

Joint Commission International's 8th edition hospital standards took effect on 1 January 2025.13 Each country adds its own regulator, registry and measure set, and a group reports to all of them.

With Compile-Once: quality-measure on quality.v3, with country measure sets as parameters, and accreditation-evidence to assemble the pack.

192.7Mpeople, 2024 attack

Ransomware and downtime

The 2024 Change Healthcare attack affected about 192.7 million people, the largest health data breach reported to US regulators.14 The proposed HIPAA Security Rule overhaul of January 2025 is now projected for July 2027.15

With Compile-Once: capsules run on premises and offline, so downtime-census still prints ward lists when the EHR is down. It doesn't stop an attack; fewer live model endpoints means less to defend.

46US deals, 2025

M&A and integration

46 US hospital and health-system deals were announced in 2025, the fewest since 2011, and 43.5% involved a financially distressed party.16 Each deal brings another EHR, ERP and rostering tool.

With Compile-Once: constellation 3. The acquired systems get contracts, and the capsules the group already trusts run on their data within weeks.

The group on Compile-Once

Six group spheres, seven line spheres, 24 capsules, three constellations

Group spheres are shared by every business line and country. Line spheres belong to one line. Every sphere is reached only through its versioned contract, and capsules read one sphere each. Patient exists once per country under the same contract, so records never leave the country they belong to.

Group spheresowned centrally, contracts shared by all eight lines
  • Patientpatient.v3one per country, data stays in-country
  • People and rosterspeople.v4Group HR, country payroll
  • Supplier and itemitem.v5Group procurement
  • Financefinance.v8Group CFO office
  • Payer and contractpayer.v7Revenue cycle
  • Quality and safetyquality.v3Group chief quality officer
Business-line spheresowned by the line, readable by others only through the contract
  • Encounter and bedencounter.v6Hospitals, clinics
  • Orders and resultsresults.v4Diagnostics
  • Dispensing and stockdispense.v5Pharmacy
  • Home visitvisit.v2Home care
  • Consultconsult.v2Telehealth
  • Learner and placementlearner.v1College
  • Claim and authorisationclaim.v9TPA desk, revenue cycle

Squares show which business lines run each capsule:Hospitals · Clinics · Diagnostics · Pharmacy · Telehealth · Home care · College · TPA desk

Constellation 1

Bed to discharge

Hospital · pharmacy · home care · revenue cycle

  1. fit-but-waiting · encounter.v6 · who is fit and still in a bed
  2. tto-ready · dispense.v5 · medicines to take home packed?
  3. home-care-slot · visit.v2 · first home visit booked?
  4. auth-status · payer.v7 · payer or insurer approval in place?
  5. Decision point: the discharging doctor confirms
  6. claim-pack-check · claim.v9 · codes and documents complete
  7. bed-release · encounter.v6 · bed to cleaning, next patient from the ED

Runs every 15 minutes on every ward that installs it. No model calls.

Constellation 2

One item, many prices

Procurement · finance · every hospital's ERP

  1. item-normaliser · item.v5 · matches the same product across three ERPs
  2. price-variance · item.v5 · spread by item, hospital and country
  3. contract-coverage · item.v5 · bought on contract or off it?
  4. spend-impact · finance.v8 · what closing the gap is worth
  5. Decision point: the category manager sets the group price
  6. po-price-guard · item.v5 · checks every new purchase order

item-normaliser declares a small local text-matching model for free-text item names, tested like everything else.

Constellation 3

Onboarding the acquired chain

IT · quality · revenue cycle · procurement · HR

  1. Forge drafts contract mappings for its EHR and ERP: encounter.v6, claim.v9, item.v5, quality.v3
  2. Every bound capsule's tests rerun on the chain's data
  3. denial-precheck, quality-measure and 40 more go live in week 3
  4. price-variance adds six hospitals to the group view
  5. Decision point: group CMIO and CFO sign off each go-live
  6. people.v4 mapped in week 5; rostering capsules follow

Week 6: the group quality report covers all 70 hospitals (illustrative).

The people side

Who owns what when the software is compiled once

Contract owners for every sphere

e.g. Director of Patient Flow for encounter.v6

A named person signs each contract version. Country data stewards own the mapping from their local systems, because only they know what a field really means in that hospital.

A Forge governance board

CMIO · CNIO · CISO · data protection · finance

Decides which requests the Forge may build, which capsules touch care and need a clinical safety review, and when a model must stay in the loop.

Exchange curators

one per shared function, one per line

Merge near-duplicates, retire capsules nobody runs, and turn local rules into parameters so the UK and the UAE install the same capsule.

Forward deployed engineers

a title that is still settling

Engineers who sit with a ward, a pharmacy or a procurement team for weeks, turning what people actually say into Forge requests and tests. Some groups will call this a clinical informatics engineer.

The software team's work shifts

from tickets to contracts

Less time writing the 24th version of a report; more time owning contracts, reviewing generated code and tests, and keeping four EHR mappings honest.

Clinicians keep the decisions

doctors · nurses · pharmacists

Every constellation marks its decision point. The capsule says who is fit and waiting; the doctor decides who goes home.

Edges, honestly

Where code stops and people or models stay

Clinical judgement stays human

A capsule can list who is medically fit and waiting. It can't decide that someone is fit. Capsules that could influence care need a clinical safety review, and in some countries they may fall under medical-device software rules.

Patient data stays in its country

Capsules travel across the group; patient records don't. The same patient.v3 contract is instantiated in each country, and group views use counts and tokens, never copied records.

Language and images still need models

Notes, referral letters, scans and complaints are messy. Some capsules wrap a small local model, declared and tested; open questions go to a larger model on purpose, with a person accountable.

Four EHRs drift

Every EHR upgrade can move a field. Contract tests catch the break before a capsule gives a wrong answer, but someone must fix the mapping that week, in every country.

Payer rules change faster than code

About 200 payers rewrite their rules every quarter. Capsules regenerate and retest when a rule changes, but reading a new payer bulletin and turning it into a rule is still a person's job.

For hospital group leaders

Planning 2027 at hospital-network scale? Let's map your first Data Sphere.

Start with one business line in one country, one sphere and one contract. Prove that a capsule built once can be installed by a second line, then decide how far to take it.

Talk to Muthukumar on LinkedIn
  1. Weeks 1–2
    One line, one sphere, one contract

    Hospitals in one country. Write encounter.v6 against your EHR: schema, rules, access, owners.

  2. Weeks 3–6
    Forge 10–20 capsules

    Patient-flow and denial checks, each with golden, edge and permission tests and a named owner.

  3. Week 7
    One cross-line reuse

    Home care or the pharmacy line installs a capsule from the Exchange, with its own parameters.

  4. Week 8
    Measure

    Runtime cost, latency, change backlog and audit readiness, against the same work done the old way.

An illustrative pilot shape. Results depend on your systems and data.

Sources

  1. American Hospital Association, New AHA report: hospitals face increased challenges and financial pressures (Costs of Caring 2026), 11 Mar 2026.
  2. Experian Health, State of Claims 2025: the denial problem, 23 Sep 2025.
  3. University of Michigan IHPI, Wait times for emergency hospitalization keep getting higher, on Janke et al., Health Affairs, 2025.
  4. World Health Organization, Health workforce (projected shortfall of 11 million health workers by 2030).
  5. GOV.UK, Department of Health and Social Care, Nearly £1 billion for NHS frontline after agency spend crackdown, 2025.
  6. AJMC, Active US drug shortages rise for third straight quarter (ASHP and University of Utah data), 20 Jul 2026.
  7. Council of the European Union, Critical Medicines Act (policy page, provisional agreement May 2026).
  8. European Commission, European Health Data Space Regulation (EHDS), Regulation (EU) 2025/327.
  9. CMS, CMS Interoperability and Prior Authorization Final Rule (CMS-0057-F), fact sheet, 17 Jan 2024.
  10. Healthcare IT News, Understanding NPHIES, KSA's health information exchange.
  11. HL7 International, FHIR specification.
  12. American Medical Association, Five physician specialties that spend the most time in the EHR, on Sinsky et al., Journal of General Internal Medicine, 2024.
  13. Joint Commission International, JCI publishes 8th edition of international accreditation standards, Jul 2024 (effective 1 Jan 2025).
  14. TechTarget, Change Healthcare data breach victim count rises to 193 million, 2025.
  15. Fierce Healthcare, Feds push back HIPAA security rule overhaul to July 2027, 2026.
  16. Kaufman Hall, Hospital and health system 2025 M&A review, Jan 2026.
  17. CMS, CY 2026 OPPS and ASC final rule: hospital price transparency policy changes, 21 Nov 2025 (basis of the US-only mrf-builder capsule).