<?php /* Smarty version Smarty-3.1.11, created on 2023-09-02 13:35:05
         compiled from "../views/obgy/today_list/add.html" */ ?>
<?php /*%%SmartyHeaderCode:17439336064d13c29c9f715-03940638%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '62dafa4ee866e3a5a43c1d94580c405a2d6f0393' => 
    array (
      0 => '../views/obgy/today_list/add.html',
      1 => 1692219158,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17439336064d13c29c9f715-03940638',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_64d13c29d1d169_41741890',
  'variables' => 
  array (
    'visits' => 0,
    'value' => 0,
    'hosturl' => 0,
    'roles' => 0,
    'role' => 0,
    'i' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_64d13c29d1d169_41741890')) {function content_64d13c29d1d169_41741890($_smarty_tpl) {?>
<div class="page-content-wrapper">
    <div class="page-content">
        <div class="row clinick">

            <div class="col-md-4 wds33">
                <div class="portlet box blue-soft ">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="fa fa-user"></i>Today's List
                        </div>
                    </div>
                    <div class="portlet-body">
                        <div class="scroller"  data-always-visible="1" data-rail-visible="0">
                            <ul id="today_list" class="list-group sortable "  style="padding-bottom: 15px; min-height: 55px;">
                                <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['visits']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
$_smarty_tpl->tpl_vars['value']->_loop = true;
?>
                                <li id="item_<?php echo $_smarty_tpl->tpl_vars['value']->value->id;?>
" class="ainli" style="text-align: left;">
                                    <?php echo $_smarty_tpl->tpl_vars['value']->value->patientName;?>

                                    <audio id="patAudio<?php echo $_smarty_tpl->tpl_vars['value']->value->id;?>
"  style="display: none;"
                                           controls  src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/patientrecords/<?php echo $_smarty_tpl->tpl_vars['value']->value->patientId;?>
.<?php echo $_smarty_tpl->tpl_vars['value']->value->voiceExt;?>
"> 
                                    </audio>
                                    <a  class="btn green-haze btn-xs fright enterClinic" id="enterClinic<?php echo $_smarty_tpl->tpl_vars['value']->value->id;?>
" 
                                        style="display: none;" data-id="<?php echo $_smarty_tpl->tpl_vars['value']->value->id;?>
">
                                        <i class="fa fa-sign-in"></i>
                                    </a>
                                </li>
                                <?php } ?>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>

            <div class="col-md-8 wds66">
                <div class="row">
                    <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                    <?php  $_smarty_tpl->tpl_vars['role'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['role']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['roles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['role']->key => $_smarty_tpl->tpl_vars['role']->value){
$_smarty_tpl->tpl_vars['role']->_loop = true;
?>
                    <div class="portlet box blue-soft col-md-6 wds49" style="    margin: 0px 5px 5px 5px;">
                        <div class="portlet-title">
                            <div class="caption"><?php echo $_smarty_tpl->tpl_vars['role']->value->name;?>
  ( <?php echo $_smarty_tpl->tpl_vars['role']->value->doctor_name;?>
 )  </div>
                            <div class="caption fright">
                                <a  class="btn red-flamingo btn-xs fright exitClinic" 
                                    id="exitClinic<?php echo $_smarty_tpl->tpl_vars['role']->value->id;?>
"   data-id="<?php echo $_smarty_tpl->tpl_vars['role']->value->id;?>
">
                                    Exit <i class="fa fa-sign-out"></i>
                                </a>
                            </div>
                            <audio id="roleAudio<?php echo $_smarty_tpl->tpl_vars['role']->value->id;?>
"  style="display: none;"
                                   controls  src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/clinicrecords/<?php echo $_smarty_tpl->tpl_vars['role']->value->id;?>
.wav"> 
                            </audio>
                        </div>

                        <div class="portlet-title" style="    background-color: #bdd5e8;">
                            <div class="caption"  style="color: black;"
                                 id="roleCurrentPatient<?php echo $_smarty_tpl->tpl_vars['role']->value->id;?>
">Current  :  <?php echo $_smarty_tpl->tpl_vars['role']->value->roleCurrentPatient;?>
   </div>
                        </div>
                        <div class="portlet-body">
                            <div class="scroller"  data-always-visible="1" data-rail-visible="0">
                                <ul id="dept<?php echo $_smarty_tpl->tpl_vars['role']->value->id;?>
_list" class="list-group sortable attendDepts "  data-id="<?php echo $_smarty_tpl->tpl_vars['role']->value->id;?>
"
                                    style="padding-bottom: 15px; min-height: 55px;">
                                    <?php  $_smarty_tpl->tpl_vars['value'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['value']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['role']->value->visits; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['value']->key => $_smarty_tpl->tpl_vars['value']->value){
$_smarty_tpl->tpl_vars['value']->_loop = true;
?>
                                    <li id="item_<?php echo $_smarty_tpl->tpl_vars['value']->value->id;?>
" class="ainli" style="text-align: left;">
                                        <?php echo $_smarty_tpl->tpl_vars['value']->value->patientName;?>

                                        <audio id="patAudio<?php echo $_smarty_tpl->tpl_vars['value']->value->id;?>
"  style="display: none;"
                                               controls  src="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/../upload/patientrecords/<?php echo $_smarty_tpl->tpl_vars['value']->value->patientId;?>
.<?php echo $_smarty_tpl->tpl_vars['value']->value->voiceExt;?>
"> 
                                        </audio>
                                        <a  class="btn green-haze btn-xs fright enterClinic" 
                                            id="enterClinic<?php echo $_smarty_tpl->tpl_vars['value']->value->id;?>
"   data-id="<?php echo $_smarty_tpl->tpl_vars['value']->value->id;?>
">
                                            <i class="fa fa-sign-in"></i>
                                        </a>
                                    </li>
                                    <?php } ?>
                                </ul>
                            </div>
                        </div>
                    </div>

                    <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'i', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['i']->value+1;?>
<?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
if (!empty($_capture_buffer)) {
 if (isset($_capture_assign)) $_smarty_tpl->assign($_capture_assign, ob_get_contents());
 if (isset( $_capture_append)) $_smarty_tpl->append( $_capture_append, ob_get_contents());
 Smarty::$_smarty_vars['capture'][$_capture_buffer]=ob_get_clean();
} else $_smarty_tpl->capture_error();?>
                    <?php if ($_smarty_tpl->tpl_vars['i']->value==3){?>
                </div>
                <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(1, null, 0);?>
                <div class="row">
                    <?php }?>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>



<?php }} ?>