<% vals = entry.values.empty? ? [nil] : entry.values vals.each do |value| %> <%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> /> /> <%== render(:partial => 'result_value', :locals => {:values => [value], :result_oids=>result_oids}) %> <% end %>