You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add new support for filters and transformation arguments in histogram endpoint
* fix: fix the naming for concept lists
...from ids to definitions (defs) and add some parsing for the new filter entries
in request body
* feat: working histogram endpoint POC for using tmp table for transformations
* feat: added first log transformation
* feat: added z-score transformation
* feat: add tempttablecache to include cleanup of oldest / least accessed item
* tmp: temporarily disable strict validation until frontend is fixed
* feat: add new ToSQL wrapper method
* feat: remove histogramConceptId from histogram endpoint
...and expect it as part of the variables instead
* fix: make sure only postgresql and sqlserver are accepted for now
* fix: naming improvements and extra unit tests
* fix: improve coverage of parsing.go
* feat: improve coverage of TempTableCache
* feat: improve coverage of TableExists
returnnil, fmt.Errorf("could not retrieve concept Breakdown for concepts %v dichotomous variables %v due to error: %s", filterConceptIds, filterCohortPairs, err.Error())
query=query.Select("distinct("+tmpTableName+".person_id), "+tmpTableName+".observation_concept_id as concept_id, "+tmpTableName+".value_as_number as concept_value_as_number")
119
+
} else {
120
+
query=query.Select("distinct(observation.person_id), observation.observation_concept_id as concept_id, observation.value_as_number as concept_value_as_number").
121
+
Joins("INNER JOIN "+omopDataSource.Schema+".observation_continuous as observation"+omopDataSource.GetViewDirective()+" ON "+finalCohortAlias+".subject_id = observation.person_id").
0 commit comments