-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VDA-1886,1887 update criteria list headers labs drugs (#1096)
* Updated criteria selector and indexing for drug and lab * Changed indexed dataset * Changed indexed dataset for local deploy --------- Co-authored-by: Dexter Amundsen <dexamundsen@verily.com>
- Loading branch information
1 parent
d8a9039
commit 8133e3a
Showing
8 changed files
with
5 additions
and
33 deletions.
There are no files selected for viewing
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
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
4 changes: 1 addition & 3 deletions
4
underlay/src/main/resources/config/datamapping/emerge/entity/drug/all.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,10 +1,8 @@ | ||
SELECT | ||
cast(parse_numeric(dc.criteria_meta_seq) as INT64) as id, | ||
cast(parse_numeric(dc.criteria_meta_seq) as INT64) as concept_id, | ||
dc.name, | ||
'Source' as is_standard, | ||
cast(d.drug_rxcui_code as STRING) as concept_code, | ||
concat(cast(parse_numeric(dc.criteria_meta_seq) as STRING),' ',dc.name) as label, | ||
dc.name as label, | ||
FROM `${omopDataset}.med_criteria` dc | ||
JOIN (SELECT distinct drug_name, drug_rxcui_code from `${omopDataset}.meds`) d | ||
ON lower(dc.name) = lower(d.drug_name) |
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
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
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
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
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