Module: HealthDataStandards::Export::HTML

Extended by:
HTML
Includes:
TemplateHelper
Included in:
HTML
Defined in:
lib/health-data-standards/export/html.rb

Instance Attribute Summary

Attributes included from TemplateHelper

#template_format, #template_subdir

Instance Method Summary collapse

Methods included from TemplateHelper

#partial, #render, #template, #template_root

Instance Method Details

#export(patient, concept_map = nil) ⇒ Object



6
7
8
9
10
# File 'lib/health-data-standards/export/html.rb', line 6

def export(patient, concept_map=nil)
  self.template_format = "html"
  self.template_subdir = "html"
  render(:template => 'show', :locals => {:patient => patient, :concept_map=>concept_map})
end