<?php /* Smarty version Smarty-3.1.11, created on 2025-01-25 13:36:14
         compiled from "../views/obgy/today_list/add.html" */ ?>
<?php /*%%SmartyHeaderCode:9185792206794ccae3694a1-53041330%%*/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 => 1692419274,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9185792206794ccae3694a1-53041330',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'visits' => 0,
    'value' => 0,
    'hosturl' => 0,
    'roles' => 0,
    'role' => 0,
    'i' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6794ccae41b254_30448592',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6794ccae41b254_30448592')) {function content_6794ccae41b254_30448592($_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 }} ?>