Skip to content

Commit

Permalink
wip: trying similar change for the RetrieveBreakdownStats query
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlukasse committed Mar 5, 2024
1 parent d5593d5 commit f3f0769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/concept.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (h Concept) RetrieveBreakdownStatsBySourceIdAndCohortIdAndConceptIdsAndCoho
Where("observation.observation_concept_id = ?", breakdownConceptId).
Where(GetConceptValueNotNullCheckBasedOnConceptType("observation", sourceId, breakdownConceptId))

query = QueryFilterByConceptIdsHelper(query, sourceId, filterConceptIds, omopDataSource, resultsDataSource.Schema, "observation")
query = QueryFilterByConceptIdsHelper2(query, sourceId, filterConceptIds, omopDataSource, resultsDataSource.Schema, "unionAndIntersect.subject_id")

query, cancel := utils.AddTimeoutToQuery(query)
defer cancel()
Expand Down

0 comments on commit f3f0769

Please sign in to comment.