-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed dummy "No matching concept" option in filters for Cost & Util…
… reports (#556)
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/main/resources/resources/cohortresults/sql/healthcareutilization/getDrugTypes.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <> ''; |
4 changes: 2 additions & 2 deletions
4
...sources/resources/cohortresults/sql/healthcareutilization/getVisitConceptsForAnalysis.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <> '' |
4 changes: 2 additions & 2 deletions
4
...ces/resources/cohortresults/sql/healthcareutilization/getVisitTypeConceptsForAnalysis.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <> '' |