<aside class="main-sidebar theme-blue elevation-4">
	<a href="<?= site_url('dashboard'); ?>" class="brand-link">
		<span class="brand-text font-weight-bold">RS Poltekkes Kemenkes Semarang</span>
	</a>

	<div class="sidebar">
		<nav class="mt-2">
			<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview">
				<li class="nav-header">MENU UTAMA</li>

				<li class="nav-item">
					<a href="<?= site_url('dashboard'); ?>" class="nav-link">
						<i class="nav-icon fas fa-home"></i>
						<p>Dashboard</p>
					</a>
				</li>

				<li class="nav-item has-treeview">
					<a href="#" class="nav-link">
						<i class="nav-icon fas fa-user-check"></i>
						<p>Registrasi<i class="right fas fa-angle-left"></i></p>
					</a>
					<ul class="nav nav-treeview">
						<li class="nav-item">
							<a href="<?= site_url('registrasi'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Pendaftaran</p>
							</a>
						</li>
						<li class="nav-item">
							<a href="<?= site_url('poli'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Poli</p>
							</a>
						</li>
			
					</ul>
				</li>

				<li class="nav-item">
					<a href="<?= site_url('pelayanan'); ?>" class="nav-link">
						<i class="nav-icon fas fa-stethoscope"></i>
						<p>Pelayanan Klinik</p>
					</a>
				</li>

				<li class="nav-item">
					<a href="<?= site_url('kasir'); ?>" class="nav-link">
						<i class="nav-icon fas fa-cash-register"></i>
						<p>Kasir</p>
					</a>
				</li>

				<li class="nav-item has-treeview">
					<a href="#" class="nav-link">
						<i class="nav-icon fas fa-pills"></i>
						<p>Farmasi & Logistik<i class="right fas fa-angle-left"></i></p>
					</a>
					<ul class="nav nav-treeview">
						<li class="nav-item">
							<a href="<?= site_url('farmasi/resep'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Resep Farmasi</p>
							</a>
						</li>
						<li class="nav-item">
							<a href="<?= site_url('farmasi/master_obat'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Master Obat</p>
							</a>
						</li>
						<li class="nav-item">
							<a href="<?= site_url('farmasi/stok'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Stok Obat</p>
							</a>
						</li>
						<li class="nav-item">
							<a href="<?= site_url('farmasi/mutasi'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Mutasi Stok</p>
							</a>
						</li>
					</ul>
				</li>

				<li class="nav-item has-treeview">
					<a href="#" class="nav-link">
						<i class="nav-icon fas fa-window-restore"></i>
						<p>Loket<i class="right fas fa-angle-left"></i></p>
					</a>
					<ul class="nav nav-treeview">
						<li class="nav-item">
							<a href="<?= site_url('loket/loket_pendaftaran'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Loket Pendaftaran</p>
							</a>
						</li>
						<li class="nav-item">
							<a href="<?= site_url('loket/loket_poli'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Loket Poli</p>
							</a>
						</li>
						<li class="nav-item">
							<a href="<?= site_url('loket'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Loket</p>
							</a>
						</li>
					</ul>
				</li>

				<li class="nav-item has-treeview">
					<a href="#" class="nav-link">
						<i class="nav-icon fas fa-id-card"></i>
						<p>Data <i class="right fas fa-angle-left"></i></p>
					</a>
					<ul class="nav nav-treeview">
						<li class="nav-item">
							<a href="<?= site_url('pasien'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Data Pasien</p>
							</a>
						</li>
						<li class="nav-item">
							<a href="<?= site_url('petugas'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Data Petugas</p>
							</a>
						</li>
						<li class="nav-item">
							<a href="<?= site_url('tracking'); ?>" class="nav-link">
								<i class="far fa-circle nav-icon"></i>
								<p>Tracking Kunjungan</p>
							</a>
						</li>
					</ul>
				</li>

				<li class="nav-header">LAINNYA</li>
				<li class="nav-item">
					<a href="<?= site_url('auth/logout'); ?>" class="nav-link">
						<i class="nav-icon fas fa-sign-out-alt"></i>
						<p>Logout</p>
					</a>
				</li>
			</ul>
		</nav>
	</div>
</aside>
