Class: HealthDataStandards::Export::C32

Inherits:
Object
  • Object
show all
Defined in:
lib/health-data-standards/export/c32.rb

Instance Method Summary collapse

Constructor Details

#initializeC32

Returns a new instance of C32.



4
5
6
7
8
# 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

Instance Method Details

#export(patient) ⇒ Object



10
11
12
# File 'lib/health-data-standards/export/c32.rb', line 10

def export(patient)
  @rendering_context.render(:template => 'show', :locals => {:patient => patient})
end