<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 18:49:25
         compiled from "../views/obgy/case_summary_obstetric/abdominal.html" */ ?>
<?php /*%%SmartyHeaderCode:6707051716856d485da08a4-99367100%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '76ca13f057ed063a00b18646678b1a5b93ae8edb' => 
    array (
      0 => '../views/obgy/case_summary_obstetric/abdominal.html',
      1 => 1675246328,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6707051716856d485da08a4-99367100',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'obstetric_case' => 0,
    'contour' => 0,
    'one' => 0,
    'skin' => 0,
    'abdominal' => 0,
    'umbilicus' => 0,
    'subcostal' => 0,
    'divarication' => 0,
    'hair' => 0,
    'superficial' => 0,
    'deep_palpation' => 0,
    'fundal_level' => 0,
    'fundal_grip' => 0,
    'umbilical_grip' => 0,
    'pelvicf' => 0,
    'pelvics' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6856d485ec3386_64785971',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6856d485ec3386_64785971')) {function content_6856d485ec3386_64785971($_smarty_tpl) {?><div class="portlet box purple">
    <div class="portlet-title">
        <div class="caption">Abdominal 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>          Inspection  </caption>
                                    <tbody>

                                        <tr>
                                            <th class="wds17"> Contour   :   </th>  
                                            <td>
                                                <select id="contour<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control contourSelect updateElement"  data-colName="contour"
                                                        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="contour" select-tableName="contour"   
                                                        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['contour']->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->contour==$_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="wds17"> Skin   :   </th>  
                                            <td>
                                                <select id="skin<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control skinSelect updateElement"  data-colName="skin"
                                                        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="skin" select-tableName="skin"   
                                                        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['skin']->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->skin==$_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="wds17"> abdominal wall edema   :   </th>  
                                            <td>
                                                <select id="abdominal<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control abdominalSelect updateElement"  data-colName="abdominal"
                                                        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="abdominal" select-tableName="abdominal"   
                                                        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['abdominal']->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->abdominal==$_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>
                                            </td>

                                            <th class="wds17"> Umbilicus   :   </th>  
                                            <td>
                                                <select id="umbilicus<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control umbilicusSelect updateElement"  data-colName="umbilicus"
                                                        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="umbilicus" select-tableName="umbilicus"   
                                                        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['umbilicus']->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->umbilicus==$_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="wds17"> Subcostal angle   :   </th>  
                                            <td>
                                                <select id="subcostal<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control subcostalSelect updateElement"  data-colName="subcostal"
                                                        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="subcostal" select-tableName="subcostal"   
                                                        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['subcostal']->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->subcostal==$_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="wds17"> Divarication of recti   :   </th>  
                                            <td>
                                                <select id="divarication<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control divaricationSelect updateElement"  data-colName="divarication"
                                                        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="divarication" select-tableName="divarication"   
                                                        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['divarication']->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->divarication==$_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="wds17"> Pubic hair distribution   :   </th>  
                                            <td colspan="3">
                                                <select id="hair<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control hairSelect updateElement"  data-colName="hair"
                                                        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="hair" select-tableName="hair"   
                                                        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['hair']->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->hair==$_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>          Palpation  </caption>
                                    <tbody>
                                        <tr>
                                            <th class="wds15"> Superficial palpation   :   </th>  
                                            <td colspan="5">
                                                <select id="superficial<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control superficialSelect updateElement"  data-colName="superficial"
                                                        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="superficial" select-tableName="superficial"   
                                                        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['superficial']->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->superficial==$_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="wds15"> Deep palpation   :   </th>  
                                            <td colspan="5">
                                                <select id="deep_palpation<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control deep_palpationSelect updateElement"  data-colName="deep_palpation"
                                                        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="deep_palpation" select-tableName="deep_palpation"   
                                                        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['deep_palpation']->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->deep_palpation==$_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 colspan="6" class="txtl"> Obstetric palpation   :   </th>  
                                        </tr>

                                        <tr>
                                            <th class="wds15"> Fundal level   :   </th>  
                                            <td class="wds18">
                                                <select id="fundal_level<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control fundal_levelSelect updateElement"  data-colName="fundal_level"
                                                        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="fundal_level" select-tableName="fundal_level"   
                                                        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['fundal_level']->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->fundal_level==$_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="wds15"> Fundal grip   :   </th>  
                                            <td class="wds18">
                                                <select id="fundal_grip<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control fundal_gripSelect updateElement"  data-colName="fundal_grip"
                                                        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="fundal_grip" select-tableName="fundal_grip"   
                                                        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['fundal_grip']->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->fundal_grip==$_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="wds15"> Umbilical grip   :   </th>  
                                            <td class="wds18">
                                                <select id="umbilical_grip<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control umbilical_gripSelect updateElement"  data-colName="umbilical_grip"
                                                        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="umbilical_grip" select-tableName="umbilical_grip"   
                                                        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['umbilical_grip']->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->umbilical_grip==$_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="wds15"> 1st pelvic grip  :   </th>  
                                            <td colspan="2">
                                                <select id="pelvicf<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control pelvicfSelect updateElement"  data-colName="pelvicf"
                                                        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="pelvicf" select-tableName="pelvicf"   
                                                        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['pelvicf']->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->pelvicf==$_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="wds15"> 2nd pelvic grip  :   </th>  
                                            <td colspan="2">
                                                <select id="pelvics<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
"  
                                                        class="form-control pelvicsSelect updateElement"  data-colName="pelvics"
                                                        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="pelvics" select-tableName="pelvics"   
                                                        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['pelvics']->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->pelvics==$_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 colspan="6" class="txtl"> Auscultation   :   </th>  
                                        </tr>

                                        <tr>
                                            <th class="wds12"> FHS   :   </th>  
                                            <td class="wds17" colspan="2">
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="fhs" data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->id;?>
" 
                                                       data-tableName="obstetric_case" value="<?php echo $_smarty_tpl->tpl_vars['obstetric_case']->value->fhs;?>
"/> 
                                                <span class="bold">   /bpm</span>

                                            </td>
                                        </tr>
                                </table>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</div><?php }} ?>