<% if (typeof selectedVisitType !== "undefined" && selectedVisitType !== null) { %> <% } %>