templates/html/show.html.erb in health-data-standards-3.4.3 vs templates/html/show.html.erb in health-data-standards-3.4.4
- old
+ new
@@ -128,12 +128,14 @@
function hideCodes(ev, id) {
var codes = document.getElementById(id);
codes.style.display = 'none';
}
</script>
+ <% if measures.length==0 %>
<div>
<h3><a href="#" onclick="toggle('table_by_encounter');" id="toggle_button">View By Encounter</a></h3>
</div>
+ <% end %>
<%== render :partial => 'entries_by_section', :locals => {patient: patient, code_map: code_map, measures: measures} %>
<% if measures.length==0 %>
<%== render :partial => 'entries_by_encounter', :locals => {patient: patient, code_map: code_map, measures: measures} %>
<% end %>
\ No newline at end of file