> <%== code_display(entry, 'value_set_map' => value_set_map,'preferred_code_sets' => ['LOINC', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> /> /> <% ev = entry.values.first if ev.present? if ev.respond_to?(:scalar) if is_num?(ev.scalar) -%> <% else -%> <%= ev.scalar%> <% end %> <% else %> <%== code_display(entry, 'tag_name'=>'value', 'value_set_map' => value_set_map,'preferred_code_sets' => ['LOINC', 'SNOMED-CT'],'extra_content' =>'xsi:type="CD"') %> <% end %> <% else -%> <% end -%> <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %>