OHDSI / DataQualityDashboard

A tool to help improve data quality standards in observational data science.
https://ohdsi.github.io/DataQualityDashboard
Apache License 2.0
145 stars 96 forks source link

DQD should run checks as relevant to the CDM version it is checking #138

Closed gklebanov closed 3 years ago

gklebanov commented 4 years ago

The data is CDM version 5.2.2 image

However, DQD is checking for tables that were introduced in version 5.3 and is showing it as an error image

DQ should take into consideration the OMOP CDM version and only check for relevant tables and business rules. Also, a lot of tables are not required to be populated or cannot be populated for certain data type (like cost and EHR data) or NOTES, we should not be displaying these as errors but rather warnings that tables are empty

fdefalco commented 3 years ago

Corrected by passing the cdmVersion parameter to the execution function.