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