Healthcare Data Quality: Why It Breaks at Every Interface and How to Fix It
Healthcare Insights

Healthcare Data Quality: Why It Breaks at Every Interface and How to Fix It

Pravin Uttarwar
CTO & Founder, Mindbowser
TL;DR
  • Data quality means data fit for its use. Kahn’s framework gives three categories of checks: does the data match its expected form (conformance), is anything missing (completeness), and is it believable (plausibility). Add freshness for operational data.
  • Quality breaks at interfaces, and each source breaks in its own way: HL7 v2 feeds, FHIR APIs, X12 claims, C-CDA documents, devices and scanned paper all need different checks.
  • Fix it with a check at every pipeline stage. Hold back what fails and send it to the person who can fix it at the source, with the reason.
  • Prove it with a reconciliation report on every load: what arrived, what landed, what was held back and why.
  • AI, research and risk adjustment raise the bar: labels graded against experts, research datasets checked with OHDSI’s Data Quality Dashboard, and every diagnosis traced to its record.

Most data quality problems in healthcare start at data entry or in a definition, and they surface at an interface: the moment a record leaves the system that created it and arrives in a system that has to use it. A lab result loses its unit on the way into a warehouse. A diagnosis code that was valid last September is retired this October. The same patient arrives from two hospitals with two record numbers.

Healthcare data quality is whether data is fit for its use: a clinician’s chart review, a claim, a research cohort or an AI model. This guide covers how to check it, where it breaks for each kind of source, and how to catch errors at every stage of the pipelines behind your healthcare data integration services.

What healthcare data quality means: Kahn’s three categories of checks

There is no single standard list of data quality dimensions. A 2025 systematic review in BMC Medical Informatics and Decision Making screened 614 records down to 44 studies and found that the 43 studies defining dimensions used between one and six each, with overlapping names. Completeness was the most common, used in 40 of those 43 studies (93%), followed by plausibility (49%) and conformance (26%).

The framework those three come from is the most practical place to start. Kahn and colleagues (eGEMs, 2016) proposed a harmonized terminology that the review found in more than a third of studies:

  • Conformance: does the data match its expected form? This covers values (a date is a date, a code is in its value set), relationships (every encounter points to a patient that exists) and computations (a derived value such as body mass index is calculated correctly).
  • Completeness: are the expected values present, and how often?
  • Plausibility: is the data believable? This covers uniqueness (the same patient or visit isn’t recorded twice), values that make sense on their own (an adult weight of 7 kg) and values that make sense over time (a discharge after the admission).

Kahn also separates two ways of checking. Verification tests data against its own rules and metadata, such as a data dictionary or a value set. Validation tests the data against an outside benchmark, such as a chart review, a published rate or another source. Most automated pipeline checks are verification. Kahn’s framework was built for secondary use of EHR data and has no timeliness category, so operational pipelines add one: how fresh the data is when it lands.

AHIMA uses a longer list of ten data quality characteristics; our guide to data governance in healthcare shows them with a check for each.

Why data quality matters more once data leaves the EHR

Inside the EHR, a bad value already feeds alerts, billing and the EHR’s own reporting. Once data flows into a warehouse, an analytics product or a model, the same value is copied into every report and system that reads it, often far from anyone who could correct it.

  • Care: a lab value without its unit, or a medication list that merged two patients, reaches a clinician as a fact.
  • Billing and risk adjustment: a diagnosis used for payment needs support in the medical record, so a code with no traceable source becomes an audit finding.
  • Research: the 2025 review notes that inaccurate or incomplete data can lead to misleading conclusions and reduced reproducibility.
  • AI: a model trained on mislabeled or incomplete data learns the error and repeats it at scale.

Where data quality breaks: source by source

Healthcare standards define the envelope a record travels in, not what goes inside it, and each source fails in its own way.

SourceWhat tends to breakCheck that catches it
HL7 v2 feeds (ADT, results, orders)fields the receiver needs are optional in the standard and arrive empty; local codes; site-specific Z-segments; patient identifiers without an assigning authority; a result value that doesn’t match its declared value typereceiver’s required-field rules per message type; code lookup against the expected code system; per-sender message profiles
FHIR R4 APIselements a profile marks “must support” can be absent by design: base FHIR leaves the meaning to profiles, and US Core requires servers to be able to populate them but to leave them out when the data is unknown; extensible bindings let local codes through; extensions vary by vendorcompleteness rate per element per source; profile validation; mapping of local codes and known extensions
X12 claims (837, 835)claims arrive weeks after the visit; replacement and void claims supersede the original claim; payer reversals arrive on later remittances; an 835 remittance carries no diagnoseslag tracking; claim-version handling (keep the latest version); joins back to the 837 on the claim and payer claim numbers for diagnoses
C-CDA documentsthe narrative text and the coded entries in a section can disagree; every document repeats the full medication and problem listsprefer coded entries; flag disagreements; de-duplicate across documents
Device and remote monitoring dataunits differ by device; time zones are missing; gaps when a device is offlineunit normalization; timestamp rules; gap detection
Scanned and faxed documentstext extraction is uncertain, field by fieldconfidence score per extracted field; low-confidence values to a person
Manual entrytemplates filled with defaults; copied-forward notes; free text where a code belongsdefault-value detection; free-text-in-coded-field rules

Mapping from HL7 v2 to FHIR is where many of these problems first show up, and our HL7 v2 to FHIR mapping guide covers the mechanics. For a wider view of the source systems themselves, see this guide to integrating with EHR systems. Scanned and faxed records need data extraction with a person in the loop for uncertain fields.

Common data quality issues in healthcare, with examples

The same issues appear in most healthcare data, whatever the source system.

IssueExampleCheckFix
Duplicate patientsone person with two record numbers from two hospitalsmatch on demographics before loadone patient ID across sources (patient matching)
Missing required fieldsencounters with no primary diagnosiscompleteness rate per field per sourcefix the source template, hold back until fixed
Unit mismatchesthe same lab reported in mg/dL by one site and mmol/L by anotherunit present and in the allowed list for that testconvert to one unit at load; keep the original
Code drifta diagnosis code retired in the annual update still arrivingcode valid on the date of service (discharge date for inpatient claims)update code tables with each release; map retired codes
Stale demographicslast year’s address and insurance on this year’s claimlast-updated date on demographic fieldsrefresh from the latest admission or eligibility check
Timestamps without time zonesdevice readings that appear to happen before the visittime zone present; event order makes sensestore time zone with every timestamp
Free text where a code belongs“diabetes type 2” typed into a coded fieldvalue is in the code systemmap common text to codes; send the rest for review

Code drift is predictable. CMS posts the ICD-10 code updates every year, and the diagnosis code set takes effect on October 1, so a code that was valid on September 30 can be invalid the next day. A check that tests each code against the code set in effect on the date of service, or the discharge date for inpatient stays, catches it. Other code sets move on their own calendars: HCPCS Level II updates quarterly, CPT changes take effect each January 1, the SNOMED CT US Edition is released in March and September, and LOINC, released each February and August, has announced a move to monthly releases from March 2027. Keep a table of which version each check uses and when the next one lands.

How to fix data quality: a check at every pipeline stage

Cleaning data at the end of a pipeline, in a report or a dashboard, hides the problem from the people who caused it, so the same errors keep arriving. A check at each stage catches the error close to its cause, and the person who can fix it hears about it.

  1. Intake: conformance checks on every record (format, required fields, allowed values).
  2. Mapping: every code is looked up in its target code system; codes with no mapping go to a review queue instead of being dropped.
  3. Matching: records that refer to the same patient get one ID before load.
  4. Load: counts and totals in the source are reconciled against what landed.
  5. Monitoring: pass rates for each rule are tracked over time, with an alert when a rate drops.

Records that fail are held back and kept in a quarantine area, with the rule they failed and the owner who can fix them. The source owner fixes the template, the interface or the workflow, and the corrected record flows again. Ordered feeds need care: if an admission message is held back, the transfers and discharge that follow for the same patient have to wait with it, and a held-back critical lab result needs a clinical escalation path instead of a queue. Deciding who owns each data element and its quality rules is a governance job.

One of our builds shows what a check at intake can do. For a nonprofit academic biomedical research organization, we built a validation engine that checks each incoming sample record against defined rules and suggests corrections before anything is saved. A conservative estimate put the savings from reduced manual correction at about $200,000 a year. The same principle applies at every stage of ETL in healthcare: a rule that runs on every load is cheaper than a person who finds the error in a report.

Not Sure How Much Bad Data Is Already Sitting In Your Reports?

What a reconciliation report shows

A reconciliation report is the artifact that convinces a stakeholder. It answers three questions for every load: what arrived, what landed, and what was held back and why. The sample below is illustrative, with made-up numbers.

SourceMessages receivedLoadedHeld backControl checkTop reasons held backOwner
Hospital A, ADT feed12,48012,41268received = loaded + held backmissing patient class (41); unknown location code (27)Hospital A interface team
Hospital B, lab results48,92048,655265received = loaded + held backunit not in allowed list (198); retired test code (67)Hospital B lab IT
Payer remittances (835)9,3109,3028paid amount: loaded + held back = file totalclaim not matched to an 837 on file (8)Revenue cycle lead

Counts here are messages, not encounters or patients: one stay produces many ADT messages, and updates and merges change existing records. A report like this turns “the numbers look off” into named fixes with named owners, and gives the data owner a trend to watch: the share held back should fall as sources are fixed.

Request an Assessment

When reports disagree: definitions, sources and timing

When two reports show different numbers for the same measure, look at definitions, sources and timing before the data itself:

  • Different definitions. One report counts an active patient as anyone seen in 12 months; another counts anyone with an open care plan. Encounters, attribution, cohorts and reporting periods all have the same problem.
  • Different sources. One report reads the EHR’s reporting database, another the warehouse, a third the claims. Each holds a different slice of the truth: claims lag the visit, and the reporting database may follow EHR rules your warehouse doesn’t.
  • Different timing. One source refreshed last night, another last week, so the two reports describe different days.

The fix is a metric dictionary: for every measure, its written definition, the source tables it reads, its filters and its refresh time. Add lineage, so anyone can trace a number back to the records behind it. When two reports disagree, compare them at the same cut-off date first, so timing is ruled out before you look at definitions.

Keeping quality stable across many senders

A product that takes data from many customers or sites has a different problem from a single hospital: every sender is a little different, and senders change without warning.

Before a new sender goes live

Profile a sample of real messages from that sender before go-live: which fields are filled and how often, which code systems appear, which segments or extensions are local. Agree an interface specification with them, and turn the profile into per-sender rules so you know what normal looks like.

When a sender changes

EHR upgrades and interface changes alter feeds without notice. Watch each sender’s fill rates, code values and message volumes, and alert when they shift. Keep a set of saved messages from each sender and re-run them as a regression test after any change on either side. Send alerts per customer, so the right interface team sees its own problem.

Corrections, merges and resends

Healthcare data changes after it arrives. A lab can send a corrected result (HL7 v2 result status “C”) that replaces a final one. A patient merge message (ADT A40) tells you two records are one person, so everything filed under the old record has to move. A replacement or void claim supersedes the original. And interfaces resend messages after an outage. Give every record a stable key from the source, so a correction updates the record it replaces and a resent message is recognized instead of loaded twice.

How to measure data quality: metrics that mean something

Because the dimension names vary across studies, define each metric in writing before you report it. These are the metrics I find most useful, each tied to an action:

MetricHow to calculate itWho sets the threshold
Rule pass raterecords passing a rule ÷ records checked, per rule, per loaddata steward for the domain
Completeness of critical fieldsrecords with a value ÷ records expected to have one, per critical fielddata owner
Duplicate rateextra records for patients who already have one ÷ all patient recordsHIM or data owner
Freshnesstime from the event (visit, result) to when the record landsthe team that uses the data
Quarantine agedays the oldest held-back record has waiteddata steward
Fixed at sourceheld-back records fixed in the source ÷ all held-back records fixeddata owner

The thresholds depend on the use. A research dataset may need near-complete diagnosis fields; an operational dashboard may care most about freshness. Set each one with the person who owns the data and the person who uses it.

Data quality for AI, research and risk adjustment

The bar rises when data trains a model, supports a study or supports a payment.

  • AI training and AI extraction. AI helps with quality work: it can flag unusual values and turn documents into fields. For document intake, we build pipelines where each extracted field carries a confidence score, low-confidence values go to a person on your team, and a scheduled sample of auto-accepted values is spot-checked. For training data, labels need grading too: for a 47-hospital nonprofit health system, we built an annotation catalog that grades each labeler’s work against expert labels with an F1 score. AI flags and extracts; people decide what is correct.
  • Research. Research networks that use the OMOP common data model can check a dataset with OHDSI’s Data Quality Dashboard, which organizes 24 check types by the Kahn framework and runs about 4,000 individual checks against a database (version 2.9.1). When we build an OMOP conversion, the first release is checked with that dashboard.
  • Risk adjustment. A diagnosis used for payment has to be supported by the medical record. Lineage from each diagnosis back to the document it came from lets coders review weakly supported diagnoses before they become audit findings.

Data quality tools in healthcare: what to use

Most data quality checks are rules you write; the tool decides where they run and how results are reported. Options include open-source test frameworks such as Great Expectations or dbt tests, the checks built into your data platform, OHDSI’s Data Quality Dashboard and Achilles for OMOP data, and commercial data quality products. In 2019 an FDA project funded through ASPE also released an open-source platform for authoring and querying data quality metrics for electronic health data.

The rules, and where they sit in the pipeline, matter more than the tool. When you need the checks built into a healthcare data platform, our healthcare data integration services cover it.

Catch it where it enters, fix it where it starts

Start with one source and its critical fields. Write the rules, put them at intake and load, hold back what fails, and send each failure to the person who can fix it. Add the next source once the first one produces a clean reconciliation report.

We build validation rules with a reconciliation report on every load into your pipelines. After go-live, you choose: we run the pipelines (monitoring, source changes, new sources), or we hand over the code and documentation. When the data starts in an EHR, ConnectHealth, our EHR integration product, acknowledges every HL7 message (ACK/NACK) and tracks it end to end, and its Mapping Engine maps between HL7 v2, X12 and JSON/FHIR with 57 starter templates. That way a lost or rejected message shows up as a record your team can act on.

Request an Assessment

Built for these healthcare verticals

Where To Go Next

Frequently Asked Questions

Data quality in healthcare is whether data is fit for its use, such as patient care, billing, research or training an AI model. It is usually checked in three ways: whether data matches its expected form, whether anything required is missing, and whether the values are believable.

Common issues include duplicate patient records, missing required fields, lab values with inconsistent units, diagnosis codes retired in the annual code update, outdated demographics, timestamps without time zones, and free text entered where a code belongs.

Measure it with defined metrics tied to actions: the share of records passing each rule, completeness of critical fields, the duplicate patient rate, how long data takes to arrive, and how long held-back records wait. Set each threshold with the person who owns the data and the person who uses it.

Once data leaves the EHR, one bad value is copied into every report, claim and model that reads it. Poor quality can put wrong facts in front of clinicians, leave payment diagnoses without support, mislead research and teach AI models the wrong patterns.

Data integrity usually means data stays complete and unaltered as it is stored and moved, protected from improper change. Data quality is broader: whether the data is accurate, complete, consistent and timely enough for the use in front of it. Data can keep its integrity and still be poor quality if it was wrong when it was entered.

Pravin Uttarwar

Pravin Uttarwar

CTO & Founder, Mindbowser

Connect Now

Pravin Uttarwar is CTO & Founder at Mindbowser. He has 16+ years of experience as a developer and technology leader, with deep expertise in healthcare platform architecture, AI/ML strategy, and build-vs-buy decision frameworks.

His career spans founding and growing Mindbowser from a startup to a 150+ person healthcare technology company, while maintaining hands-on technical depth across system architecture, remote team operations, and developer experience.

Share This Blog

Read More Similar Blogs

Let’s #Transform Healthcare,# Together.

Partner with us to design, build, and scale digital solutions that drive better outcomes.

Location

Global Tech Teams LLC, 525 Washington Blvd, Industrious at Newport Tower, Jersey City, NJ 07310, United States.

Contact

+1 408 786 5974
contact@mindbowser.com
BOOK A QUICK CONSULTATION

Have a Healthcare Project in Mind?

Let’s discuss your goals, workflows, and next steps in a focused consultation call.

Calendar icon Schedule a Call

Contact form