Diagnostic Results <%== render :partial => 'narrative_block', :locals => {:entries => entries, :section => 'results', :value=>true} %> <% entries.each_with_index do |entry, i| -%> <%== code_display(entry, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT']) %> /> <% if entry.value -%> " <% if entry.value["units"]-%>unit="<%= entry.value["units"] %>"<% end -%>/> <% else -%> <% end -%> <% end -%>