Sha256: 8fb8d6eb66f2c8d87d63c9818e0417432f3a9f48290d0fcb3d4b56caf7290595

Contents?: true

Size: 883 Bytes

Versions: 7

Compression:

Stored size: 883 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
health-data-standards-3.2.6 templates/html/_entries_by_section.html.erb
health-data-standards-3.2.5 templates/html/_entries_by_section.html.erb
health-data-standards-3.2.4 templates/html/_entries_by_section.html.erb
health-data-standards-3.2.3 templates/html/_entries_by_section.html.erb
health-data-standards-3.2.2 templates/html/_entries_by_section.html.erb
health-data-standards-3.2.1 templates/html/_entries_by_section.html.erb
health-data-standards-3.2.0 templates/html/_entries_by_section.html.erb