<?php /* Smarty version Smarty-3.1.11, created on 2024-03-24 11:56:13
         compiled from "../views/obgy/patienthistory/newPastArtRow.html" */ ?>
<?php /*%%SmartyHeaderCode:77192638665fff8bd2e8143-11392515%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '839d5cc5532ce5333957ef60b3c2cad1b517d00a' => 
    array (
      0 => '../views/obgy/patienthistory/newPastArtRow.html',
      1 => 1673921974,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '77192638665fff8bd2e8143-11392515',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'case_summary' => 0,
    'itr' => 0,
    'phpastart_obj' => 0,
    'allphpastarttype' => 0,
    'myallphpastarttype' => 0,
    'allphpastartcenter' => 0,
    'myallphpastartcenter' => 0,
    'artResult' => 0,
    'data' => 0,
    'ProgramesettingData' => 0,
    'username' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_65fff8bd38a343_93853435',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_65fff8bd38a343_93853435')) {function content_65fff8bd38a343_93853435($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['case_summary']->value==1){?>
<tr>
    <td class="wds16"> 
        <select  class="form-control  arttype arttypeExtra updateElement allupdateselect" data-val="" id="arttype<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="arttype" select-tableName="phpastarttype" data-colName="arttype" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart" >
            <option value="">choose</option>
            <?php  $_smarty_tpl->tpl_vars['myallphpastarttype'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphpastarttype']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphpastarttype']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphpastarttype']->key => $_smarty_tpl->tpl_vars['myallphpastarttype']->value){
$_smarty_tpl->tpl_vars['myallphpastarttype']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['myallphpastarttype']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['myallphpastarttype']->value->name;?>
 </option>
            <?php } ?>
            <option value="-2" class="deleteoptincompo" >Delete</option>
        </select>
    </td>
    <td class="wds16"> 
        <select  class="form-control artcenter updateElement allupdateselect" data-val="" id="artcenter<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="artcenter" data-colName="artcenter"  select-tableName="phpastartcenter"  data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart" >
            <option value="">choose</option>
            <?php  $_smarty_tpl->tpl_vars['myallphpastartcenter'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphpastartcenter']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphpastartcenter']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphpastartcenter']->key => $_smarty_tpl->tpl_vars['myallphpastartcenter']->value){
$_smarty_tpl->tpl_vars['myallphpastartcenter']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['myallphpastartcenter']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['myallphpastartcenter']->value->name;?>
 </option>
            <?php } ?>
            <option value="-2" class="deleteoptincompo">Delete</option>
        </select>
    </td>
    <td class="wds8"> 
        <input type="text" class="form-control updateElement" placeholder="Year" name="artyear" data-colName="artyear"  data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  />
    </td>
    <td class="wds25"> 
        <select  class="form-control result updateElement allupdateselect" id="result<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="result" data-colName="result" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" select-tableName="phpastartresult" data-tableName="phpastart" >
            <option value="">choose</option>
            <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['artResult']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
            <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
            <?php } ?>
            <option value="-2" class="deleteoptincompo">Delete</option>
        </select>
    </td>
    <td>
        <input type="text" class="amrpop form-control updateElement" placeholder="Note" name="artnote" data-colName="artnote"  data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"/>
    </td>
    <td class="wds5">
        <a class="btn grey-cascade btn-xs deletemsgEX2" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" 
           data-link="case_summary"  data-fn="del" data-tableName="phpastart" data-colName="del">
            <i class="fa fa-times"></i> </a>
    </td>
</tr>
<?php }else{ ?>
<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-2">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Type</label>-->
                <select  class="form-control  arttype arttypeExtra updateElement allupdateselect" data-val="" id="arttype<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="arttype" select-tableName="phpastarttype" data-colName="arttype" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['myallphpastarttype'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphpastarttype']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphpastarttype']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphpastarttype']->key => $_smarty_tpl->tpl_vars['myallphpastarttype']->value){
$_smarty_tpl->tpl_vars['myallphpastarttype']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['myallphpastarttype']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['myallphpastarttype']->value->name;?>
 </option>
                    <?php } ?>
                    <option value="-2" class="deleteoptincompo" >Delete</option>
                </select>
            </div>
        </div>


        <div class="col-md-2">
            <div class="form-group">
                <!--<label class="control-label col-md-2 ls2">Center</label>-->
                <select  class="form-control artcenter updateElement allupdateselect" data-val="" id="artcenter<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="artcenter" data-colName="artcenter"  select-tableName="phpastartcenter"  data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['myallphpastartcenter'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['myallphpastartcenter']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allphpastartcenter']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['myallphpastartcenter']->key => $_smarty_tpl->tpl_vars['myallphpastartcenter']->value){
$_smarty_tpl->tpl_vars['myallphpastartcenter']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['myallphpastartcenter']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['myallphpastartcenter']->value->name;?>
 </option>
                    <?php } ?>
                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
            </div>
        </div>


        <div class="col-md-1">
            <div class="form-group form-md-line-input form-md-floating-label has-info">
                <input type="text" class="form-control updateElement" placeholder="Year" name="artyear" data-colName="artyear"  data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  />
                <!--                <label for="surgeon">Year</label>-->
            </div>
        </div>

        <div class="col-md-3">
            <div class="form-group">
                <!--                                                                    <label class="control-label col-md-2 ls2">Center</label>-->
                <select  class="form-control result updateElement allupdateselect" id="result<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
" data-itr="<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  name="result" data-colName="result" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" select-tableName="phpastartresult" data-tableName="phpastart" >
                    <option value="">choose</option>
                    <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['artResult']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['data']->value->name;?>
 </option>
                    <?php } ?>
                    <option value="-2" class="deleteoptincompo">Delete</option>
                </select>
            </div>
        </div>

        <div class="col-md-4">
            <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" class="amrpop form-control updateElement" placeholder="Note" name="artnote" data-colName="artnote"  data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"/>
                </div>
                <button type="button" class="btn btn-xs red fright deleteElement delbtnsml" data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"><i class="fa fa-close"></i></button>
            </div>
        </div>

    </div>


    <div id="extraArt<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  style="display: none; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid #aaa; ">
        <div class="row ltr" >
            <table class="table table-bordered table-hover nopdngtbl" >
                <!--                <thead>
                                    <tr>
                                        <td class="col-md-2"></td>
                                        <th class="col-md-2">Date</th>
                                        <th>Oocytes</th>
                                        <th>Fertilized</th>
                                        <th>Embryos</th>
                                    </tr>
                                </thead>-->
                <tbody>
                    <tr>
                        <th class="col-md-2">Ovum Pick Up</th>
                        <td class="col-md-2"><input type="text" class="form-control updateElement datepicker" placeholder="ovdate" name="ovdate" data-colName="ovdate"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="oocytes" name="oocytes" data-colName="oocytes"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="fertilized" name="fertilized" data-colName="fertilized"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="ovembryos" name="ovembryos" data-colName="ovembryos"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="row ltr" >
            <table class="table table-bordered table-hover nopdngtbl" >
                <!--                <thead>
                                    <tr>
                                        <td class="col-md-2"></td>
                                        <th class="col-md-2">Date</th>
                                        <th>Embryos</th>
                                        <th>Pregnancy Test</th>
                                        <th>U/S</th>
                                    </tr>
                                </thead>-->
                <tbody>
                    <tr>
                        <th class="col-md-2">Embryo transfer</th>
                        <td class="col-md-2"><input type="text" class="form-control updateElement datepicker" placeholder="emdate" name="emdate" data-colName="emdate"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="emembryos" name="emembryos" data-colName="emembryos"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="pregrest" name="pregrest" data-colName="pregrest"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="us" name="us" data-colName="us"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="row ltr" >
            <table class="table table-bordered table-hover nopdngtbl" >
                <!--                <thead>
                                    <tr>
                                        <td class="col-md-2"></td>
                                        <th class="col-md-2">Date</th>
                                        <th>Straw 1</th>
                                        <th>Straw 2</th>
                                        <th>Straw 3</th>
                                    </tr>
                                </thead>-->
                <tbody>
                    <tr>
                        <th class="col-md-2">Freezing</th>
                        <td class="col-md-2"><input type="text" class="form-control updateElement datepicker" placeholder="freezdate" name="freezdate" data-colName="freezdate"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart" /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="straw 1" name="straw1" data-colName="straw1"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="straw 2" name="straw2" data-colName="straw2"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                        <td><input type="text" class="form-control updateElement" placeholder="straw 3" name="straw3" data-colName="straw3"   data-id="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
" data-tableName="phpastart"  /></td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>



    <div id="extraArtother<?php echo $_smarty_tpl->tpl_vars['itr']->value;?>
"  style="display: none; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid #aaa; ">
        <div class="row ltr" >
            <table class="table table-bordered table-hover nopdngtbl" >
                <tbody>
                    <tr>
                        <td class="col-md-2" style="padding: 0px !important;"><input type="text" class="form-control updatemyElement date-picker" placeholder="OPU" name="opu" data-colName="opu"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  /></td>
                        <td class="row" style="padding: 0px !important;">
                            <input type="text" class="col-md-4 updatemyElement" placeholder="GII" name="gii" data-colName="gii"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  />
                            <input type="text" class="col-md-4 updatemyElement" placeholder="GI" name="gi" data-colName="gi"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  />
                            <input type="text" class="col-md-4 updatemyElement" placeholder="GV" name="gv" data-colName="gv"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  />
                        </td>
                        <td class="col-md-2" style="padding: 0px !important;"><input type="text" class="form-control updatemyElement date-picker" placeholder="ET" name="et" data-colName="et"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  /></td>
                        <td style="padding: 0px !important;"><input type="text" class="form-control updatemyElement" placeholder="ET" name="etf" data-colName="etf"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  /></td>
                        <td style="padding: 0px !important;"><input type="text" class="form-control updatemyElement" placeholder="Frozen" name="frozen" data-colName="frozen"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  /></td>
                        <td style="padding: 0px !important;"><input type="text" class="form-control updatemyElement" placeholder="B-HCG" name="bhcg" data-colName="bhcg"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  /></td>
                        <td style="padding: 0px !important;"><input type="text" class="form-control updatemyElement" placeholder="FHR" name="fhr" data-colName="fhr"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  /></td>
                        <!--td class="col-md-3"><input type="text" class="form-control updatemyElement" placeholder="Notes" name="notes" data-colName="notes"   data-id="" data-pid="<?php echo $_smarty_tpl->tpl_vars['phpastart_obj']->value->id;?>
"  data-tableName="phpasticsi"  /></td-->
                    </tr>
                </tbody>
            </table>
        </div>
    </div>

</div>
<?php }?><?php }} ?>