Open-source extension to the OHDSI DQD for row-level data quality checking

Hi everyone,

I am happy to share our work on extending the OHDSI Data Quality Dashboard (DQD) to enable row-level data quality checking.

This allows users to trace a data-quality failure back to the specific OMOP record contributing to the issue and, where available, the underlying source document. This makes it possible to investigate individual records behind an aggregate DQD result and identify where a data-quality issue needs to be addressed.

The record-level DQD is available as open-source software here.

We’ve applied this record-level data quality checking in our recent study - Scaling Specialist Hepatology Expertise for Population-Scale MASLD Care: An AI-Enabled OMOP CDM Knowledge Transport Layer for India. The study is being presented at the Collaborator Showcase during the 2026 OHDSI Global Symposium, October 20-22 .

If you are attending the symposium and the topic is of interest, please feel free to stop by and take a look at our poster. We’d also be very interested to hear your thoughts and feedback on the row-level DQD approach and how it could be useful across different OMOP implementations.

1 Like

Thanks for sharing! You’ll definitely want to connect with @clairblacketer and @Frank who presented a similar concept a few years ago: Enhancing Data Quality Management: Introducing Capture and Cleanse Modes to the Data Quality Dashboard – OHDSI

We never released this in DQD but I think that was largely a capacity/prioritization thing (and the “cleanse” mode was somewhat controversial :upside_down_face:). I’d be curious to see if we could evolve this concept beyond just surfacing impacted rows and make that information more actionable. We all have our typical investigation queries we run when a DQD check fails (and there are lots of recommendations for these in the DQD docs). I think there’s an opportunity to incorporate these directly into the package rather than having this as an ad hoc manual step for users.

@roger.carlson is also doing some cool stuff logging violating records in dbt.

1 Like

Thanks for sharing this context. The point about making DQD findings more actionable really resonates with us. We see identifying the specific records behind a failed check as just the first step. The more useful question is what users can actually do with that information. It would be interesting to explore how some of the investigation queries people already use could be built into DQD to make that process less manual.

1 Like

A quick update to the original post: we’ve migrated the row-level DQD code to the official OHDSI repository provisioned for the project. You can find the updated repository here.

A broader challenge we’re exploring is how to standardize clinical information from heterogeneous sources and frontline care settings at scale, particularly in resource-constrained environments like India. The key is not just getting data into a common standard, but ensuring that the clinical meaning is preserved at the individual patient and record level so it can actually support downstream care and research workflows.

This becomes especially important when trying to transport specialist knowledge into settings where specialist access is limited. Our MASLD work is one example, where we’re applying this approach to a high-prevalence condition with limited access to specialist hepatology expertise.

We’d be interested to hear how others are approaching this challenge across heterogeneous clinical data sources.

We’d be interested to hear how others currently investigate DQD failures when an aggregate result points to a data-quality issue.

Do you have an existing approach for tracing these failures back to individual OMOP records?

What do you have in mind? What do you mean by “clinical meaning”? How do facts about the patient (diagnoses, procedures, drugs, lab tests, devices, observations) not have clinical meaning?

1 Like

Thanks for sharing this work! The row-level traceability is particularly useful.

One question that comes to mind across OMOP implementations is how we distinguish mapping or data-quality issues from differences in what is actually observable at each site. Even when datasets pass the same DQD checks, differences in source data availability and documentation may affect how the same clinical criterion translates into a patient cohort.

I’m curious whether your approach could help characterize these distinctions, or whether that would require a separate layer of assessment.

Hey Christian,
so facts alone may not provide full clinical meaning to a frontline worker, especially when these are drawn from fragmented and heterogeneous records.
There are two aspects to what we’re exploring:

  1. Improving data quality and making it actionable: identifying gaps, inconsistencies and errors at the individual record level, so they can be investigated and addressed rather than simply flagged in aggregate reports.
  2. Making the data clinically useful: ensuring that these facts, once standardised and quality-checked, can be brought together to support specific clinical workflows and decision-making.

Our MASLD work is an example of this. The objective is to use fragmented clinical information to identify patients who may be at risk of liver fibrosis and could benefit from further evaluation by a specialist. For this, having individual clinical facts is important, but ensuring that they are accurately represented and interpreted in the context of the patient’s overall clinical picture is equally important.

@Himani:

These are two very important, but independent topics:

  1. This is to introduce the idea of a quality management system. Right now, what we do is quality control. DQD points out quality issues. A QMS closes the feedback loop to where the mistakes are made and tries to prevent them from happening going forward. This is how it should be operated. However, we have a big problem: Most of our data is secondary use. But it is generated for its primary use (justification for claim reimbursement, management of healthcare at the provider). Those primary users don’t really care if we find some data objectionable. In fact, they don’t even know we exist in most cases. A doctor working on a patient in the EHR will hardly change anything because we have a problem. Same is true for the billing department putting the claims together. This is a tricky problem.
  2. The OMOP CDM is designed for large-scale observational research, not patient care. It has none of the mechanisms required to do the latter (communication, audit, scheduling, access control, workflows). It also has different quality requirements than patient care: a few wrong records make no difference when calculating rates across millions of records. There are folks who use OMOP for operational control, supporting things like dashboards. But that requires a continuous ETL of the raw data, which has issues on its own. DQD is not built for that at all. It works in batch mode, usually once every quarter after an ETL refresh is run.

Which of the two are you interested in pursuing?

Thank you for articulating the distinction between quality control, quality management, and the requirements of clinical decision support, Christian. I agree that these are different objectives, and that OMOP was designed primarily for observational research rather than as an operational patient-care system. I’d like to add two perspectives that motivate our work.

The first relates to patient-level prediction within observational research itself. OHDSI’s PLP framework explicitly supports developing and validating predictive models at the individual-patient level. In these applications, the consequences of data quality issues may not be adequately represented by aggregate failure rates (an incorrect laboratory measurement or a misclassified diagnosis could affect cohort membership, outcome ascertainment, or an individual’s predicted risk).

The second perspective comes from the setting of evolving healthcare data landscape, which is an important motivation for our work. Here, much of the underlying clinical information continues to originate in heterogeneous systems, including paper records, and partially structured electronic records. I’d like to highlight just two problems that arise frequently

  1. As information is digitized, errors may arise at several stages. Identifying a problematic OMOP record is useful, but understanding its origin and tracing it back through the transformation process is essential if the issue is to be investigated or corrected.

  2. We need to work with with provider specific documentation rules all the time. Standardizing such information into OMOP concepts does not necessarily resolve the underlying ambiguity. In some cases, an OMOP record may be structurally valid while representing an interpretation that is not fully supported by the original clinical evidence.

We therefore see an opportunity to use OMOP as a common analytical representation (of course, complemented by capabilities for record-level traceability, source provenance, and explicit identification of unresolved semantic ambiguities). Note that here OMOP serves primarily as an aggregation layer and the organization usually retains access to the upstream clinical data and transformation pipelines. Quality findings can can therefore inform source-level investigation and remediation.

Our immediate contribution is in the first direction you identified: making data quality findings more actionable. The broader research question we are interested in is whether record-level traceability and semantic uncertainty can be used to assess whether standardized data is “fit-for-purpose” given a research question, including patient-level prediction.

I would be interested in your perspective on whether such capabilities could complement DQD, perhaps through an extension that preserves source-level evidence and enables investigation of both data quality failures and potentially consequential semantic ambiguities.