Manuel B. Garcia

Manuel B. Garcia serves as the Senior Director for Educational Technology and Digital Learning at FEU Institute of Technology, Manila, Philippines. Read More

Contact Info

1607, FEU Tech Building,
P. Paredes St, Sampaloc,
Manila, Philippines
mbgarcia@feutech.edu.ph

Follow Me

How Do Differences in Coding Practices Across Institutions Affect Research Using Routine Data?

Institutions may use the same coding system but record comparable events differently. Learn how to identify institutional coding variation, assess its impact on pooled analyses, and determine when harmonization or site-specific analysis is appropriate.

534
Institutional Coding Differences in Routine Data Guide 534 of 1272
01 · The Question

Can You Compare Routine Records from Institutions That Code Differently?

You are combining records from several hospitals, universities, government agencies, or other institutions. Each organization contributes data using apparently similar variables and classification systems. Yet one institution reports substantially more diagnoses, events, or service encounters than another.

Does the difference reflect the populations being studied, or are the institutions documenting comparable events differently?

This distinction matters because pooled routine data can increase sample size and broaden institutional coverage while introducing measurement differences that are difficult to recognize after datasets have been combined.

Before interpreting institutional variation as a substantive finding, researchers need to establish whether the underlying records are sufficiently comparable.

02 · The Short Answer

Institutional Coding Differences Can Distort Comparisons and Pooled Estimates

In Brief

Differences in coding practices across institutions can produce systematic differences in recorded exposures, outcomes, and population characteristics, even when institutions use the same formal classification system.

Researchers should investigate local coding rules, documentation workflows, data coverage, and classification validity before pooling records or comparing institutions. Harmonization, site-specific validation, stratified analysis, and appropriate statistical modeling may improve comparability, but they cannot automatically eliminate underlying measurement differences.

03 · What You Need to Know

Understanding Coding Variation Across Institutions

Why Institutions Using the Same Codes May Produce Different Data

A shared coding system establishes a common vocabulary, but it does not guarantee that institutions use that vocabulary identically.

Hospitals may differ in how clinicians document conditions, how coders interpret available information, which diagnoses are prioritized, and how coding decisions are audited. Universities may use common enrollment categories while applying different operational rules to classify students as active, withdrawn, or academically inactive.

Differences may arise from local policies, staff training, software configurations, reimbursement arrangements, institutional priorities, and the availability of supporting documentation.

For example, one hospital may routinely capture secondary diagnoses through structured electronic templates, while another depends more heavily on narrative documentation and manual coding.

Both may use the same diagnostic classification, yet the recorded prevalence of certain comorbidities may differ because of the documentation process rather than the true prevalence alone.

Researchers should therefore distinguish shared terminology from shared measurement.

Identify the Main Sources of Institutional Coding Variation

Institutional differences can originate at several stages of the data-generating process.

Source of variation Illustrative difference Potential consequence
Local coding rules Different interpretations of when an event qualifies for a code Inconsistent case classification
Documentation workflows Structured templates versus narrative records Different probabilities of recording the same condition
Staff training and auditing Different coding guidance or quality-review procedures Variation in coding accuracy and completeness
Software configuration Different default fields, prompts, or automated mappings Systematic differences in recorded categories
Financial or reporting incentives Different reimbursement or performance-reporting arrangements Variation in coding intensity
Data extraction and transformation Different local mappings into a shared dataset Information loss or inconsistent derived variables

These sources can interact. A difference initially attributed to coding may originate in clinical documentation, institutional service delivery, or the extraction process.

Consequently, researchers should examine the full pathway from the underlying event to the final analytical variable.

Distinguish True Institutional Differences from Measurement Differences

Not every difference in recorded rates indicates inconsistent coding.

Hospitals may serve populations with different disease burdens, referral patterns, or levels of clinical complexity. Universities may differ in student demographics, program structures, and academic requirements.

These differences can produce legitimate variation in recorded outcomes.

The methodological challenge is to distinguish variation in the underlying phenomenon from variation in the probability that the phenomenon is documented and coded.

For example, a higher recorded prevalence of chronic disease at one hospital could reflect greater underlying morbidity, more intensive screening, more complete documentation, or a combination of these factors.

Differences in observed rates alone cannot identify which explanation is correct.

Researchers should examine institutional context, population characteristics, coding procedures, and independent evidence before drawing conclusions about institutional performance or underlying risk.

How Institutional Coding Differences Affect Exposure Classification

Suppose a multi-hospital study examines whether a documented clinical condition is associated with subsequent treatment outcomes.

If one hospital consistently records the condition while another documents it primarily when it influences reimbursement or treatment decisions, patients with similar underlying conditions may be classified differently across sites.

This creates exposure misclassification that may vary systematically by institution.

If institutional coding practices are also associated with outcomes, the resulting measurement differences may distort pooled associations.

The problem becomes particularly difficult when exposure prevalence differs across institutions and coding quality cannot be evaluated independently.

Before analysis, examine how the operational exposure definition is implemented at each contributing institution.

How Institutional Coding Differences Affect Outcome Ascertainment

Outcome ascertainment refers to the process of identifying whether an outcome occurred.

When institutions differ in coding practices, the same underlying event may have different probabilities of appearing in their records.

For example, a hospital that systematically records secondary complications may appear to have higher complication rates than one that documents those complications less completely.

This does not establish that either hospital provides better or worse care.

Outcome misclassification may also vary by exposure status within an institution. Patients receiving more intensive monitoring may have a greater probability of receiving a recorded diagnosis.

Such differences can affect institutional comparisons and estimates of exposure-outcome associations.

When outcome coding is central to the research question, site-specific validation may be more informative than relying exclusively on a pooled estimate of coding accuracy.

Evaluate Institutional Coding Consistency Before Pooling Data

Start by identifying the classification systems, local coding policies, and data extraction procedures used by each institution.

Review institutional data dictionaries, code lists, reporting manuals, and relevant documentation histories. Determine whether the same analytical definition can be implemented consistently across sites.

Then examine empirical patterns, including:

  • Frequencies of major diagnostic or administrative categories.
  • Proportions of unspecified, residual, or missing codes.
  • Numbers of codes recorded per encounter or individual.
  • Site-specific distributions of important exposures and outcomes.
  • Changes in coding patterns over time within each institution.
  • Relationships between coded events and supporting measurements.

Compare rates using appropriate denominators and consider relevant differences in population composition.

Unusual distributions should prompt investigation rather than immediate exclusion. A highly specialized institution may legitimately have a different case mix from a general institution.

These checks form part of determining whether routine data were collected consistently enough for research.

What Can Common Data Models Actually Standardize?

A common data model establishes a shared structure for representing data from different sources. It may standardize table organization, field names, data types, relationships, and terminology mappings.

The Observational Medical Outcomes Partnership (OMOP) Common Data Model, maintained through the OHDSI community, is one example used in observational health research.

Common data models can facilitate consistent analytical queries and make multi-database studies more reproducible.

However, converting several databases into the same structure does not guarantee that their underlying measurements are equivalent.

Structural harmonization Making datasets conform to common tables, fields, formats, and terminology conventions.
Semantic harmonization Establishing that mapped variables represent sufficiently comparable concepts across sources.

Both matter. A standardized field can still contain institution-specific differences in what was originally observed, documented, or coded.

Researchers should evaluate the local source-to-target mappings and the meaning of the original data rather than assume that successful conversion establishes validity.

Use Site-Specific Validation When Feasible

Validation can help determine whether the same coding algorithm performs similarly across institutions.

For example, researchers might compare algorithm-positive and algorithm-negative records with independently adjudicated clinical information at selected sites.

Site-specific estimates of sensitivity, specificity, and predictive values can reveal differences that a pooled validation statistic might conceal.

Predictive values may differ because of both coding performance and the underlying prevalence of the condition. Comparisons should therefore be interpreted in context.

Where resources are limited, researchers may prioritize validation of the primary outcome or exposure, institutions with unusual distributions, and sites contributing heavily to the overall estimate.

Such prioritization can be useful, although a selectively validated subset may not represent every contributing institution.

Can Statistical Models Account for Institutional Coding Differences?

Statistical methods can account for some forms of institutional heterogeneity, but they do not automatically correct measurement error.

Including institution indicators or fixed effects may help account for stable site-level differences in outcome levels under suitable model assumptions. Random-effects or hierarchical models can represent between-institution variation and account for clustering.

However, these methods generally do not reconstruct events that were never recorded or correct unknown site-specific misclassification.

If the sensitivity of outcome coding differs substantially between hospitals, adding hospital identifiers to a regression model does not necessarily restore the true outcome classification.

Where validation information is available, quantitative bias analysis or measurement-error models may be considered. Their usefulness depends on the quality of validation estimates and assumptions about the error process.

Researchers should distinguish adjustment for institutional clustering from correction of institutional measurement bias.

Choose Between Pooled, Stratified, and Institution-Specific Analyses

The choice of analytical strategy should reflect the degree of comparability and the study's target inference.

Approach When it may be useful Principal limitation
Pooled analysis Definitions are sufficiently comparable and a combined estimate is meaningful May conceal site-specific measurement differences
Pooled analysis with site adjustment Institutional heterogeneity can be represented appropriately Does not inherently correct coding misclassification
Stratified analysis Institutional differences require separate examination Some strata may have limited precision
Site-specific estimates with evidence synthesis Comparable estimands can be estimated separately Combining biased estimates does not remove measurement bias
Restricted institutional sample Only some sites meet the necessary comparability requirements Reduced coverage and generalizability

Stratification and meta-analysis can make institutional heterogeneity more visible. They should not be interpreted as substitutes for evaluating the validity of the underlying measurements.

When only a few institutions are available, some hierarchical modeling approaches may also have limited ability to estimate between-site variance reliably.

Consider Whether Institutional Differences Change Over Time

Institutional coding variation is not necessarily constant.

One hospital may adopt new documentation software before another. A university may revise its reporting definitions while participating institutions continue using older rules.

These changes can produce both between-institution and within-institution variation.

For longitudinal multi-site studies, researchers should examine site-by-time patterns rather than assume that a single institution indicator captures all relevant differences.

The implications of changes in coding practices over time become particularly important when institutional transitions occur near interventions or policy changes being evaluated.

If institutions implement a coding transition at different dates, those differences may provide useful diagnostic information. They do not automatically establish a valid natural experiment.

Document Institutional Differences Without Exposing Confidential Information

Multi-institutional research often operates under data-sharing agreements, privacy requirements, and restrictions on identifying contributing organizations.

Researchers should document coding systems, data transformation rules, validation procedures, and relevant institutional heterogeneity to the extent permitted.

Where institutions cannot be identified publicly, anonymized site labels or aggregate descriptions may allow meaningful reporting without disclosing restricted information.

Transparency does not require publishing confidential records. It requires providing enough methodological detail for readers to understand the basis and limitations of the comparisons.

04 · A Practical Example

Three Hospitals Report Different Rates of a Recorded Complication

Hypothetical Example

Investigating Apparent Institutional Differences

A researcher combines routine inpatient records from three hospitals to compare the frequency of a specified complication.

Each hospital uses the same diagnostic classification and contributes 10,000 eligible admissions during the observation period.

Hospital A records 300 qualifying complications, Hospital B records 480, and Hospital C records 250. The corresponding recorded rates are 3.0%, 4.8%, and 2.5%.

The researcher initially considers interpreting Hospital B's higher rate as evidence of poorer clinical outcomes.

Step 1: Verify the operational definition. Confirm that all hospitals use the same qualifying code set, diagnosis positions, observation period, and inclusion criteria.
Step 2: Examine local documentation procedures. Hospital B uses a structured complication-reporting template. Hospitals A and C rely more heavily on routine clinician documentation followed by coding review.
Step 3: Compare supporting indicators. Examine available clinical measurements, patient case mix, service characteristics, and related outcomes to investigate whether differences reflect patient populations or recording practices.
Step 4: Assess coding validity. Where feasible, conduct or review comparable validation assessments at each hospital. Evaluate whether the algorithm identifies the same underlying complication with similar accuracy.
Step 5: Select the analysis. If measurement comparability is sufficiently supported, proceed with appropriately adjusted comparisons. If important coding differences remain, present site-specific estimates and qualify or avoid direct institutional rankings.

Hospital B's recorded complication rate is 1.8 percentage points higher than Hospital A's. This difference is real as a description of the supplied records, but it does not establish an equivalent difference in true complication occurrence.

Without adequate information about coding validity, documentation intensity, and case mix, a performance ranking would be methodologically premature.

05 · What Researchers Often Get Wrong

Common Mistakes in Multi-Institutional Routine Data Research

Misconception

Using the Same Classification System Guarantees Comparable Data

Institutions can apply identical codes under different documentation and operational practices. Shared terminology does not establish equivalent measurement.

Misconception

Differences in Recorded Rates Necessarily Reflect Institutional Performance

Recorded rates may reflect differences in patient populations, service delivery, ascertainment, or coding intensity. Institutional performance claims require stronger evidence than unadjusted coding comparisons.

Misconception

A Common Data Model Eliminates Local Coding Differences

Common data models improve structural and terminology consistency, but they cannot automatically correct differences in what institutions originally documented or failed to record.

Misconception

Including Hospital as a Covariate Solves Measurement Bias

Site adjustment may account for some institutional differences, but unknown variation in exposure or outcome classification can remain. Statistical control and measurement validation address different problems.

Misconception

A Pooled Validation Statistic Applies Equally to Every Institution

Algorithm performance can differ across sites. A pooled estimate may conceal poor sensitivity or specificity in particular institutions, especially when their contributions to the validation sample differ.

Misconception

More Institutions Always Make a Study More Generalizable

Adding institutions can broaden coverage, but generalizability depends on how institutions were selected and whether their measurements support the intended inference. Additional heterogeneous data do not automatically improve validity.

06 · What This Means for You

Determine Whether Pooling Institutional Records Is Defensible

Before combining institutional datasets, identify which variables must be comparable for the research question to be answered. Prioritize the primary exposure, outcome, eligibility criteria, and essential confounders.

Evaluate local coding procedures and empirical distributions, then determine whether observed differences can be explained, harmonized, or accommodated analytically.

A simple decision framework

If institutions use comparable definitions with adequate supporting evidence
Consider pooled analysis while accounting appropriately for clustering, case mix, and relevant institutional heterogeneity.
If coding differences are documented and meaningfully harmonizable
Apply transparent transformation rules and assess the consequences for classification and estimated associations.
If coding validity differs across sites
Consider site-specific validation, alternative algorithms, stratified estimates, or suitable measurement-error methods.
If important differences cannot be resolved
Avoid unsupported direct comparisons and consider restricting the analysis to institutions with sufficiently comparable records.
If institutional coding changes during the study period
Examine site-specific transition dates and evaluate whether longitudinal comparability is maintained.

When institutional coding differences affect central variables and cannot be adequately assessed, they may limit the feasibility of the intended pooled analysis. A smaller but well-characterized institutional sample can sometimes provide a more defensible answer than a larger dataset whose measurement differences remain unknown.

07 · A Quick Checklist

What to Verify Before Combining Routine Data Across Institutions

Before pooling institutional records, check:
Identify the coding systems, versions, and local operational rules used at each institution.
Review differences in documentation workflows, coding responsibilities, and quality-assurance procedures.
Verify how each institution's source data were extracted and transformed into the analytical dataset.
Compare site-specific code frequencies, missingness, and unspecified categories.
Examine case mix and population coverage before interpreting differences in recorded rates.
Assess whether the same exposure and outcome algorithms are valid across sites.
Review site-specific validation evidence or conduct targeted validation where feasible.
Determine whether harmonization preserves substantive meaning rather than only technical formatting.
Select an analytical approach appropriate to institutional heterogeneity and measurement uncertainty.
Document unresolved institutional differences and their implications for interpretation and generalizability.
08 · Frequently Asked Questions

Frequently Asked Questions About Institutional Coding Variation

Can hospitals using the same ICD codes still produce non-comparable data?

Yes. Differences in clinical documentation, coding instructions, reimbursement arrangements, and data extraction can affect how frequently the same conditions are recorded, even under a shared classification system.

Does converting all institutional datasets to OMOP solve coding differences?

No. OMOP standardizes data representation and supports common analytical procedures, but researchers must still assess local source mappings, data completeness, and whether the original records represent comparable events.

Should I exclude institutions with unusually high diagnosis rates?

Not solely because their rates are high. Investigate case mix, institutional specialization, documentation practices, and coding validity. Exclusion should follow defensible criteria rather than an assumption that unusual values are erroneous.

Can multilevel modeling correct institutional coding differences?

Multilevel models can represent institutional clustering and heterogeneity, but they do not inherently correct unknown misclassification. Additional validation or measurement-error assumptions may be necessary.

Is site-specific validation necessary for every variable?

Not necessarily. Prioritize variables central to the research question, particularly those with plausible institutional differences in recording. The required validation effort depends on the consequences of potential error and available evidence.

Can I pool institution-specific estimates instead of individual records?

Yes, when the study designs, operational definitions, and estimands are sufficiently comparable. Evidence synthesis can summarize site-specific results, but it does not eliminate measurement bias within those results.

Do institutional coding differences matter outside healthcare?

Yes. Educational institutions, government agencies, and other organizations may classify comparable events differently. The same principles of semantic comparability, documentation, validation, and cautious interpretation apply.

09 · The Bottom Line

Comparable Codes Do Not Necessarily Mean Comparable Measurements

The Bottom Line

Institutional coding differences can distort pooled analyses and institutional comparisons because identical codes may be assigned under different documentation practices, operational rules, and data-generation processes.

Assess local coding procedures, empirical patterns, and available validation evidence before treating institutional records as equivalent. Harmonize where defensible, model relevant heterogeneity, and avoid interpreting unresolved measurement differences as substantive institutional effects.

10 · Sources and Further Reading

Authoritative Resources on Multi-Institutional Coding and Data Quality

11 · Cite this Guide

How to Cite This Guide

This guide is intended to be read, shared, and used in research, teaching, and academic work. If you draw on its ideas, explanations, or other content, please acknowledge the source by citing the guide. Doing so gives appropriate credit and helps your readers locate the original resource.

Has the Field Guide helped your research?

If a guide helped clarify a question, inform a research decision, or move your work forward, I would love to hear about your experience. Your story may also help other researchers discover the Field Guide.

Share Your Experience
Takes only a few minutes