app/helpers/measures_helper.rb
# Helper for iterating through the sub ids for a measure. For measures that do not have any sub ids
# this method will loop once passing in nil as a sub id
Helper for iterating through the sub ids for a measure. For measures that do not have any sub ids
this method will loop once passing in nil as a sub id
Helper for iterating through the sub ids for a measure . For measures that do not have any sub ids this method will loop once passing in nil as a sub id
def measure_stats_div(measure_id, sub_id, effective_date, filters)
    results = result_hash(measure_id, sub_id, effective_date, filters)
    div_options = {:class => 'tableMeasureCtrl', :"data-measure-id" => measure_id}
    div_options[:"data-measure-sub-id"] = sub_id if sub_id
    div_options[:"data-calculation-job-uuid"] = results['uuid'] if results['uuid']
    content_tag(:div, div_options) do
      yield results
    end
  end
def measure_stats_div ( measure_id , sub_id , effective_date , filters ) results = result_hash ( measure_id , sub_id , effective_date , filters ) div_options = { :class => 'tableMeasureCtrl' , :" data-measure-id " => measure_id } div_options [ :" data-measure-sub-id " ] = sub_id if sub_id div_options [ :" data-calculation-job-uuid " ] = results [ 'uuid' ] if results [ 'uuid' ] content_tag ( :div , div_options ) do yield results end end
Helper for iterating through the sub ids for a measure.
Helper for iterating through the sub ids for a measure .
measure_id
<not_specific>
sub_id
<not_specific>
effective_date
<not_specific>
filters
<not_specific>