Vital Signs <%== render :partial => 'narrative_block', :locals => {:entries => entries, :section => 'vitals', :value=>true} %> <% entries.each_with_index do |entry, i| -%> <%== code_display(entry, {'preferred_code_sets' => ['LOINC','SNOMED']}) %> /> <% ev = entry.values.first if ev.present? && ev.respond_to?(:scalar) -%> <% if is_num?(ev.scalar) -%> unit="<%= ev.units %>"<% end -%>/> <% elsif is_bool?(ev.scalar)%> <% else -%> <%= ev.scalar %> <% end -%> <% else -%> <% end -%> <% end -%>