<?php /* Smarty version Smarty-3.1.11, created on 2024-08-26 07:43:45
         compiled from "../views/obgy/patienthistory/newObstetricRow.html" */ ?>
<?php /*%%SmartyHeaderCode:133213751466cc94a1b6efe0-81670675%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9fdadf03c445e949cf7f5decdcfabe98a00e14b7' => 
    array (
      0 => '../views/obgy/patienthistory/newObstetricRow.html',
      1 => 1629571042,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '133213751466cc94a1b6efe0-81670675',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'ProgramesettingData' => 0,
    'username' => 0,
    'phobstetric_obj' => 0,
    'itr' => 0,
    'allphobstericterminate' => 0,
    'myallphobstericterminate' => 0,
    'allphobstericterplace' => 0,
    'myallphobstericterplace' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_66cc94a1be3468_01003192',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_66cc94a1be3468_01003192')) {function content_66cc94a1be3468_01003192($_smarty_tpl) {?><div>
    <?php if ($_smarty_tpl->tpl_vars['ProgramesettingData']->value->displaydoctorname==1){?>
    <div class="row ltr" >
        <div class="col-md-1">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <label class="control-label col-md-2 "><?php echo $_smarty_tpl->tpl_vars['username']->value;?>
</label>
            </div>
        </div>
    </div>
    <?php }?>
    <div class="row ltr" >
        <div class="col-md-1" style="width: 62px;">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <input type="text" class="form-control  updateElement" name="obstrduration" data-colName="obstrduration"   data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
" data-tableName="phobstetric" />
                <!--<label for="contduration">Duration</label>-->
                <span class="input-group-addon">W</span>
            </div>
        </div>




        <div class="col-md-2" style="width: 100px;">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Termination</label>-->
                <select  class="form-control obstermination updateElement allupdateselect" data-val="" id="obstermination<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" name="obstermination"  data-colName="obstermination"  select-tableName="phobstericterminate"   data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
" data-tableName="phobstetric" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['myallphobstericterminate'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphobstericterminate']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphobstericterminate']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphobstericterminate']->key => $_smarty_tpl->tpl_vars['myallphobstericterminate']->value){
$_smarty_tpl->tpl_vars['myallphobstericterminate']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['myallphobstericterminate']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['myallphobstericterminate']->value->name;?>
 </option>
                    <?php } ?>
                    <option value="-2" class="deleteoptincompo" >Delete</option>
                </select>
            </div>
        </div>




        <div class="col-md-1" style="width: 140px;">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Place</label>-->
                <select  class="form-control obsplace updateElement allupdateselect" data-val="" id="obsplace<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="obsplace" data-colName="obsplace"   data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
" select-tableName="phobstericterplace" data-tableName="phobstetric" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['myallphobstericterplace'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphobstericterplace']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphobstericterplace']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphobstericterplace']->key => $_smarty_tpl->tpl_vars['myallphobstericterplace']->value){
$_smarty_tpl->tpl_vars['myallphobstericterplace']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['myallphobstericterplace']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['myallphobstericterplace']->value->name;?>
 </option>
                    <?php } ?>
                    <option value="-2" class="deleteoptincompo" >Delete</option>
                </select>
            </div>
        </div>



        <div class="col-md-1 wds10">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <input type="text" class="form-control updateElement datepicker" placeholder="Date" name="obsdate" data-colName="obsdate"  data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
" value="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->obsdate;?>
" data-tableName="phobstetric"/>
                <!--<label for="obsdate">Date</label>-->
            </div>
        </div>


        <!-- END SAMPLE FORM PORTLET-->


        <div class="col-md-4" id="allbabydivs<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" style="display:none">
            <div class="form-group form-md-line-input form-md-floating-label has-info">

                <div class="row" id="baby_div<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">

                    <div class="col-md-3">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">Type</label>-->
                            <select  class="form-control  updateElement outcomeid"  name="outcomeid" data-colName="outcomeid"  data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"  data-tableName="phobstetric" >
                                <option>Type</option>
                                <option value="0" >Male</option>
                                <option value="1" >Female</option>
                                <option value="2" >Twins</option>
                                <option value="3" >Triplets</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-3">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">OutCome</label>-->
                            <select  class="form-control  updateElement "    name="babytype" data-colName="babytype"  data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"   data-tableName="phobstetric" >
                                <option value="0" >Living</option>
                                <option value="1" >Dead</option>
                            </select>
                        </div>
                    </div>



                    <div class="col-md-2" id="genderdiv<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" style="display: none;">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">Gender</label>-->
                            <select  class="form-control  updateElement "     name="babygendernew" data-colName="babygendernew" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"  data-tableName="phobstetric" >
                                <option value="0" >M</option>
                                <option value="1" >F</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="txtl form-control updateElement" name="babyweight" data-colName="babyweight" placeholder="Weight" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"   data-tableName="phobstetric"/>
                            <!--<label for="obsnote">gm</label>-->
                            <!--span class="input-group-addon">GM</span-->
                        </div>
                    </div>


                    <div class="col-md-4" id="babyidcolnew<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="form-control updateElement" name="babyname" data-colName="babyname" placeholder="Name" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"   data-tableName="phobstetric"/>
                            <!--<label for="obsnote">Baby Name</label>-->
                        </div>
                    </div>


                </div>
                <!-- END SAMPLE FORM PORTLET-->
            </div>
        </div>
        <div class="col-md-4" id="nooutdata<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"> <center>no out come </center></div>

        <div class="col-md-3 wds23">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <div class="form-group form-md-line-input form-md-floating-label has-info">
                    <input type="text"amrpop class="form-control updateElement" name="obsnote" data-colName="obsnote"  placeholder="Note" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
" data-tableName="phobstetric"/>
                </div>
                <button type="button" class="btn btn-xs red fright deleteElement delbtnsml" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
" data-tableName="phobstetric"><i class="fa fa-close"></i></button>
            </div>
        </div>

        <div class="row">

            <div class="row" id="baby_div1<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" style="display:none">



                <div class="col-md-5" style="margin-right: 30px;">
                    <div class="form-group">

                    </div>
                </div>


                <div class="col-md-4">
                    <div class="col-md-3">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">OutCome</label>-->
                            <select  class="form-control  updateElement "    name="babytype1" data-colName="babytype1" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"  data-tableName="phobstetric" >
                                <option value="0" >Living</option>
                                <option value="1" >Dead</option>
                            </select>
                        </div>
                    </div>



                    <div class="col-md-2">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">Gender</label>-->
                            <select  class="form-control  updateElement "    name="babygendernew1" data-colName="babygendernew1" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"   data-tableName="phobstetric" >
                                <option value="0" >M</option>
                                <option value="1" >F</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="txtl form-control updateElement" name="babyweight1" data-colName="babyweight1"  placeholder="Weight" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"   data-tableName="phobstetric"/>
                            <!--<label for="obsnote">gm</label>-->
                            <!--span class="input-group-addon">GM</span-->
                        </div>
                    </div>


                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="form-control updateElement" name="babyname1" placeholder="Name" data-colName="babyname1"  data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"  data-tableName="phobstetric"/>
                            <!--<label for="obsnote">Baby Name</label>-->
                        </div>
                    </div>
                </div>

            </div>



            <div class="row" id="baby_div2<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" style="display:none">

                <div class="col-md-5" style="margin-right: 30px;">
                    <div class="form-group">

                    </div>
                </div>
                <div class="col-md-4">

                    <div class="col-md-3">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">OutCome</label>-->
                            <select  class="form-control  updateElement "    name="babytype2" data-colName="babytype2" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"   data-tableName="phobstetric" >
                                <option value="0" >Living</option>
                                <option value="1" >Dead</option>
                            </select>
                        </div>
                    </div>



                    <div class="col-md-2">
                        <div class="form-group">
                            <!--<label class="control-label col-md-2 ls2">Gender</label>-->
                            <select  class="form-control  updateElement "     name="babygendernew2" data-colName="babygendernew2" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"   data-tableName="phobstetric" >
                                <option value="0" >M</option>
                                <option value="1" >F</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="txtl form-control updateElement" name="babyweight2" data-colName="babyweight2"  placeholder="Weight" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
"   data-tableName="phobstetric"/>
                            <!--<label for="obsnote">gm</label>-->
                            <!--span class="input-group-addon">GM</span-->
                        </div>
                    </div>


                    <div class="col-md-2">
                        <div class="form-group form-md-line-input form-md-floating-label has-info">
                            <input type="text" class="form-control updateElement" name="babyname2" data-colName="babyname2"  placeholder="Name" data-id="<?php echo $_smarty_tpl->tpl_vars['phobstetric_obj']->value->id;?>
" data-tableName="phobstetric"/>
                            <!--<label for="obsnote">Baby Name</label>-->
                        </div>
                    </div>

                </div>
            </div>

        </div>
    </div>

</div>

















</div>
<?php }} ?>