Class: HealthDataStandards::CQM::Stratification

Inherits:
Object
  • Object
show all
Includes:
PopulationSelectors
Defined in:
lib/health-data-standards/models/cqm/aggregate_objects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from PopulationSelectors

#denominator, #denominator_exceptions, #denominator_exclusions, #method_missing, #multiple_population_types?, #numerator, #population_count, #population_id

Constructor Details

#initializeStratification

Returns a new instance of Stratification.



63
64
65
# File 'lib/health-data-standards/models/cqm/aggregate_objects.rb', line 63

def initialize
  @populations = []
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HealthDataStandards::CQM::PopulationSelectors

Instance Attribute Details

#idObject

Returns the value of attribute id.



60
61
62
# File 'lib/health-data-standards/models/cqm/aggregate_objects.rb', line 60

def id
  @id
end

#populationsObject

Returns the value of attribute populations.



60
61
62
# File 'lib/health-data-standards/models/cqm/aggregate_objects.rb', line 60

def populations
  @populations
end