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.5.3 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.5.2 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.5.1 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.5.0 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.4.6 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.4.5 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.4.4 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.4.3 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.4.2 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.4.1 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.4.0 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.12 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.3.0 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.11 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.10 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.8 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.7 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.6 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.5 lib/health-data-standards/export/green_c32/record.rb
health-data-standards-3.2.4 lib/health-data-standards/export/green_c32/record.rb