<p class="legend-key">CLINIC NAME <span class="overbooks">(<strong>Overbooks allowed per day</strong>)</span></p>
<% if (typeof clinic0 !== 'undefined') { %>
<div class="legend clinic0" data-overbooks="">
    <div class="icon-legend"></div>
    <span class="legend-text"><%- clinic0 %></span>
</div>
<% } %>
<% if (typeof clinic1 !== 'undefined') { %>
<div class="legend clinic1" data-overbooks="">
    <div class="icon-legend"></div>
    <span class="legend-text"><%- clinic1 %></span>
</div>
<% } %>
<% if (typeof clinic2 !== 'undefined') { %>
<div class="legend clinic2" data-overbooks="">
    <div class="icon-legend"></div>
    <span class="legend-text"><%- clinic2 %></span>
</div>
<% } %>
<% if (typeof clinic3 !== 'undefined') { %>
<div class="legend clinic3" data-overbooks="">
    <div class="icon-legend"></div>
    <span class="legend-text"><%- clinic3 %></span>
</div>
<% } %>
<% if (typeof clinic4 !== 'undefined') { %>
<div class="legend clinic4" data-overbooks="">
    <div class="icon-legend"></div>
    <span class="legend-text"><%- clinic4 %></span>
</div>
<% } %>
<div class="legend patient-appt hidden"><span class="legend-text">PATIENT APPT</span></div>