class HealthDataStandards::CQM::PopulationGroup

Attributes

populations[RW]

Public Instance Methods

is_cv?() click to toggle source
# File lib/health-data-standards/models/cqm/aggregate_objects.rb, line 89
def is_cv?
  populations.any? {|pop| pop.type == 'MSRPOPL'}
end
performance_rate() click to toggle source
# File lib/health-data-standards/models/cqm/aggregate_objects.rb, line 80
def performance_rate
  numerator_count.to_f / 
    (performance_rate_denominator)
end
performance_rate_denominator() click to toggle source
# File lib/health-data-standards/models/cqm/aggregate_objects.rb, line 85
def performance_rate_denominator
  denominator_count - denominator_exclusions_count - denominator_exceptions_count
end