<div data-role="navbar" data-theme="b">
	<ul class="username-bar">
		<li id="footer-patientname" class="username-bar-secondary">
			<% if (typeof patient !== 'undefined') { %>
				<%if (typeof patient.get('displayName') !== 'undefined' && patient.get('displayName')) {%>
					<%= patient.get('displayName') %> <span>-</span>
				<%}%> 
				<%if (typeof patient.get('gender') !== 'undefined' && patient.get('gender')) {%>
					<%= patient.get('gender') %> <span>-</span>  
				<%}%> 
				<%if (typeof patient.get('ssn') !== 'undefined' && patient.get('ssn')) {%>
					<%= patient.get('ssn') %> <span>-</span>  
				<%}%> 
				<%if (typeof patient.get('dateOfBirth') !== 'undefined' && patient.get('dateOfBirth')) {%>
					<%= formatDate(patient.get('dateOfBirth')) %> <span>-</span>
				<%}%> 
				<%if (typeof patient.get('age') !== 'undefined' && patient.get('age')) {%>
					<%= patient.get('age') %> 
				<%}%> 
			<% }%>
		</li>
		<li id="footer-username" class="username-bar-primary">
			<% if (typeof user === 'undefined' || user === null) { %>
				Not logged in
			<% } else { %>
				<span>Logged in as </span><%= user.displayName %> <%if (typeof user.facilityName !== 'undefined' && user.facilityName) {%><span>-</span> <%= user.facilityName %><%}%> 
			<% }%>
		</li>
	</ul>
</div><!-- /navbar -->