We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2f86863 + 08bee7f commit 3af4d8fCopy full SHA for 3af4d8f
R/sqlOnly.R
@@ -231,7 +231,19 @@
231
cdmFieldName
232
)
233
} else if (checkLevel == "CONCEPT") {
234
- if (is.na(unitConceptId)) {
+ if (is.na(unitConceptId) &&
235
+ grepl(",", conceptId)) {
236
+ thresholdFilter <- sprintf(
237
+ "conceptChecks$%s[conceptChecks$cdmTableName == '%s' &
238
+ conceptChecks$cdmFieldName == '%s' &
239
+ conceptChecks$conceptId == '%s']",
240
+ thresholdField,
241
+ cdmTableName,
242
+ cdmFieldName,
243
+ conceptId
244
+ )
245
+ } else if (is.na(unitConceptId) &&
246
+ !grepl(",", conceptId)) {
247
thresholdFilter <- sprintf(
248
"conceptChecks$%s[conceptChecks$cdmTableName == '%s' &
249
conceptChecks$cdmFieldName == '%s' &
0 commit comments