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