<?php /* Smarty version Smarty-3.1.11, created on 2024-08-26 08:47:20
         compiled from "../views/obgy/patienthistory/newPastMedicalRow.html" */ ?>
<?php /*%%SmartyHeaderCode:153027072066cca3889bd6b2-66960056%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '0dbfc98774657d5c32ddc35a2bbfc1a94068f973' => 
    array (
      0 => '../views/obgy/patienthistory/newPastMedicalRow.html',
      1 => 1542464114,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '153027072066cca3889bd6b2-66960056',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ProgramesettingData' => 0,
    'username' => 0,
    'itr' => 0,
    'phpastmedical_obj' => 0,
    'allphpastmedicaldisease' => 0,
    'myallphpastmedicaldisease' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66cca388a12d67_67511684',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66cca388a12d67_67511684')) {function content_66cca388a12d67_67511684($_smarty_tpl) {?>
<div>
    <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?>
    <div class="row ltr" >
        <div class="col-md-1">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <label class="control-label col-md-2 "><?php echo $_smarty_tpl->tpl_vars['username']->value;?>
</label>
            </div>
        </div>
    </div>
    <?php }?>
    <div class="row ltr" >
        <div class="col-md-3">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Disease</label>-->
                <select  class="form-control  medicaldisease updateElement allupdateselect" id="medicaldisease<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="medicaldisease" data-colName="medicaldisease" select-tableName="phpastmedicaldisease" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastmedical_obj']->value->id;?>
" data-tableName="phpastmedical" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['myallphpastmedicaldisease'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphpastmedicaldisease']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphpastmedicaldisease']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphpastmedicaldisease']->key => $_smarty_tpl->tpl_vars['myallphpastmedicaldisease']->value){
$_smarty_tpl->tpl_vars['myallphpastmedicaldisease']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['myallphpastmedicaldisease']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['myallphpastmedicaldisease']->value->name;?>
 </option>
                    <?php } ?>
                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
            </div>
        </div>



        <div class="col-md-9">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <div class="form-group form-md-line-input form-md-floating-label has-info">
                    <input type="text" class="amrpop form-control updateElement"  name="medicalnote" data-colName="medicalnote" placeholder="Note" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastmedical_obj']->value->id;?>
"  data-tableName="phpastmedical"/>
                </div>
                <button type="button" class="btn btn-xs red fright deleteElement delbtnsml" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastmedical_obj']->value->id;?>
" data-tableName="phpastmedical"><i class="fa fa-close"></i></button>
            </div>
        </div>

    </div>
</div><?php }} ?>