In the checks defined in inst/csv/OMOP_CDMv5.4_Field_Level.csv for v5.4, the values of standardConceptFieldName for the fields ADMITTED_FROM_SOURCE_VALUE & DISCHARGED_TO_SOURCE_VALUE in tables VISIT_OCCURRENCE & VISIT_DETAIL are missing. Therefore, when executing DQD sourceValueCompleteness checks fail for these fields in the corresponding tables.
Error logs is as follows -
2024-10-15 13:38:26 [Main thread] ERROR DataQualityDashboard 3 [Level: FIELD] [Check: sourceValueCompleteness] [CDM Table: VISIT_DETAIL] [CDM Field: ADMITTED_FROM_SOURCE_VALUE] Error executing SQL: org.postgresql.util.PSQLException: ERROR: column cdmtable.na does not exist Position: 559 An error report has been created at ../output/errors/FIELD_sourceValueCompleteness_VISIT_DETAIL_ADMITTED_FROM_SOURCE_VALUE.txt
2024-10-15 13:38:26 [Main thread] ERROR DataQualityDashboard 3 [Level: FIELD] [Check: sourceValueCompleteness] [CDM Table: VISIT_DETAIL] [CDM Field: DISCHARGED_TO_SOURCE_VALUE] Error executing SQL: org.postgresql.util.PSQLException: ERROR: column cdmtable.na does not exist Position: 559 An error report has been created at ../output/errors/FIELD_sourceValueCompleteness_VISIT_DETAIL_DISCHARGED_TO_SOURCE_VALUE.txt
2024-10-15 13:38:26 [Main thread] ERROR DataQualityDashboard 3 [Level: FIELD] [Check: sourceValueCompleteness] [CDM Table: VISIT_OCCURRENCE] [CDM Field: ADMITTED_FROM_SOURCE_VALUE] Error executing SQL: org.postgresql.util.PSQLException: ERROR: column cdmtable.na does not exist Position: 567 An error report has been created at ../output/errors/FIELD_sourceValueCompleteness_VISIT_OCCURRENCE_ADMITTED_FROM_SOURCE_VALUE.txt
2024-10-15 13:38:26 [Main thread] ERROR DataQualityDashboard 3 [Level: FIELD] [Check: sourceValueCompleteness] [CDM Table: VISIT_OCCURRENCE] [CDM Field: DISCHARGED_TO_SOURCE_VALUE] Error executing SQL: org.postgresql.util.PSQLException: ERROR: column cdmtable.na does not exist Position: 567 An error report has been created at ../output/errors/FIELD_sourceValueCompleteness_VISIT_OCCURRENCE_DISCHARGED_TO_SOURCE_VALUE.txt
I could create a PR to add these values when the issue is acknowledged.
In the checks defined in
inst/csv/OMOP_CDMv5.4_Field_Level.csv
for v5.4, the values ofstandardConceptFieldName
for the fields ADMITTED_FROM_SOURCE_VALUE & DISCHARGED_TO_SOURCE_VALUE in tables VISIT_OCCURRENCE & VISIT_DETAIL are missing. Therefore, when executing DQDsourceValueCompleteness
checks fail for these fields in the corresponding tables.Error logs is as follows -
I could create a PR to add these values when the issue is acknowledged.