diff --git a/src/main/java/edu/harvard/dbmi/avillach/dictionary/dashboard/DashboardRepository.java b/src/main/java/edu/harvard/dbmi/avillach/dictionary/dashboard/DashboardRepository.java index 8782c96..077b301 100644 --- a/src/main/java/edu/harvard/dbmi/avillach/dictionary/dashboard/DashboardRepository.java +++ b/src/main/java/edu/harvard/dbmi/avillach/dictionary/dashboard/DashboardRepository.java @@ -71,7 +71,7 @@ public List> getHackyBDCRows() { END AS samples, CASE - WHEN consent.consent_code <> NULL THEN concat(study_accession_meta.value, '.', consent.consent_code) + WHEN consent.consent_code IS NOT NULL THEN concat(study_accession_meta.value, '.', consent.consent_code) ELSE study_accession_meta.value END AS accession,