Sha256: 9958fe10f924b4d71c40bf5acab8394293af478a7490e1e4815c2fa5b3b62acd
Contents?: true
Size: 1.02 KB
Versions: 18
Compression:
Stored size: 1.02 KB
Contents
<div id="patient_information_by_section" style="display:block"> <% entries_by_section = {} udcs = nil udcs_entries = nil if measures.length > 0 udcs = unique_data_criteria(measures) udcs_entries = udcs.collect{|dc| entries_for_data_criteria(dc['data_criteria'],patient)} udcs_entries.flatten! udcs_entries.uniq! end Record::Sections.each do |section| if section != :insurance_providers if patient.respond_to? section patient.send(section).each do |entry| if udcs.nil? || udcs_entries.index(entry) 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
18 entries across 18 versions & 1 rubygems