Skip to content

Commit

Permalink
Removed dummy "No matching concept" option in filters for Cost & Util…
Browse files Browse the repository at this point in the history
… reports (#556)
  • Loading branch information
pavgra authored Aug 15, 2018
1 parent 08f4223 commit fa22dff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
select distinct concept_id, concept_name
from @results_schema.heracles_results
join @vocabulary_schema.concept on concept_id = cast((CASE WHEN stratum_3 <> '' THEN stratum_3 ELSE '0' END) as INTEGER)
join @vocabulary_schema.concept on concept_id = cast(stratum_3 as INTEGER)
where analysis_id in (@analysis_id_list) and cohort_definition_id = @cohort_definition_id and (stratum_2 = CAST(@drug_concept_id AS VARCHAR(255)) or CAST(@drug_concept_id AS VARCHAR(255)) is null)
;
and stratum_3 <> '';
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
select distinct concept_id, concept_name
from @results_schema.heracles_results_dist
join @vocabulary_schema.concept on concept_id = cast((CASE WHEN stratum_2 <> '' THEN stratum_2 ELSE '0' END) as INTEGER)
where analysis_id = @analysis_id and cohort_definition_id = @cohort_definition_id
join @vocabulary_schema.concept on concept_id = cast(stratum_2 as INTEGER)
where analysis_id = @analysis_id and cohort_definition_id = @cohort_definition_id and stratum_2 <> ''
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
select distinct concept_id, concept_name
from @results_schema.heracles_results_dist
join @vocabulary_schema.concept on concept_id = cast((CASE WHEN stratum_3 <> '' THEN stratum_3 ELSE '0' END) as INTEGER)
where analysis_id = @analysis_id and cohort_definition_id = @cohort_definition_id
join @vocabulary_schema.concept on concept_id = cast(stratum_3 as INTEGER)
where analysis_id = @analysis_id and cohort_definition_id = @cohort_definition_id and stratum_3 <> ''

0 comments on commit fa22dff

Please sign in to comment.