class HealthDataStandards::Export::CCDA

Public Class Methods

new() click to toggle source
# File lib/health-data-standards/export/ccda.rb, line 4
def initialize
  template_helper = TemplateHelper.new('ccda', 'ccda')
  @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/ccda.rb, line 10
def export(patient)
  @rendering_context.render(:template => 'show', :locals => {:patient => patient})
end