<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 18:49:26
         compiled from "../views/obgy/case_summary_obstetric/obs.html" */ ?>
<?php /*%%SmartyHeaderCode:8066901776856d4860ede35-73522974%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1d939e4b51d6f6cc5c0a594a54e09a5e35328851' => 
    array (
      0 => '../views/obgy/case_summary_obstetric/obs.html',
      1 => 1675246662,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '8066901776856d4860ede35-73522974',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'obstetric_case_ex' => 0,
    'obs_no' => 0,
    'one' => 0,
    'viability' => 0,
    'fetal_gender' => 0,
    'presentation' => 0,
    'liquor' => 0,
    'placenta_site' => 0,
    'placenta_abnormalites' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6856d4861532e1_05312847',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6856d4861532e1_05312847')) {function content_6856d4861532e1_05312847($_smarty_tpl) {?><div class="portlet box purple">
    <div class="portlet-title">
        <div class="caption">Obs. U\S </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>
                                    <tbody>
                                        <tr>
                                            <th class="wds15"> No   :   </th>  
                                            <td>
                                                <select id="obs_no<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  
                                                        class="form-control obs_noSelect updateElement"  data-colName="obs_no"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"
                                                        name="obs_no" select-tableName="obs_no"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <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['obs_no']->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_ex']->value->obs_no==$_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"> Viability   :   </th>  
                                            <td>
                                                <select id="viability<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  
                                                        class="form-control viabilitySelect updateElement"  data-colName="viability"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"
                                                        name="viability" select-tableName="viability"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <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['viability']->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_ex']->value->viability==$_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"> Fetal gender   :   </th>  
                                            <td>
                                                <select id="fetal_gender<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  
                                                        class="form-control fetal_genderSelect updateElement"  data-colName="fetal_gender"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"
                                                        name="fetal_gender" select-tableName="fetal_gender"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <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['fetal_gender']->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_ex']->value->fetal_gender==$_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>
                                    </tbody>
                                </table>

                                <table>
                                    <tbody>
                                        <tr>
                                            <th class="wds15"> Presentation   :   </th>  
                                            <td>
                                                <select id="presentation<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  
                                                        class="form-control presentationSelect updateElement"  data-colName="presentation"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"
                                                        name="presentation" select-tableName="presentation"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <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['presentation']->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_ex']->value->presentation==$_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"> Liquor   :   </th>  
                                            <td>
                                                <select id="liquor<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  
                                                        class="form-control liquorSelect updateElement"  data-colName="liquor"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"
                                                        name="liquor" select-tableName="liquor"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <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['liquor']->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_ex']->value->liquor==$_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>
                                    </tbody>
                                </table>

                                <table>
                                    <tbody>
                                        <tr>
                                            <th class="wds15"> Placenta   :   </th>  

                                            <th class="wds15"> Site   :   </th>  
                                            <td>
                                                <select id="placenta_site<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  
                                                        class="form-control placenta_siteSelect updateElement"  
                                                        data-colName="placenta_site"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"
                                                        name="placenta_site" select-tableName="placenta_site"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <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['placenta_site']->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_ex']->value->placenta_site==$_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"> Abnormalites   :   </th>  
                                            <td>
                                                <select id="placenta_abnormalites<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  
                                                        class="form-control placenta_abnormalitesSelect updateElement"  
                                                        data-colName="placenta_abnormalites"
                                                        data-rowid="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
"
                                                        name="placenta_abnormalites" select-tableName="placenta_abnormalites"   
                                                        data-tableName="obstetric_case_ex" >
                                                    <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['placenta_abnormalites']->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_ex']->value->placenta_abnormalites==$_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>
                                    </tbody>
                                </table>


                                <table>
                                    <tbody>
                                        <tr>
                                            <th colspan="6" class="txtl">  Fetal Biometry   :   </th>  
                                        </tr>
                                        <tr>
                                            <th class="wds15"> BPD   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="bpd" data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
" 
                                                       data-tableName="obstetric_case_ex" value="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->bpd;?>
"/> 
                                                <span class="bold">   W</span>

                                            </td>

                                            <th class="wds15"> FL   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="fl" data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
" 
                                                       data-tableName="obstetric_case_ex" value="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->fl;?>
"/> 
                                                <span class="bold">   W</span>

                                            </td>

                                            <th class="wds15"> AC   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="ac" data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
" 
                                                       data-tableName="obstetric_case_ex" value="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->ac;?>
"/> 
                                                <span class="bold">   W</span>

                                            </td>
                                        </tr>
                                        <tr>
                                            <th class="wds15"> Average G.A   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="ga" data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
" 
                                                       data-tableName="obstetric_case_ex" value="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->ga;?>
"/> 
                                                <span class="bold">   W</span>

                                            </td>

                                            <th class="wds15"> EFW   :   </th>  
                                            <td>
                                                <input type="text" class="amrpop form-control updateElement inline wds70" 
                                                       data-colName="efw" data-id="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->id;?>
" 
                                                       data-tableName="obstetric_case_ex" value="<?php echo $_smarty_tpl->tpl_vars['obstetric_case_ex']->value->efw;?>
"/> 
                                                <span class="bold">   gm</span>

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