Open data on public expenditure — datasets, categories and a SPARQL endpoint for research and analysis

UK Health Spending: Primary Care And Hospital Care

The National Health Service is often discussed as though it had one UK-wide budget and one simple division between general practice and hospitals. In practice, health spending is distributed across four nations, several funding bodies, local commissioning arrangements, and accounting categories that have changed over time. The result is a public finance picture that requires careful interpretation.

Primary care usually refers to services people access first, including general practice, community pharmacy, dentistry, and optometry. Hospital care covers services delivered by acute hospitals, specialist providers, mental health trusts, and other secondary or tertiary institutions. Some community and outpatient services sit between these definitions, making direct comparisons less straightforward than the labels suggest.

A useful analysis therefore needs to examine both the scale of expenditure and the way it is recorded. Standardized datasets, budget documents, payment records, and downloadable statistics can show where money is allocated, who receives it, and how spending changes across England, Scotland, Wales, and Northern Ireland.

How NHS Spending Is Organized

Healthcare is a devolved responsibility in the UK. The Department of Health and Social Care oversees policy and funding arrangements in England, while Scotland, Wales, and Northern Ireland manage their own health systems. NHS England distributes funding to integrated care boards and other organizations in England; the other nations use different institutional structures and reporting conventions.

This means that a figure described as “UK NHS spending” may combine national health budgets, local authority public health expenditure, capital investment, education and training, and transfers between government departments. A narrower figure may cover only day-to-day revenue spending by health services. The selected definition can materially change the apparent balance between primary and hospital care.

Current spending is generally separated from capital spending. Salaries, medicines, contracted services, utilities, and routine operations belong to revenue expenditure. New hospitals, major equipment, digital systems, and building projects are capital items. Hospital systems tend to receive a larger share of capital investment, while primary care expenditure is often dominated by recurring contracts and staff costs.

What Counts As Primary Care

General practice is the most visible part of primary care, but it is not synonymous with the entire sector. Spending can flow through GP practices, primary care networks, community pharmacies, dental practices, opticians, local health authorities, and national contracts. Some services are directly provided by the NHS, while others are delivered by independent contractors under public agreements.

The accounting treatment of general practice is particularly important. GP practices may employ their own staff and receive payments through several streams, including core contracts, enhanced services, premises funding, workforce programmes, and incentives. A headline primary care figure may include all these payments, or it may count only a specific budget line. Comparisons based on one line can therefore understate the resources used to deliver first-contact care.

Primary care also generates savings and costs outside its own budget. Effective management of hypertension, diabetes, respiratory disease, and mental health conditions can reduce avoidable emergency admissions. At the same time, better access to general practice can increase referrals and diagnostic testing. The financial relationship between primary and hospital services is consequently broader than the amount paid directly to GP practices.

Why Hospital Care Receives More Funding

Hospital services are resource-intensive. They require buildings, operating theatres, imaging equipment, laboratories, ambulance links, specialist staff, medicines, and round-the-clock services. A single hospital trust may provide emergency treatment, planned surgery, intensive care, maternity services, cancer care, outpatient appointments, and highly specialized procedures.

Hospital expenditure also includes activity that is easy to overlook in public comparisons. Teaching and research, estates maintenance, clinical support services, information technology, and national specialist facilities can all be associated with hospital organizations. Mental health and community services may be delivered by trusts that are categorized alongside hospitals, even when their work takes place outside an acute hospital campus.

For these reasons, secondary and tertiary care normally account for a substantially larger share of NHS expenditure than primary care when measured in direct budget terms. This does not mean hospital treatment is more important to population health than prevention or general practice. It reflects the cost of complex treatment, the volume of demand, and the infrastructure required to provide urgent and specialist care.

Comparing The Main Spending Categories

The following summary shows how the categories are commonly interpreted. It is a conceptual comparison rather than a single official UK-wide accounting statement. Exact shares vary according to the year, nation, dataset, and definition used.

Spending area Typical services Main funding or payment routes Common interpretation issue
General practice GP consultations, diagnostics, chronic disease management, referrals Practice contracts, primary care networks, incentives, premises support Contract payments may exclude some staff, premises, or locally commissioned services
Community pharmacy Prescriptions, dispensing, vaccinations, medication reviews National pharmacy arrangements and local service payments Medicine costs may be recorded separately from dispensing fees
Dental and optical care NHS dental treatment, eye tests, glasses support Patient charges, national contracts, local reimbursements Public subsidy and patient payments can be reported in different places
Community health District nursing, rehabilitation, health visiting, intermediate care NHS trusts, local commissioners, public health or social care budgets Services may be grouped with community or hospital providers
Acute hospital care Emergency departments, surgery, inpatient treatment, outpatient care Integrated care allocations, trust income, national tariffs and contracts Trust totals can include non-acute services, education, and research
Mental health and specialist care Inpatient psychiatry, crisis care, cancer, neurology, rare diseases NHS trusts, national specialist commissioning, local contracts Classification differs across nations and between provider datasets
Capital and infrastructure Hospitals, equipment, estates, digital systems Departmental capital budgets and provider investment Capital is often excluded from routine service spending comparisons

A central analytical issue is whether spending is being compared by provider, service, or patient pathway. A community service delivered by an NHS trust may appear in provider expenditure as hospital-related spending. Conversely, a hospital consultant appointment commissioned through a community setting may be classified outside acute hospital expenditure. Provider-based statistics are useful for tracing payments, but they do not always describe the full cost of care.

The same caution applies to medicines. Prescribing in primary care may be counted under pharmaceutical expenditure rather than the general practice budget. Drugs administered in hospitals may be included in hospital costs, while medicines dispensed through community pharmacies can be recorded through a separate national programme. A comparison that excludes prescription spending may make primary care appear less expensive than the services it coordinates.

Regional And Time-Based Differences

England, Scotland, Wales, and Northern Ireland have different population structures, funding formulas, service models, and reporting systems. Rural areas may face higher costs for transport, dispersed facilities, and workforce recruitment. Large cities may have greater demand linked to deprivation, homelessness, migration, and complex chronic illness. Per-person spending is therefore more informative than total expenditure when comparing regions.

The age profile of a population strongly affects the balance between primary and hospital care. Older populations generally require more medicines, outpatient monitoring, community nursing, and planned or emergency hospital treatment. Areas with high levels of deprivation may experience earlier onset of chronic disease and higher use of urgent services. Neither total spending nor a simple percentage can explain these differences without demographic context.

Trends over time also need adjustment for inflation and changes in service organization. A rise in nominal NHS expenditure may reflect higher wages, energy costs, or medicine prices rather than an expansion of care. The creation of integrated care systems, the transfer of public health duties to local authorities, and changes in hospital payment rules can alter the appearance of spending without representing a comparable change in services.

Reading Public Spending Data Correctly

Public spending records can answer different questions depending on their structure. Payment-level data may identify the department, trust, local authority, or contractor receiving money. Budget data can show planned allocations, while outturn data records what was actually spent. These sources should not be treated as interchangeable. An allocation is not proof of final expenditure, and a supplier payment does not always reveal the clinical service funded.

Useful fields include the spending organization, recipient, date, amount, programme code, economic category, geography, and transaction description. Consistent classification makes it easier to separate primary care contracts from hospital operations, although some transactions will remain ambiguous. Researchers should document excluded categories, treatment of transfers, and whether figures are nominal or inflation-adjusted.

The Publicspending.net approach is valuable because it brings together standardized records, statistics, graphs, bulk downloads, and ontology-based queries. Its SPARQL endpoint can support more advanced analysis by linking organizations, sectors, locations, and spending concepts. A researcher could use these tools to compare payments to GP providers and NHS trusts, examine regional patterns, or trace changes in categories across reporting years.

No dataset removes the need for source validation. Official accounts, NHS financial reports, departmental estimates, and provider annual reports can clarify unusual entries. Duplicate records, refunds, internal transfers, incomplete descriptions, and changes in organizational names can distort automated totals. Transparent methodology is essential when publishing a comparison of primary and hospital expenditure.

What The Spending Balance Means For Policy

The larger hospital budget reflects the cost of treating serious illness and maintaining a complex clinical infrastructure. It should not be interpreted as evidence that primary care is inefficient or marginal. General practice, pharmacy, dentistry, and community services influence when people enter hospital, how quickly they are discharged, and whether long-term conditions remain stable.

At the same time, shifting money toward primary care does not automatically produce immediate hospital savings. New staff, premises, digital systems, and expanded appointments require investment. Hospitals may continue to face high demand even after primary care capacity improves, particularly where patients have multiple conditions or where social care is under pressure.

A meaningful assessment should therefore combine financial measures with service outcomes. Relevant indicators include avoidable emergency admissions, waiting times, elective activity, continuity of care, vaccination coverage, patient access, workforce levels, and health outcomes. Cost per person, cost per episode, and spending by deprivation or age group can reveal patterns hidden by national totals.

Practical Checks For A Reliable Comparison

A clear comparison of UK healthcare expenditure should show both the scale of hospital activity and the wider value of first-contact services. Publicspending.net provides a practical starting point for that work: explore its datasets, compare standardized organizations and categories, and use bulk downloads or SPARQL queries to build a transparent view of where NHS money goes.