-
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.
updated underlays for SR2022Q4R6 and SC2022Q4R6 (#474)
* updated underlays for SR2022Q4R6 and SC2022Q4R6 * updated queryProjectId with vpc-perimeter-project ids for test-Registered and test-Controlled tiers. * updated queryProjectId with vpc-perimeter-project ids for test-Registered and test-Controlled tiers. * updated queryProjectId with vpc-perimeter-project ids for test-Registered and test-Controlled tiers. * Updated with PR suggestions * Updated indexing builds, added debug to local-dev/run_server script
- Loading branch information
Showing
149 changed files
with
16,898 additions
and
3 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
29 changes: 29 additions & 0 deletions
29
service/src/main/resources/config/aou/test/SC2022Q4R6/expanded/SC2022Q4R6.json
Large diffs are not rendered by default.
Oops, something went wrong.
190 changes: 190 additions & 0 deletions
190
service/src/main/resources/config/aou/test/SC2022Q4R6/expanded/entity/t_brand.json
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 |
---|---|---|
@@ -0,0 +1,190 @@ | ||
{ | ||
"name" : "t_brand", | ||
"idAttribute" : "id", | ||
"attributes" : [ { | ||
"type" : "KEY_AND_DISPLAY", | ||
"name" : "standard_concept", | ||
"dataType" : "STRING", | ||
"displayHint" : { | ||
"type" : "ENUM", | ||
"enumVals" : [ { | ||
"enumVal" : { | ||
"value" : { }, | ||
"display" : "Source" | ||
}, | ||
"count" : 0 | ||
} ] | ||
}, | ||
"displayHintTypes" : [ ] | ||
}, { | ||
"type" : "SIMPLE", | ||
"name" : "name", | ||
"dataType" : "STRING", | ||
"displayHintTypes" : [ ] | ||
}, { | ||
"type" : "SIMPLE", | ||
"name" : "concept_code", | ||
"dataType" : "STRING", | ||
"displayHintTypes" : [ ] | ||
}, { | ||
"type" : "SIMPLE", | ||
"name" : "id", | ||
"dataType" : "INT64", | ||
"displayHintTypes" : [ ] | ||
} ], | ||
"sourceDataMapping" : { | ||
"dataPointer" : "omop_dataset", | ||
"tablePointer" : { | ||
"table" : "concept", | ||
"filter" : { | ||
"type" : "BOOLEAN_AND_OR", | ||
"operator" : "AND", | ||
"subfilters" : [ { | ||
"type" : "BINARY", | ||
"field" : { | ||
"column" : "domain_id", | ||
"runtimeCalculated" : false | ||
}, | ||
"operator" : "EQUALS", | ||
"value" : { | ||
"stringVal" : "Drug" | ||
} | ||
}, { | ||
"type" : "BINARY", | ||
"field" : { | ||
"column" : "concept_class_id", | ||
"runtimeCalculated" : false | ||
}, | ||
"operator" : "EQUALS", | ||
"value" : { | ||
"stringVal" : "Brand Name" | ||
} | ||
}, { | ||
"type" : "BINARY", | ||
"field" : { | ||
"column" : "invalid_reason", | ||
"runtimeCalculated" : false | ||
}, | ||
"operator" : "IS", | ||
"value" : { } | ||
}, { | ||
"type" : "BOOLEAN_AND_OR", | ||
"operator" : "OR", | ||
"subfilters" : [ { | ||
"type" : "BINARY", | ||
"field" : { | ||
"column" : "vocabulary_id", | ||
"runtimeCalculated" : false | ||
}, | ||
"operator" : "EQUALS", | ||
"value" : { | ||
"stringVal" : "RxNorm" | ||
} | ||
}, { | ||
"type" : "BINARY", | ||
"field" : { | ||
"column" : "vocabulary_id", | ||
"runtimeCalculated" : false | ||
}, | ||
"operator" : "EQUALS", | ||
"value" : { | ||
"stringVal" : "RxNorm Extension" | ||
} | ||
} ] | ||
} ] | ||
} | ||
}, | ||
"attributeMappings" : { | ||
"standard_concept" : { | ||
"value" : { | ||
"column" : "standard_concept", | ||
"runtimeCalculated" : false | ||
}, | ||
"display" : { | ||
"column" : "standard_concept", | ||
"sqlFunctionWrapper" : "(CASE WHEN ${fieldSql} IS NULL THEN 'Source' WHEN ${fieldSql} = 'S' THEN 'Standard' ELSE 'Unknown' END)", | ||
"runtimeCalculated" : false | ||
} | ||
}, | ||
"name" : { | ||
"value" : { | ||
"column" : "concept_name", | ||
"runtimeCalculated" : false | ||
} | ||
}, | ||
"concept_code" : { | ||
"value" : { | ||
"column" : "concept_code", | ||
"runtimeCalculated" : false | ||
} | ||
}, | ||
"id" : { | ||
"value" : { | ||
"column" : "concept_id", | ||
"runtimeCalculated" : false | ||
} | ||
} | ||
}, | ||
"textSearchMapping" : { | ||
"searchStringTable" : { | ||
"tablePointer" : { | ||
"rawSql" : "SELECT textsearch.id, textsearch.text FROM ( SELECT c.concept_id AS id, c.concept_name AS text FROM `all-of-us-ehr-dev.SC2022Q4R6.concept` c UNION ALL SELECT c.concept_id AS id, CAST(c.concept_id AS STRING) AS text FROM `all-of-us-ehr-dev.SC2022Q4R6.concept` c UNION ALL SELECT c.concept_id AS id, c.concept_code AS text FROM `all-of-us-ehr-dev.SC2022Q4R6.concept` c ) AS textsearch JOIN `all-of-us-ehr-dev.SC2022Q4R6.concept` c ON c.concept_id = textsearch.id WHERE c.domain_id = 'Drug' AND c.concept_class_id = 'Brand Name' AND c.vocabulary_id IN ('RxNorm', 'RxNorm Extension') " | ||
}, | ||
"fieldPointers" : { | ||
"id" : { | ||
"column" : "id", | ||
"runtimeCalculated" : false | ||
}, | ||
"text" : { | ||
"column" : "text", | ||
"runtimeCalculated" : false | ||
} | ||
} | ||
} | ||
}, | ||
"hierarchyMappings" : { } | ||
}, | ||
"indexDataMapping" : { | ||
"dataPointer" : "index_dataset", | ||
"tablePointer" : { | ||
"table" : "t_brand" | ||
}, | ||
"attributeMappings" : { | ||
"standard_concept" : { | ||
"value" : { | ||
"column" : "standard_concept", | ||
"runtimeCalculated" : false | ||
}, | ||
"display" : { | ||
"column" : "t_display_standard_concept", | ||
"runtimeCalculated" : false | ||
} | ||
}, | ||
"name" : { | ||
"value" : { | ||
"column" : "name", | ||
"runtimeCalculated" : false | ||
} | ||
}, | ||
"concept_code" : { | ||
"value" : { | ||
"column" : "concept_code", | ||
"runtimeCalculated" : false | ||
} | ||
}, | ||
"id" : { | ||
"value" : { | ||
"column" : "id", | ||
"runtimeCalculated" : false | ||
} | ||
} | ||
}, | ||
"textSearchMapping" : { | ||
"searchString" : { | ||
"column" : "text", | ||
"runtimeCalculated" : false | ||
} | ||
}, | ||
"hierarchyMappings" : { } | ||
} | ||
} |
Oops, something went wrong.