Module: HealthDataStandards::Export::CCDA

Extended by:
CCDA
Includes:
TemplateHelper
Included in:
CCDA
Defined in:
lib/health-data-standards/export/ccda.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) ⇒ Object



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

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