class HealthDataStandards::CQM::Population

Attributes

id[RW]
stratifications[RW]
supplemental_data[RW]
type[RW]
value[RW]

Public Class Methods

new() click to toggle source
# File lib/health-data-standards/models/cqm/aggregate_objects.rb, line 56
def initialize
  @stratifications = []
end

Public Instance Methods

add_stratification(id,value) click to toggle source
# File lib/health-data-standards/models/cqm/aggregate_objects.rb, line 60
def add_stratification(id,value)
  unless stratifications.find{|st| st.id == id}
    stratifications << Stratification.new(id,value)
  end
end