Concept Architecture
Electronic Health Record Data in Health Economics
An electronic health record (EHR) is the computerised account of a patient's care that clinicians build up as they diagnose, prescribe, order tests and refer, and health economists reuse its entries as evidence on event rates, resource use and outcomes. What the record shows is what was documented within one system, which is not always what happened to the patient, and most of the analytical work lies in closing that gap. NICE's real-world evidence framework (ECD9) names electronic health records among the common sources of real-world data and gives UK general practice records in the Clinical Practice Research Datalink (CPRD) as its example. Billing records are covered under claims data and administrative data, and the exchange of records between organisations under digital interoperability.
What a clinical record contains
ECD9 describes electronic health records as computerised individual patient records, typically used to inform the clinical management of patients, that sometimes integrate data from laboratory, genomic and imaging systems. The US Food and Drug Administration (FDA), in its July 2024 guidance on EHRs and medical claims, adds that EHR data are generated for clinical care, may also serve as a basis for billing and for auditing quality measures, and depend on local care and documentation practices and on how the system is configured. The same guidance notes that large amounts of key clinical data are unstructured, such as physician notes or PDF radiology reports, and have to be abstracted by people or software before analysis.
| Record entry | What it can show | What to check before use |
|---|---|---|
| Diagnosis or problem code | A condition documented at an encounter | Whether the code marks a confirmed, suspected or past condition |
| Prescription issued | A clinician's decision to prescribe | Whether the medicine was dispensed and then taken |
| Laboratory result | A measured value with units | Units, method and why the test was ordered |
| Clinical note | Severity, reasons and plans in free text | Negation and timing when the text is extracted |
Medicines show why the entry type matters. The FDA guidance states that, apart from medicines given in hospital or infusion settings, electronic health care data capture prescribing and dispensing but generally not actual drug exposure, which depends on patients obtaining and using the therapy. For outpatient prescriptions it judges dispensing or billing data more accurate than most EHRs, while for vaccines, injectables and blood products given in the care setting the EHR may be more complete than claims. A run of repeat prescriptions in a general practice record is therefore only a proxy for time on treatment.
Electronic health, medical and personal health records
The three labels overlap, and what matters is what a system captures and shares. The US Office of the National Coordinator for Health Information Technology (ONC) describes electronic medical records as digital versions of the paper charts in a clinic or hospital, used mostly by that provider. It describes EHRs as going beyond one provider's data to hold information from all the clinicians involved in a patient's care and to share it with others such as laboratories and specialists. Personal health records hold similar information but are set up, accessed and managed by patients.
For analysis the label matters less than coverage. A single hospital's system sees little of the care given elsewhere, while a record pooled across settings sees more of the pathway and raises more linkage and data governance questions.
UK general practice records and NICE decisions
In the UK, general practice records are a widely used research EHR source. Herrett and colleagues, profiling CPRD in 2015, described it as an ongoing primary care database of anonymised records from general practitioners covering over 11.3 million patients from 674 practices, with 4.4 million active patients meeting quality criteria, about 6.9% of the UK population, and patients broadly representative by age, sex and ethnicity. Because general practitioners are the gatekeepers to specialist referral, the records include symptoms, tests, diagnoses, therapies, health behaviours and referrals, and for over half of patients linkage to secondary care, disease cohorts and mortality records adds further data. The profile also warns of variable completeness and misclassification.
ECD9 lists earlier NICE uses of such data in economic work. The NICE guideline on chronic obstructive pulmonary disease reported baseline exacerbation rates by severity from CPRD GOLD, the technology appraisal of patiromer for hyperkalaemia used CPRD data to model transitions between chronic kidney disease states, and the appraisal of benralizumab for severe eosinophilic asthma reported economic burden from CPRD GOLD linked to Hospital Episode Statistics.
Where EHR data enter an economic evaluation
ECD9 states that real-world data can be used to design, populate and validate economic models, including estimates of resource use, quality of life, event rates, prevalence, incidence and long-term outcomes. EHRs count clinical events and service activity, such as consultations, prescriptions, tests and admissions, but rarely price them, so unit costs are attached separately. In England the NICE manual (PMG36, section 4.4.9) calls healthcare resource groups (HRGs) a valuable source of information for estimating resource use, notes that the national average unit cost of each HRG comes from the annual mandatory collection of reference costs, and warns that the cost of an admission for a serious condition may not include critical care, which is costed as a separate HRG.
Quality-of-life weights are harder to find, since a preference-based measure appears in routine records only where a service chooses to collect one. In a cost-utility analysis built on EHR event data, the record often supplies who reaches each health state and when, and the health state utility values come from trials or surveys.
A comparison of treated and untreated patients in an EHR is an observational study, open to confounding by indication because clinicians choose treatment partly on severity, and to immortal time bias when follow-up starts before treatment status is fixed. ECD9 suggests quantitative bias analysis where concerns about residual bias remain high, and adds that for economic model parameters the sensitivity analysis may consider the effect of bias on cost effectiveness as well as on the parameter value.
Capture, continuity and what an empty field means
An EHR records an event only when the patient meets the system that keeps it. The FDA guidance asks studies to discuss continuity of care, meaning whether patients receive all their services within the facilities that feed the same EHR source, because a stretch without records may reflect care elsewhere, recovery or worsening illness. It also notes that EHRs and claims may not systematically capture non-prescription medicines, drugs not reimbursed by health plans, or vaccinations given at pharmacies, workplaces or public health clinics.
The FDA separates two kinds of absence. Information may be missing from a field designed to hold it, which is ordinary missing data, or it may never have been meant for collection in that source, which is a question of whether the source is relevant at all. A missing laboratory result can mean the test was never ordered, was ordered and not done, was done and not stored, or was stored and lost during curation. Since clinicians order tests according to patient characteristics, the pattern of missing results carries information about the patients.
ECD9 asks for completeness and accuracy to be reported for every key study variable and sets no minimum threshold for either, and how the two are measured is covered under data quality.
Worked example of an admission rate and cost from a practice cohort (illustrative)
All figures in this example are illustrative. An analyst wants the annual rate and cost of emergency admissions for people with a long-term condition, drawn from a general practice EHR linked to one hospital's records, to use as a cycle cost in a Markov model. The rate is computed over observed person-time.
where is the admission rate per person-year, is the number of admissions observed, is the number of people in the cohort and is the time in years for which person is visible in the data.
1. Count observed time. Of 200 registered people, 180 are observed for the whole year and 20 leave the practice after six months. Observed time is 180 × 1 + 20 × 0.5 = 190 person-years.
2. Compute the rate. The linked hospital records show 36 admissions, so the rate is 36/190 = 0.1895 per person-year. Dividing by 200 people instead would give 0.18 and understate the rate, because it counts unobserved time.
3. Attach unit costs. At an illustrative GBP 2,400 per admission, the admissions cost 36 × 2,400 = GBP 86,400. Four of the admissions also include three critical care days each, costed separately at an illustrative GBP 1,800 a day, which adds 4 × 3 × 1,800 = GBP 21,600. The total is 86,400 + 21,600 = GBP 108,000, or 108,000/190 = GBP 568.42 per person-year.
4. Test for care outside the system. Linkage to national hospital data finds 6 further admissions to other hospitals, none with critical care. Admissions rise to 42, the rate to 42/190 = 0.2211 per person-year and the cost to 42 × 2,400 + 21,600 = GBP 122,400, or 122,400/190 = GBP 644.21 per person-year. The single-hospital count missed 6 of 42 admissions, one in seven.
5. Interpret the result. The figure of GBP 644.21 per person-year covers hospital admissions only, for patients like those in the cohort, and is not the total cost of the condition. The gap of GBP 75.79 per person-year between steps 3 and 4 came entirely from care the original system could not see. Where linkage is not available, a deterministic sensitivity analysis on the uncaptured share can show how much the result depends on it.
The economics of adopting EHR systems
EHRs are also an investment that health economists evaluate in their own right. In 2005 a RAND team led by Hillestad estimated that effective implementation and networking of electronic medical record systems could eventually save the United States more than USD 81 billion a year, while stating that this was unlikely without related changes to the health care system. Seven years later Kellermann and Jones reported that the empirical data on the technology's effect on efficiency and safety were mixed, and attributed the shortfall to slow adoption, systems that were neither interoperable nor easy to use, and a failure to redesign care processes.
Agha, using Medicare claims for 2.5 million inpatient admissions across 3,900 hospitals between 1998 and 2005, found that adoption of health information technology was associated with a 1.3% increase in billed charges (p-value 0.056), no evidence of cost savings even five years after adoption, and little effect on mortality, adverse drug events or readmissions. Projected savings and measured effects therefore need to be kept apart in any business case.
Common misreadings of EHR evidence
Most errors come from treating documentation as if it were the event itself. Four recur often.
- Reading a code as a confirmed diagnosis. The FDA guidance notes that EHR data, like claims, may not accurately reflect the presence, characteristics or severity of a disease, so case definitions need validation.
- Reading no record as no event. Care outside the contributing facilities, and over-the-counter medicines, leave no trace in the source.
- Equating size with validity. A very large EHR cohort can give a precise estimate of a biased quantity when capture or study design is wrong.
- Treating one dataset as fit for every question. ECD9 notes that a dataset may be of value for one application and not another.
Sources
- Agha L. The effects of health information technology on the costs and quality of medical care. Journal of Health Economics. 2014;34:19-30. https://doi.org/10.1016/j.jhealeco.2013.12.005
- Food and Drug Administration. Real-World Data: Assessing Electronic Health Records and Medical Claims Data To Support Regulatory Decision-Making for Drug and Biological Products. Guidance for Industry. FDA; July 2024. https://www.fda.gov/media/152503/download
- Herrett E, Gallagher AM, Bhaskaran K, Forbes H, Mathur R, van Staa T, Smeeth L. Data Resource Profile: Clinical Practice Research Datalink (CPRD). International Journal of Epidemiology. 2015;44(3):827-836. https://doi.org/10.1093/ije/dyv098
- Hillestad R, Bigelow J, Bower A, Girosi F, Meili R, Scoville R, Taylor R. Can electronic medical record systems transform health care? Potential health benefits, savings, and costs. Health Affairs. 2005;24(5):1103-1117. https://doi.org/10.1377/hlthaff.24.5.1103
- Kellermann AL, Jones SS. What it will take to achieve the as-yet-unfulfilled promises of health information technology. Health Affairs. 2013;32(1):63-68. https://doi.org/10.1377/hlthaff.2012.0693
- National Institute for Health and Care Excellence. NICE real-world evidence framework (ECD9). London: NICE; published 23 June 2022, updated September 2025. https://www.nice.org.uk/corporate/ecd9
- National Institute for Health and Care Excellence. NICE technology appraisal and highly specialised technologies guidance: the manual (PMG36). London: NICE; published 31 January 2022, last updated 13 October 2026. Section 4.4.9. https://www.nice.org.uk/process/pmg36
- Office of the National Coordinator for Health Information Technology. Health IT and HIE frequently asked questions. HealthIT.gov; accessed 31 October 2026. https://healthit.gov/health-it-basics/hit-hie-faqs/
Related Concepts (3)
Frequently Asked Questions (6)
What is an electronic health record?
Electronic health records (EHRs) are digital patient records kept for clinical care and reused in health economics as data on resource use and outcomes.
Source: NICE ECD9 2022
What clinical detail does an electronic health record hold?
In an electronic health record, coded entries such as diagnoses, prescriptions, test orders and laboratory values sit alongside a large body of unstructured text. The FDA's 2024 guidance on electronic health records and claims notes that much key clinical data is held as free text, such as physician notes, or in non-standard documents such as PDF radiology reports, and has to be abstracted by people or software before analysis. That text can describe severity, reasons and plans that coded fields miss, though extraction must keep negation and timing. What is recorded also depends on local documentation practice and on how the system is configured.
Source: FDA 2024
What does an electronic health record contain?
A UK general practice record, as profiled by Herrett and colleagues for the Clinical Practice Research Datalink in 2015, holds demographics, symptoms, tests, diagnoses, therapies, health-related behaviours and referrals to secondary care, because general practitioners act as gatekeepers to specialist care. For over half of the patients in that database, linkage to secondary care, disease-specific cohorts and mortality records adds further data. The same profile warns of variable completeness and misclassification. An entry in an electronic health record therefore shows what was documented within one system, which is not always what happened to the patient.
Source: Herrett et al. 2015
Why are electronic health records used in research?
Routine care data can describe patients, events and resource use in the population that a health care decision covers. NICE's real-world evidence framework names electronic health records among the common sources of real-world data and states that such data can be used to design, populate and validate economic models, including estimates of resource use, quality of life, event rates, prevalence, incidence and long-term outcomes. Its examples include baseline exacerbation rates for chronic obstructive pulmonary disease taken from general practice records in CPRD GOLD, and transitions between chronic kidney disease states modelled from CPRD data. Unit costs are usually attached separately, since the records count services rather than price them.
Source: NICE ECD9 2022
What are the challenges of using electronic health records for research?
An electronic health record holds an event only when the patient meets the system that keeps it, so care given at facilities outside that system can leave no trace. The FDA's 2024 guidance asks studies to discuss continuity of care, and it separates information missing from a field meant to hold it from information the source was never designed to collect. Missing laboratory results are not random, since clinicians order tests according to patient characteristics. Coded diagnoses may not reflect the presence or severity of disease accurately, and treated and untreated patients differ through confounding by indication, so case definitions need validation and comparisons need careful design.
Source: FDA 2024
How do electronic health records differ from claims data?
The two sources are generated for different purposes. According to the FDA's 2024 guidance, electronic health record data are generated for clinical care, although they may also serve as a basis for billing, while claims record the services that were billed. For outpatient prescriptions, dispensing or billing data tend to reflect drug exposure more accurately than most electronic health records, because they show that a prescription was filled. For vaccines, injectables and blood products given in the care setting, the electronic health record may be more complete than claims. Neither source systematically captures non-prescription medicines or vaccinations given at pharmacies or workplaces.
Source: FDA 2024
Trust Record
Verified by Dr Darrin Baines
British health economist
Professional identity: darrinbaines.org
Verification date: 31 Oct 2026
Content version: 1.0.1
Canonical Identity
- Term code
- HE-ES-ES-021
- Wikidata
- Q10871684
Stable URI · Machine-readable · Resolvable · CC BY 4.0
