<div class="col-lg-3">
    <div class="card">
        <div class="card-header d-flex justify-content-between">
            <h6 class="card-header d-flex align-items-center">
                <i class="fa fa-medkit font-30 mr-10"></i>
                <?php echo $this->lang->line('diagnostic'); ?> <?php echo $this->lang->line('setting'); ?>
            </h6>
        </div>
        <ul class="list-group list-group-flush">
            <?php if (has_permission(VIEW, 'hospital', 'diagnostic')) { ?>
                <li class="list-group-item <?php echo $this->router->fetch_method() == 'department' || $this->router->fetch_method() == 'add_department' || $this->router->fetch_method() == 'edit_department' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'department' || $this->router->fetch_method() == 'add_department' || $this->router->fetch_method() == 'edit_department' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/diagnostic/department'); ?>"><i class="fa fa-building" aria-hidden="true"></i> <?php echo $this->lang->line('department'); ?></a>
                </li>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'group' || $this->router->fetch_method() == 'add_group' || $this->router->fetch_method() == 'edit_group' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'group' || $this->router->fetch_method() == 'add_group' || $this->router->fetch_method() == 'edit_group' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/diagnostic/group'); ?>"><i class="fa fa-group" aria-hidden="true"></i> <?php echo $this->lang->line('group'); ?></a>
                </li>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'test' || $this->router->fetch_method() == 'add_test' || $this->router->fetch_method() == 'edit_test' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'test' || $this->router->fetch_method() == 'add_test' || $this->router->fetch_method() == 'edit_test' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/diagnostic/test'); ?>"><i class="fa fa-h-square" aria-hidden="true"></i> <?php echo $this->lang->line('test'); ?></a>
                </li>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'price' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'price' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/diagnostic/price'); ?>"><i class="fa fa-pencil" aria-hidden="true"></i> <?php echo $this->lang->line('update'); ?> <?php echo $this->lang->line('test'); ?> <?php echo $this->lang->line('price'); ?></a>
                </li>

                <li class="list-group-item <?php echo $this->router->fetch_method() == 'tube' || $this->router->fetch_method() == 'add_tube' || $this->router->fetch_method() == 'edit_tube' ? 'active' : ''; ?>">
                    <a <?php echo $this->router->fetch_method() == 'tube' || $this->router->fetch_method() == 'add_tube' || $this->router->fetch_method() == 'edit_tube' ? 'class="text-white"' : ''; ?> href="<?php echo site_url('hospital/diagnostic/tube'); ?>"><i class="fa fa-flask" aria-hidden="true"></i> <?php echo $this->lang->line('tube'); ?></a>
                </li>
            <?php } ?>
        </ul>
    </div>
</div>