Skip to content

Commit f034253

Browse files
authored
fix(Dr. Rai Reports): Revert default indicator aggreation strategy (#5697)
**Story card:** [sc-16697](https://app.shortcut.com/simpledotorg/story/16697/fix-contactoverduepatientindicator-denominator) ## Because The numbers just don't work with `:rollup` ## This addresses Revert to `:sum` — see [this comment](https://app.shortcut.com/simpledotorg/story/16697/fix-contactoverduepatientindicator-denominator#activity-16745) ## Test instructions suite tests
1 parent c7aafbb commit f034253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/dr_rai/indicator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DrRai::Indicator < ApplicationRecord
2222

2323
def quarterlies(region)
2424
data = Reports::RegionSummary.call(region, range: DEFAULT_RANGE)
25-
Reports::RegionSummaryAggregator.new(data).quarterly(with: :rollup)[region.slug]
25+
Reports::RegionSummaryAggregator.new(data).quarterly(with: :sum)[region.slug]
2626
end
2727

2828
def period

0 commit comments

Comments
 (0)