class HealthDataStandards::Export::C32

Public Class Methods

new() click to toggle source
# File lib/health-data-standards/export/c32.rb, line 4
def initialize
  template_helper = TemplateHelper.new('c32', 'c32')
  @rendering_context = RenderingContext.new
  @rendering_context.template_helper = template_helper
end

Public Instance Methods

export(patient) click to toggle source
# File lib/health-data-standards/export/c32.rb, line 10
def export(patient)
  @rendering_context.render(:template => 'show', :locals => {:patient => patient})
end