Sha256: 58bddb178e2a0178d74cdd7c65069ab06b79caee58df3b495402d60bd5d4096d
Contents?: true
Size: 551 Bytes
Versions: 30
Compression:
Stored size: 551 Bytes
Contents
module HealthDataStandards module Export module GreenC32 class Record def initialize template_helper = TemplateHelper.new('gc32', 'gc32') @rendering_context = RenderingContext.new @rendering_context.template_helper = template_helper @rendering_context.extensions = [HealthDataStandards::Export::Helper::GC32ViewHelper] end def export(patient) @rendering_context.render(:template => 'record', :locals => {:record => patient}) end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems