templates/html/show.html.erb in health-data-standards-3.1.1 vs templates/html/show.html.erb in health-data-standards-3.2.0
- old
+ new
@@ -131,11 +131,13 @@
}
</script>
<div>
<h3><a href="#" onclick="toggle('table_by_encounter');" id="toggle_button">View By Encounter</a></h3>
</div>
- <%== render :partial => 'entries_by_section', :locals => {patient: patient, code_map: code_map} %>
- <%== render :partial => 'entries_by_encounter', :locals => {patient: patient, code_map: code_map} %>
+ <%== 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 %>
<br /><br />
<br /><br />
<br /><br />
<br /><br />
\ No newline at end of file