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

Version Path
health-data-standards-3.2.3 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.2 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.1 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.0 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.1.1 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.1.0 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.0.6 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.0.5 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.0.4 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.0.3 lib/health-data-standards/export/green_c32/record.rb