<?php /* Smarty version Smarty-3.1.11, created on 2025-06-21 18:49:24
         compiled from "../views/obgy/case_summary_obstetric/menstrual.html" */ ?>
<?php /*%%SmartyHeaderCode:17683334136856d484d3dd20-49500470%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9205048d0e795dfa0f61a84c8459dc0d94113873' => 
    array (
      0 => '../views/obgy/case_summary_obstetric/menstrual.html',
      1 => 1674633014,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '17683334136856d484d3dd20-49500470',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'phmenstrual' => 0,
    'allphregualrity' => 0,
    'myallphregualrity' => 0,
    'allphamount' => 0,
    'myallphamount' => 0,
    'allphdysmenorrhoea' => 0,
    'myallphdysmenorrhoea' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_6856d484daba39_69484844',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_6856d484daba39_69484844')) {function content_6856d484daba39_69484844($_smarty_tpl) {?><div class="portlet box purple">
    <div class="portlet-title">
        <div class="caption">Menstrual History </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">
                                <input type="hidden" id="menstrual_itr"  value="1"  />
                                <table>
                                    <thead>
                                        <tr>
                                            <th class="wds8"> Menarche </th>
                                            <th class="wds8"> Duration </th>
                                            <th class="wds8"> Length </th>
                                            <th class="wds16"> Regularity </th>
                                            <th class="wds21"> Amount </th>
                                            <th class="wds20"> Dysmenorrhoea </th>
                                            <th class="wds9"> LMP </th>
                                            <th class="wds9"> EDD </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td>
                                                <input type="text" placeholder="Menarche" class="form-control updateElement"  
                                                       name="menarche" data-colName="menarche"  
                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->id;?>
" data-tableName="phmenstrual" 
                                                       value="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->menarche;?>
"/>
                                            </td>
                                            <td>
                                                <input type="text" placeholder="Duration" class="form-control updateElement"  
                                                       name="duration" data-colName="duration" data-id="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->id;?>
" 
                                                       data-tableName="phmenstrual" value="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->duration;?>
" />
                                            </td>
                                            <td>
                                                <input type="text" placeholder="Length" class="form-control updateElement"  
                                                       name="length" data-colName="length"  data-id="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->id;?>
"
                                                       data-tableName="phmenstrual" value="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->length;?>
" />
                                            </td>
                                            <td>
                                                <select class="form-control  updateElement phregularity allupdateselect" 
                                                        id="phregularity1" data-val="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phregularity;?>
" 
                                                        data-itr="1" name="phregularity" select-tableName="phregularity" 
                                                        data-colName="phregularity"  data-id="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->id;?>
" 
                                                        data-tableName="phmenstrual"  >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['myallphregualrity'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphregualrity']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphregualrity']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphregualrity']->key => $_smarty_tpl->tpl_vars['myallphregualrity']->value){
$_smarty_tpl->tpl_vars['myallphregualrity']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['myallphregualrity']->value->id;?>
" <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['myallphregualrity']->value->id;?>
<?php $_tmp1=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phregularity;?>
<?php $_tmp2=ob_get_clean();?><?php if ($_tmp1==$_tmp2){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['myallphregualrity']->value->name;?>
 </option>
                                                    <?php } ?>

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

                                                </select>
                                            </td>
                                            <td>
                                                <select class="form-control  updateElement phamount allupdateselect" 
                                                        id="phamount1" data-itr="1" data-val="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phamount;?>
"  
                                                        name="phamount" data-colName="phamount" select-tableName="phamount"  
                                                        data-id="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->id;?>
" data-tableName="phmenstrual" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['myallphamount'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphamount']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphamount']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphamount']->key => $_smarty_tpl->tpl_vars['myallphamount']->value){
$_smarty_tpl->tpl_vars['myallphamount']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['myallphamount']->value->id;?>
" <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['myallphamount']->value->id;?>
<?php $_tmp3=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phamount;?>
<?php $_tmp4=ob_get_clean();?><?php if ($_tmp3==$_tmp4){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['myallphamount']->value->name;?>
 </option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>
                                            <td>
                                                <select class="form-control  updateElement phdysmenorrhoea allupdateselect" 
                                                        id="phdysmenorrhoea1" data-itr="1" 
                                                        data-val="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phdysmenorrhoea;?>
" name="phdysmenorrhoea" 
                                                        select-tableName="phdysmenorrhoea" data-colName="phdysmenorrhoea"  
                                                        data-id="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->id;?>
" data-tableName="phmenstrual" >
                                                    <option value="">choose</option>
                                                    <?php  $_smarty_tpl->tpl_vars['myallphdysmenorrhoea'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphdysmenorrhoea']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphdysmenorrhoea']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphdysmenorrhoea']->key => $_smarty_tpl->tpl_vars['myallphdysmenorrhoea']->value){
$_smarty_tpl->tpl_vars['myallphdysmenorrhoea']->_loop = true;
?>
                                                    <option value="<?php echo $_smarty_tpl->tpl_vars['myallphdysmenorrhoea']->value->id;?>
" <?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['myallphdysmenorrhoea']->value->id;?>
<?php $_tmp5=ob_get_clean();?><?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phdysmenorrhoea;?>
<?php $_tmp6=ob_get_clean();?><?php if ($_tmp5==$_tmp6){?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['myallphdysmenorrhoea']->value->name;?>
 </option>
                                                    <?php } ?>

                                                    <option value="-2" class="deleteoptincompo">Delete</option>
                                                </select>
                                            </td>
                                            <td>
                                                <input type="text" placeholder="LMP" name="phl_mp"   id="phl_mp"
                                                       class="form-control updateElement datepicker"  data-colName="phl_mp"  
                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->id;?>
" data-tableName="phmenstrual" 
                                                       value="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->phl_mp;?>
"/>
                                            </td>
                                            <td>
                                                <input type="text" placeholder="LMP" name="edd"   id="edd"
                                                       class="form-control updateElement datepicker"  data-colName="edd"  
                                                       data-id="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->id;?>
" data-tableName="phmenstrual" 
                                                       value="<?php echo $_smarty_tpl->tpl_vars['phmenstrual']->value->edd;?>
"/>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>

                            </div>
                        </form>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
        <div class="clearfix"></div>
    </div>
</div>


<?php }} ?>