<style type="text/css">
  @media print {
    .hidden-print {
        display: none !important;
    }
    @page { margin: 0; } 
  }
</style>

<div class="row " id="tab-content">
    <div class="col-md-12">
        <div class="tabbable tabbable-custom ">
            <ul class="nav nav-tabs ">
           
              <?php 
              $get = $this->db->get_where('bbmc_tr_kunjungan', array('id_re_kunjungan'=>$id_re_kunjungan))->row();

              if($active == 'pemeriksaan_lab' || $active == 'radiologi'){
                
              ?>
                <li class="tmbh_pemeriksaans <?=$method=='tmbh_pemeriksaan'?'active':''?>" style="<?=$get_kunjungan->pemeriksaan_khusus==''?'display:none':''?>">
                    <a style="font-size:12px" <?=$method!='tmbh_pemeriksaan'?'href="'.site_url('front_office/'.$controller_dir.'ugd/tmbh_pemeriksaan/'.$id_re_pasien.'/'.$id_re_kunjungan.'/'.$active).'"':''?> aria-expanded="false">
                    <i class="fa fa-stethoscope"></i> Pemeriksaan Penunjang </a>
                </li>
              <?php }else{ ?>

                <li class="<?=$method=='info_pasien_diperiksa'?'active':''?>">
                    <a style="font-size:12px" <?=$method!='info_pasien_diperiksa'?'href="'.site_url('front_office/ugd_dir/ugd/info_pasien_diperiksa/'.$id_re_pasien.'/'.$id_re_kunjungan.'/'.$active).'"':''?> aria-expanded="true">
                    <i class="fa fa-info-circle"></i> Informasi Pasien </a>
                </li>
                <li class="<?=$method=='perawat_dokter_pemeriksa'?'active':''?>">
                    <a style="font-size:12px" <?=$method!='perawat_dokter_pemeriksa'?'href="'.site_url('front_office/'.$controller_dir.'ugd/perawat_dokter_pemeriksa/'.$id_re_pasien.'/'.$id_re_kunjungan.'/'.$active).'"':''?> aria-expanded="false">
                    <i class="fa fa-user-md"></i> Pemeriksaan Utama </a>
                </li>
                <li class="tmbh_pemeriksaans <?=$method=='tmbh_pemeriksaan'?'active':''?>" style="<?=$get_kunjungan->pemeriksaan_khusus==''?'display:none':''?>">
                    <a style="font-size:12px" <?=$method!='tmbh_pemeriksaan'?'href="'.site_url('front_office/'.$controller_dir.'ugd/tmbh_pemeriksaan/'.$id_re_pasien.'/'.$id_re_kunjungan.'/'.$active).'"':''?> aria-expanded="false">
                    <i class="fa fa-stethoscope"></i> Pemeriksaan Penunjang </a>
                </li>
                <li class="<?=$method=='diagnosa'?'active':''?>">
                    <a style="font-size:12px" <?=$method!='diagnosa'?'href="'.site_url('front_office/'.$controller_dir.'ugd/diagnosa/'.$id_re_pasien.'/'.$id_re_kunjungan.'/'.$active).'"':''?> aria-expanded="false">
                    <?php if($active == 'gigi'){ ?>
                    <i class="fa fa-book"></i> Odontogram &amp; Diagnosis </a>
                    <?php }else{ ?>
                    <i class="fa fa-eyedropper"></i> Diagnosis dan Tindakan </a>
                    <?php }?>
                </li>
                <li class="<?=$method=='obat'?'active':''?>">
                    <a style="font-size:12px" <?=$method!='obat'?'href="'.site_url('front_office/'.$controller_dir.'ugd/obat/'.$id_re_pasien.'/'.$id_re_kunjungan.'/'.$active).'"':''?> aria-expanded="false">
                    <i class="fa fa-medkit"></i> Medikasi / Obat </a>
                </li>
               
                <li class="<?=$method=='foto'?'active':''?>">
                    <a style="font-size:12px" <?=$method!='foto'?'href="'.site_url('front_office/'.$controller_dir.'ugd/foto/'.$id_re_pasien.'/'.$id_re_kunjungan.'/'.$active).'"':''?> aria-expanded="false">
                    <i class="fa fa-photo"></i> Foto </a>
                </li>
             

                <!--
                <li class="<?=$method=='biaya_pemeriksaan'?'active':''?>">
                    <a style="font-size:12px" <?=$method!='biaya_pemeriksaan'?'href="'.site_url('front_office/'.$controller_dir.'ugd/biaya_pemeriksaan/'.$id_re_pasien.'/'.$id_re_kunjungan.'/'.$active).'"':''?> aria-expanded="false">
                    <i class="fa fa-money"></i> Biaya Pemeriksaan </a>
                </li>
                -->
                <li class="<?=$method=='summary_progress'?'active':''?>">
                    <a style="font-size:12px" <?=$method!='summary_progress'?'href="'.site_url('front_office/'.$controller_dir.'ugd/summary_progress/'.$id_re_pasien.'/'.$id_re_kunjungan.'/'.$active).'"':''?> aria-expanded="false">
                    <i class="fa fa-pie-chart"></i> Ringkasan </a>
                </li>
              <?php }?>
              
            </ul>
            <div class="tab-content">
                <div class="tab-pane active">
                    <?php $this->load->view('front_office/'.$page_tab);?>
                </div>
            </div>
        </div>
    </div>
</div>