Sha256: 876406206983781ef441b837d1c57252b7bf78c60f66b23bfc287e159ec3a80f

Contents?: true

Size: 651 Bytes

Versions: 4

Compression:

Stored size: 651 Bytes

Contents

<div id="patient_information_by_section" style="display:block">
  <% 
    entries_by_section = {}
    Record::Sections.each do |section|
	    if section != :insurance_providers
	      patient.send(section).each do |entry|
	        decoded_section = decode_hqmf_section(section, entry.oid)
	        entries_by_section[decoded_section] ||= []
	        entries_by_section[decoded_section] << entry
	      end if patient.respond_to? section
	    end
    end
  %>
  <% entries_by_section.each do |section, entries| %>
    <%== render :partial => 'section', :locals => {entries: entries, section: section, concept_map: concept_map} %>
  <% end %>
  
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
health-data-standards-2.2.1 templates/html/_entries_by_section.html.erb
health-data-standards-2.2.0 templates/html/_entries_by_section.html.erb
health-data-standards-2.1.4 templates/html/_entries_by_section.html.erb
health-data-standards-2.1.3 templates/html/_entries_by_section.html.erb