> <%== code_display(entry, 'value_set_map' => filtered_vs_map, 'preferred_code_sets' => ['*']) %> <%= entry.description %> /> /> <% if entry.discharge_disposition.present? %> <% end -%> <% if entry.respond_to?(:facility) && entry.facility.present? -%> <% if entry.facility[:values][0].present? -%> <% else -%> <% end -%> <%= entry.facility[:values][0]['display'] %> <% end -%> <% if entry.reason.present? -%> <%== render(:partial => 'reason', :locals => {:entry => entry,:reason_oids=>field_oids["REASON"]}) %> <% end -%> <% if entry.principalDiagnosis %> <% end -%> <% if entry.diagnosis %> /> /> <% end -%> <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"], :r2_compatibility => r2_compatibility}) %>