<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 18:49:25
         compiled from "../views/obgy/case_summary_obstetric/general.html" */ ?>
<?php /*%%SmartyHeaderCode:8789090466856d485d1a846-92789326%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4db4f448a32afdadcb2d07a57cc3bee381e8ddfe' => 
    array (
      0 => '../views/obgy/case_summary_obstetric/general.html',
      1 => 1674729034,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '8789090466856d485d1a846-92789326',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'obstetric_case' => 0,
    'appearance' => 0,
    'one' => 0,
    'gaint' => 0,
    'vital_sign' => 0,
    'x' => 0,
    'sign' => 0,
    'controllname' => 0,
    'head' => 0,
    'neck' => 0,
    'breast' => 0,
    'chest' => 0,
    'limbs' => 0,
    'back' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6856d485d9b849_52674459',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6856d485d9b849_52674459')) {function content_6856d485d9b849_52674459($_smarty_tpl) {?><div class="portlet box purple">
    <div class="portlet-title">
        <div class="caption">General Examination </div>
        <div class="actions"></div>
        <div class="tools">
            <a href="#" class="collapse" title="تصغير / تكبير"></a>
        </div>
    </div>
    <div class="portlet-body">
        <div class="row">
            <div id="ultrasoundgynaDiv">
                <div class="row">
                    <div class="portlet-body form" >
                        <form>
                            <div class="form-body">
                                <table>
                                    <caption>          General condition  </caption>
                                    <tbody>

                                        <tr>
                                            <th class="wds10"> Appearance   :   </th>  
                                            <td>
                                                <select id="appearance<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control appearanceSelect updateElement"  data-colName="appearance"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"
                                                        name="appearance" select-tableName="appearance"   
                                                        data-tableName="obstetric_case" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['one'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['one']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['appearance']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['one']->key => $_smarty_tpl->tpl_vars['one']->value){
$_smarty_tpl->tpl_vars['one']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['one']->value->id;?>
"<?php if ($_smarty_tpl->tpl_vars['obstetric_case']->value->appearance==$_smarty_tpl->tpl_vars['one']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['one']->value->name;?>
</option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>

                                            <th class="wds10"> Gait   :   </th>  
                                            <td>
                                                <select id="gaint<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control gaintSelect updateElement"  data-colName="gaint"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"
                                                        name="gaint" select-tableName="gaint"   
                                                        data-tableName="obstetric_case" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['one'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['one']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['gaint']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['one']->key => $_smarty_tpl->tpl_vars['one']->value){
$_smarty_tpl->tpl_vars['one']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['one']->value->id;?>
"<?php if ($_smarty_tpl->tpl_vars['obstetric_case']->value->gaint==$_smarty_tpl->tpl_vars['one']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['one']->value->name;?>
</option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>
                                        </tr>
                                </table>

                                <table>
                                    <caption>          Vital signs  
                                        <button type="button" class="btn btn-xs blue addNewRow"  
                                                data-tableName="vital_sign" data-colName="sdate" data-isDate="1">
                                            <i class="fa fa-plus"></i> </button>
                                    </caption>
                                    <tbody id="vital_signContainer">
                                        <?php $_smarty_tpl->tpl_vars['x'] = new Smarty_variable(1, null, 0);?>
                                        <?php  $_smarty_tpl->tpl_vars['sign'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sign']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['vital_sign']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sign']->key => $_smarty_tpl->tpl_vars['sign']->value){
$_smarty_tpl->tpl_vars['sign']->_loop = true;
?>
                                        <?php if ($_smarty_tpl->tpl_vars['x']->value==1){?>
                                        <tr>
                                            <th class="wds19"> Date   </th>  
                                            <th class="wds19"> BP   </th>  
                                            <th class="wds19"> Pulse </th>
                                            <th class="wds19"> RR  </th>  
                                            <th class="wds19"> Temp  </th>  
                                            <th>   </th> 
                                        </tr>
                                        <?php }?>
                                        <tr>
                                            <td>
                                                <input type="text"   class="form-control updateElement datepicker"  
                                                       data-colName="sdate"   data-id="<?php echo $_smarty_tpl->tpl_vars['sign']->value->id;?>
" 
                                                       data-tableName="vital_sign"   value="<?php echo $_smarty_tpl->tpl_vars['sign']->value->sdate;?>
"/>
                                            </td>
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement bp_mask inline wds70" 
                                                       data-colName="bp" data-id="<?php echo $_smarty_tpl->tpl_vars['sign']->value->id;?>
" 
                                                       data-tableName="vital_sign" value="<?php echo $_smarty_tpl->tpl_vars['sign']->value->bp;?>
"/> 
                                                <span class="bold">mmHg</span>
                                            </td>
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="pulse" data-id="<?php echo $_smarty_tpl->tpl_vars['sign']->value->id;?>
" 
                                                       data-tableName="vital_sign" value="<?php echo $_smarty_tpl->tpl_vars['sign']->value->pulse;?>
"/> 
                                                <span class="bold">bpm</span>
                                            </td>
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="rr" data-id="<?php echo $_smarty_tpl->tpl_vars['sign']->value->id;?>
" 
                                                       data-tableName="vital_sign" value="<?php echo $_smarty_tpl->tpl_vars['sign']->value->rr;?>
"/> 
                                                <span class="bold"> /min</span>
                                            </td>
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="temp" data-id="<?php echo $_smarty_tpl->tpl_vars['sign']->value->id;?>
" 
                                                       data-tableName="vital_sign" value="<?php echo $_smarty_tpl->tpl_vars['sign']->value->temp;?>
"/> 
                                                <span class="bold">C</span>
                                            </td>
                                            <td>
                                                <a class="btn grey-cascade btn-xs deletemsgEX2" data-id="<?php echo $_smarty_tpl->tpl_vars['sign']->value->id;?>
" 
                                                   data-link="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
"  data-fn="del" data-tableName="vital_sign" 
                                                   data-colName="deleted">
                                                    <i class="fa fa-times"></i> </a>
                                            </td>
                                        </tr>
                                        <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'x', null); ob_start(); ?><?php echo $_smarty_tpl->tpl_vars['x']->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 } ?>
                                </table>

                                <table>
                                    <caption>          Systemic examniation  </caption>
                                    <tbody>
                                        <tr>
                                            <th class="wds10"> Head   :   </th>  
                                            <td>
                                                <select id="head<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control headSelect updateElement"  data-colName="head"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"
                                                        name="head" select-tableName="head"   
                                                        data-tableName="obstetric_case" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['one'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['one']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['head']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['one']->key => $_smarty_tpl->tpl_vars['one']->value){
$_smarty_tpl->tpl_vars['one']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['one']->value->id;?>
"<?php if ($_smarty_tpl->tpl_vars['obstetric_case']->value->head==$_smarty_tpl->tpl_vars['one']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['one']->value->name;?>
</option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>

                                            <th class="wds10"> Neck   :   </th>  
                                            <td>
                                                <select id="neck<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control neckSelect updateElement"  data-colName="neck"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"
                                                        name="neck" select-tableName="neck"   
                                                        data-tableName="obstetric_case" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['one'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['one']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['neck']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['one']->key => $_smarty_tpl->tpl_vars['one']->value){
$_smarty_tpl->tpl_vars['one']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['one']->value->id;?>
"<?php if ($_smarty_tpl->tpl_vars['obstetric_case']->value->neck==$_smarty_tpl->tpl_vars['one']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['one']->value->name;?>
</option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>

                                            <th class="wds10"> Breast   :   </th>  
                                            <td>
                                                <select id="breast<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control breastSelect updateElement"  data-colName="breast"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"
                                                        name="breast" select-tableName="breast"   
                                                        data-tableName="obstetric_case" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['one'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['one']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['breast']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['one']->key => $_smarty_tpl->tpl_vars['one']->value){
$_smarty_tpl->tpl_vars['one']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['one']->value->id;?>
"<?php if ($_smarty_tpl->tpl_vars['obstetric_case']->value->breast==$_smarty_tpl->tpl_vars['one']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['one']->value->name;?>
</option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>
                                        </tr>

                                        <tr>
                                            <th class="wds10"> Chest   :   </th>  
                                            <td>
                                                <select id="chest<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control chestSelect updateElement"  data-colName="chest"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"
                                                        name="chest" select-tableName="chest"   
                                                        data-tableName="obstetric_case" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['one'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['one']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['chest']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['one']->key => $_smarty_tpl->tpl_vars['one']->value){
$_smarty_tpl->tpl_vars['one']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['one']->value->id;?>
"<?php if ($_smarty_tpl->tpl_vars['obstetric_case']->value->chest==$_smarty_tpl->tpl_vars['one']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['one']->value->name;?>
</option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>

                                            <th class="wds10"> Limbs   :   </th>  
                                            <td>
                                                <select id="limbs<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control limbsSelect updateElement"  data-colName="limbs"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"
                                                        name="limbs" select-tableName="limbs"   
                                                        data-tableName="obstetric_case" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['one'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['one']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['limbs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['one']->key => $_smarty_tpl->tpl_vars['one']->value){
$_smarty_tpl->tpl_vars['one']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['one']->value->id;?>
"<?php if ($_smarty_tpl->tpl_vars['obstetric_case']->value->limbs==$_smarty_tpl->tpl_vars['one']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['one']->value->name;?>
</option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>

                                            <th class="wds10"> Back   :   </th>  
                                            <td>
                                                <select id="back<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control backSelect updateElement"  data-colName="back"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"
                                                        name="back" select-tableName="back"   
                                                        data-tableName="obstetric_case" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['one'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['one']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['back']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['one']->key => $_smarty_tpl->tpl_vars['one']->value){
$_smarty_tpl->tpl_vars['one']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['one']->value->id;?>
"<?php if ($_smarty_tpl->tpl_vars['obstetric_case']->value->back==$_smarty_tpl->tpl_vars['one']->value->id){?>selected<?php }?>><?php echo $_smarty_tpl->tpl_vars['one']->value->name;?>
</option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>
                                        </tr>
                                </table>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</div><?php }} ?>