class Qrda::Export::Helper::PopulationGroup

Attributes

populations[RW]

Public Instance Methods

is_cv?() click to toggle source
# File lib/qrda-export/helper/aggregate_object_helper.rb, line 93
def is_cv?
  populations.any? {|pop| pop.type == 'MSRPOPL'}
end
performance_rate() click to toggle source
# File lib/qrda-export/helper/aggregate_object_helper.rb, line 85
def performance_rate
  numerator_count.to_f / (performance_rate_denominator)
end
performance_rate_denominator() click to toggle source
# File lib/qrda-export/helper/aggregate_object_helper.rb, line 89
def performance_rate_denominator
  denominator_count - denominator_exclusions_count - denominator_exceptions_count
end