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