Execute and View Data Quality Checks on OMOP CDM Database
Default DQD check(No new custom checks):
- Using csv file of OMOP_CDMv5.4 in CSV/Default.
- Using R code: R code/Exectute_DQD.R.
DQD check (add Value_as_number check):
- Using csv file in CSV/Value_as_number.
- Using SQL query in SQL query/concept_numerical_statistics.sql
- Using R code in R code/Exectute_DQD.R and set 'sqlOnly <- True' to get all the sql queries but not run the queries. (The format for value_as_number check is different with other query check. To get more details, use measurement lab test details below.)
Measurement lab test:
- SQL query to get inofrmation for every lab test in SQL query/measurement_lab_test(without null).sql
- R code/measurement_lab_test.R :
- get results of measurement_lab_test(without null).sql and save results as an Andromeda object.
- calculate the following statistics for numerical values: min, 5th, 25th, 75th, and 95th percentiles, Median, Mode, Standard deviation, Median absolute deviation, number_of_measurements, number_of_patients, number_of_visits, percent_missing.