<?php /* Smarty version Smarty-3.1.11, created on 2024-11-06 05:02:46
         compiled from "../views/obgy/examination/newExamRow.html" */ ?>
<?php /*%%SmartyHeaderCode:1510732774672b68f64d8ad8-81501273%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ad2124a31acb20450788b99e134addf31471d6d2' => 
    array (
      0 => '../views/obgy/examination/newExamRow.html',
      1 => 1624530608,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1510732774672b68f64d8ad8-81501273',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ProgramesettingData' => 0,
    'username' => 0,
    'exmination_obj' => 0,
    'itr' => 0,
    'examinationhead' => 0,
    'data' => 0,
    'examinationchest' => 0,
    'examinationabdomen' => 0,
    'examinationpelvis' => 0,
    'examinationextremitis' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_672b68f65cd3b9_49290747',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_672b68f65cd3b9_49290747')) {function content_672b68f65cd3b9_49290747($_smarty_tpl) {?>
<div class="row clinick ltr" >

    <div class="col-md-1">
        <div class="">
            <label class="control-label col-md-2 "><?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?><?php echo $_smarty_tpl->tpl_vars['username']->value;?>
<?php }?></label>
        </div>
    </div>
</div>
<div class="row clinick ltr" >
    <div class="col-md-1 wds9">
        <div class="form-group form-md-line-input form-md-floating-label has-info">
            <input type="text" class="form-control updateElement datepicker" name="examinationdate" data-colName="examinationdate"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" value="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->examinationdate;?>
" data-tableName="examination" />
            <!--<label for="date">Date</label>-->
        </div>
    </div>


    <div class="col-md-2 anamez wds12">
        <div class="input-group">
            <span class="input-group-addon" style="padding: 6px 6px;">
                WT.
            </span>
            <input type="text" class="form-control updateElement txtc calcbm positivefloat" name="weight" id="weight<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-colName="weight"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" />
            <span class="input-group-addon" style="padding: 6px 6px;">
                KG
            </span>
        </div>
    </div>

    <div class="col-md-2 anamez wds12">
        <div class="input-group">
            <span class="input-group-addon" style="padding: 6px 6px;">HT.</span>
            <input type="text" class="form-control updateElement txtc calcbm positivefloat" name="height" id="height<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-colName="height"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
"  data-tableName="examination" />
            <label for="form_control_1"></label>
            <span class="input-group-addon" style="padding: 6px 6px;">M</span>
        </div>
    </div>

    <div class="col-md-2 anamez wds15">
        <div class="input-group">
            <span class="input-group-addon" style="padding: 6px 6px;">BMI</span>
            <input type="text" class="form-control updateElement txtc" name="bmi" data-colName="bmi" id="bmi<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" readonly="" />
            <label for="form_control_1"></label>
            <span class="input-group-addon" style="padding: 6px 6px;">Kg/ m²</span>

        </div>
    </div>

    <div class="col-md-2 anamez wds25">
        <div class="input-group">
            <span class="input-group-addon" style="padding: 6px 6px;">BP1</span>
            <input type="text" class="form-control updateElement bp_mask txtc" name="bP" data-colName="bP"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" />
            <label for="form_control_1"></label>
            <span class="input-group-addon" style="padding: 6px 6px;">BP2</span>
            <input type="text" class="form-control updateElement bp_mask txtc" name="bp2" data-colName="bp2"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" />
            <label for="form_control_1"></label>
            <span class="input-group-addon" style="padding: 6px 6px;">mmHg</span>
        </div>
    </div>

    <div class="col-md-2 anamez wds14">
        <div class="input-group">
            <span class="input-group-addon" style="padding: 6px 6px;">Pulse</span>
            <input type="text" class="form-control updateElement txtc" name="pulse" data-colName="pulse" data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" />
            <label for="form_control_1"></label>
            <span class="input-group-addon" style="padding: 6px 6px;">/min</span>
        </div>
    </div>

    <div class="col-md-2 anamez wds13">
        <div class="input-group">
            <span class="input-group-addon" style="padding: 6px 6px;">RGB </span>
            <input type="text" class="form-control updateElement txtc" name="rgb" data-colName="rgb" data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" />
            <label for="form_control_1"></label>
            <span class="input-group-addon" style="padding: 6px 6px;">mg/dl</span>
        </div>
    </div>



    <div class="col-md-12">
        <div class="col-md-2 wds20">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->head==1){?>
                <input type="text" class="form-control updateElement"  name="headandneck" data-colName="headandneck"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" value="" data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content=""/>
                <?php }else{ ?>

                <select class="form-control  updateElement  allupdateselect headandneck" id="examinationhead<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-val=""  name="headandneck" data-colName="headandneck" select-tableName="examinationhead"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['examinationhead']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
                    <?php } ?>

                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
                <?php }?>
                <label for="headandneck">Head and neck:</label>
            </div>
        </div>
        <div class="col-md-2 wds20">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->chest==1){?>
                <input type="text" class="form-control updateElement"  name="chestandheart" data-colName="chestandheart"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" value=""  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content=""/>
                <?php }else{ ?>

                <select class="form-control  updateElement  allupdateselect chestandheart" id="examinationchest<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-val=""  name="chestandheart" data-colName="chestandheart" select-tableName="examinationchest"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['examinationchest']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
                    <?php } ?>

                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
                <?php }?>
                <label for="chestandheart">Chest and heart:</label>
            </div>
        </div>
        <div class="col-md-2 wds20">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->abdomen==1){?>
                <input type="text" class="form-control updateElement"  name="abdomen" data-colName="abdomen"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" value="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->abdomen;?>
"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->abdomen;?>
"/>
                <?php }else{ ?>

                <select class="form-control  updateElement  allupdateselect abdomen" id="examinationabdomen<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-val="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->abdomen;?>
"  name="abdomen" data-colName="abdomen" select-tableName="examinationabdomen"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['examinationabdomen']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
                    <?php } ?>

                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
                <?php }?>
                <label for="Abdomen">Abdomen</label>
            </div>
        </div>

        <div class="col-md-2 wds20">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->pelvis==1){?>
                <input type="text" class="form-control updateElement"  name="pelvis" data-colName="pelvis"   data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" value="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->pelvis;?>
"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->pelvis;?>
"/>
                <?php }else{ ?>

                <select class="form-control  updateElement  allupdateselect pelvis" id="examinationpelvis<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-val="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->pelvis;?>
"  name="pelvis" data-colName="pelvis" select-tableName="examinationpelvis"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['examinationpelvis']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
                    <?php } ?>

                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
                <?php }?>
                <label for="examinationpelvis<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">Neck us</label>
            </div>
        </div>


        <div class="col-md-2 wds20">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->extremitis==1){?>
                <input type="text" class="form-control updateElement"  name="extremitis" data-colName="extremitis"   data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" value="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->extremitis;?>
"  data-toggle="popover" data-trigger="hover" data-placement="bottom" data-content="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->extremitis;?>
" />
                <?php }else{ ?>

                <select class="form-control  updateElement  allupdateselect extremitis" id="examinationextremitis<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-val="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->extremitis;?>
"  name="extremitis" data-colName="extremitis" select-tableName="examinationextremitis"  data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['examinationextremitis']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
                    <?php } ?>

                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
                <?php }?>
                <label for="Extremitis">Extremities</label>
            </div>
        </div>










        <button type="button" class="btn btn-xs red fright deleteExamination axedelete" data-id="<?php echo $_smarty_tpl->tpl_vars['exmination_obj']->value->id;?>
" data-tableName="examination"><i class="fa fa-close"></i></button>


    </div>
</div>


<script type="text/javascript" >

    jQuery.fn.forcepositiveNum = function () {

        return this.each(function () {
            $(this).keydown(function (e) {
                var key = e.which || e.keyCode;
                //alert(key);
                if (!e.shiftKey && !e.altKey && !e.ctrlKey &&
                        // numbers
                        key >= 48 && key <= 57 ||
                        // Numeric keypad
                        key >= 96 && key <= 105 ||
                        // comma, period and minus, . on keypad
                        //key == 190 || key == 188 || key == 109 || key == 110 ||
                        // Backspace and Tab and Enter
                        key == 8 || key == 9 || key == 13 ||
                        // Home and End
                        key == 35 || key == 36 ||
                        // left and right arrows
                        key == 37 || key == 39 ||
                        // Del and Ins
                        key == 46 || key == 45)
                    return true;

                return false;
            });
        });
    }

    jQuery.fn.forcepositivefloat = function () {

        return this.each(function () {
            $(this).keydown(function (e) {
                var key = e.which || e.keyCode;
                //alert(key);
                if (!e.shiftKey && !e.altKey && !e.ctrlKey &&
                        // numbers
                        key >= 48 && key <= 57 ||
                        // Numeric keypad
                        key >= 96 && key <= 105 ||
                        // comma, period and minus, . on keypad
                        //key == 190 || key == 188 || key == 109 || key == 110 ||
                        // Backspace and Tab and Enter
                        key == 8 || key == 9 || key == 13 ||
                        // Home and End
                        key == 35 || key == 36 ||
                        // left and right arrows
                        key == 37 || key == 39 ||
                        //dot or point  .  on keyboard  for one time
                                (key == 110 && $(this).val().indexOf(".") < 0) ||
                                // Del and Ins
                                key == 46 || key == 45)
                    return true;

                return false;
            });
        });
    }


    $(document).ready(function (e)
    {
        $(".positiveNo").forcepositiveNum();
        $(".positivefloat").forcepositivefloat();
    });


    $("input").focus(function () {
        var xlabel = $(this).parent('#div_exmination div').first().children('label').html();
        $(this).parent('#div_exmination div').first().children('label').hide()
        $(this).attr("placeholder", xlabel);
    });

</script>




<?php }} ?>