Sha256: e20304ced838f280e4635dc2c1a1ba5a062242697cffb8e8686532a0b3f427b4
Contents?: true
Size: 762 Bytes
Versions: 4
Compression:
Stored size: 762 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) @rendering_context.render(:template => 'show', :locals => {:patient => patient, :measures => measures, :start_date => start_date, :end_date => end_date, :header => header}) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems