Sha256: 5fa3a4de9d4f74f57314fac77fb25266bc9259432a2f725a08a0dd044f2c3dfe

Contents?: true

Size: 789 Bytes

Versions: 1

Compression:

Stored size: 789 Bytes

Contents

module HealthDataStandards
  module Export
    class Cat1
      def initialize
        template_helper = HealthDataStandards::Export::TemplateHelper.new('cat1', 'cat1')
        @rendering_context = HealthDataStandards::Export::RenderingContext.new
        @rendering_context.template_helper = template_helper
        @rendering_context.extensions = [HealthDataStandards::Export::Helper::Cat1ViewHelper]
      end

      @@vs_map = nil
      def export(patient, measures, start_date, end_date, header=nil, r2_compatibility=false)
        @rendering_context.render(:template => 'show', :locals => {:patient => patient, :measures => measures,
						:start_date => start_date, :end_date => end_date, :header => header,
						:r2_compatibility => r2_compatibility})
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
health-data-standards-3.6.1 lib/health-data-standards/export/cat_1.rb