lib/health-data-standards/export/html.rb in health-data-standards-3.1.1 vs lib/health-data-standards/export/html.rb in health-data-standards-3.2.0

- old
+ new

@@ -7,12 +7,12 @@ @rendering_context.template_helper = template_helper @rendering_context.extensions = [HealthDataStandards::Export::Helper::HTMLViewHelper] @code_map = nil end - def export(patient) + def export(patient, measures=[]) @code_map ||= self.build_code_map - @rendering_context.render(:template => 'show', :locals => {:patient => patient, :code_map => @code_map}) + @rendering_context.render(:template => 'show', :locals => {:patient => patient, :code_map => @code_map, :measures => measures}) end def build_code_map super_code_map = {} val_set_array = HealthDataStandards::SVS::ValueSet.all.to_a