<?php /* Smarty version Smarty-3.1.11, created on 2025-02-05 00:30:09
         compiled from "../views/obgy/instruction/transfer.html" */ ?>
<?php /*%%SmartyHeaderCode:119029601167a32191690229-58196586%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ac1c8bfd6b9b6257b7fe93113f809371dc3593c2' => 
    array (
      0 => '../views/obgy/instruction/transfer.html',
      1 => 1542464114,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '119029601167a32191690229-58196586',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hospitalnames' => 0,
    'hospital' => 0,
    'mainObj' => 0,
    'p' => 0,
    'weeks' => 0,
    'blodd' => 0,
    'antUS' => 0,
    'mypastmedical' => 0,
    'instructions' => 0,
    'inst' => 0,
    'patientData' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_67a3219190a619_76874877',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_67a3219190a619_76874877')) {function content_67a3219190a619_76874877($_smarty_tpl) {?>
<div class="page-content-wrapper">
    <div class="page-content all">
        <div class="row">
            <div class="col-md-12" style="padding-right: 0px; padding-left: 0px;">
                <div class="portlet box blue">
                    <div class="portlet-title" style="height: 5px">
                        <div class="caption">
                            <i class="fa fa-edit"></i> Antenatal visits
                        </div>

                    </div>
                    <div class="portlet-body">


                        <table class="table table-striped table-hover table-bordered">
                            <tbody>
                                <tr>
                                    <th class="col-md-2">
                                        Hospital Name
                                    </th>

                                    <td>
                                        <!--<input type="text" class="form-control"  id="hospitalName" value="مستشفى الدلتا - شارع جيهان - أمام مستشفى الطوارئ" />
                                        <input type="text" class="form-control"  id="hospitalName" value="" />-->

                                        <select  class="form-control" name="hospitalName" id="hospitalName" >
                                            <option value="">choose</option>
                                            <?php  $_smarty_tpl->tpl_vars['hospital'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['hospital']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['hospitalnames']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['hospital']->key => $_smarty_tpl->tpl_vars['hospital']->value){
$_smarty_tpl->tpl_vars['hospital']->_loop = true;
?>
                                            <option value="<?php echo $_smarty_tpl->tpl_vars['hospital']->value->id;?>
" ><?php echo $_smarty_tpl->tpl_vars['hospital']->value->name;?>
</option>
                                            <?php } ?>
                                            <option value="-2" class="deleteoptincompo">Delete</option>
                                        </select>
                                    </td>
                                </tr>
                                <!--
                                    </tbody>
                                </table>





                                                        <table class="table table-striped table-hover table-bordered">
                                                            <tbody>
                                                                <tr>
                                                                    <th colspan="8">
                                                                        Patient Information
                                                                    </th>

                                                                </tr>
                                                                <tr>
                                                                    <th class="col-md-2 wds5">
                                                                        G
                                                                    </th>
                                                                    <td class="wds17">
                                                                        <?php echo $_smarty_tpl->tpl_vars['mainObj']->value->g;?>

                                                                    </td>
                                                                    <th class="col-md-2 wds5">
                                                                        P
                                                                    </th>
                                                                    <td class="wds17">
                                                                        <?php echo $_smarty_tpl->tpl_vars['p']->value;?>

                                                                    </td>
                                                                    <th class="col-md-2 wds13">
                                                                        Pregnant (weeks)
                                                                    </th>
                                                                    <td class="wds17">
                                                                        <?php echo $_smarty_tpl->tpl_vars['weeks']->value;?>

                                                                    </td>
                                                                    <th class="col-md-2 wds9">
                                                                        Blood Group
                                                                    </th>
                                                                    <td class="wds17">
                                                                        <?php echo $_smarty_tpl->tpl_vars['blodd']->value;?>

                                                                    </td>

                                                                </tr>
                                                                <tr>
                                                                    <th class="col-md-2 wds5">
                                                                        Hb
                                                                    </th>
                                                                    <td>
                                                                        <?php echo $_smarty_tpl->tpl_vars['mainObj']->value->hb;?>

                                                                    </td>

                                                                    <th class="col-md-2 wds5">
                                                                        Placenta
                                                                    </th>
                                                                    <td colspan="3">
                                                                        <?php echo $_smarty_tpl->tpl_vars['antUS']->value['placenta'];?>

                                                                    </td>
                                                                    <th class="col-md-2 wds5">
                                                                        EDD
                                                                    </th>
                                                                    <td>
                                                                        <?php echo $_smarty_tpl->tpl_vars['mainObj']->value->eed;?>

                                                                    </td>

                                                                </tr>
                                                                <tr>
                                                                    <th class="col-md-2 wds12">
                                                                        Medical diseases
                                                                    </th>
                                                                    <td colspan="9">
                                                                        <?php echo $_smarty_tpl->tpl_vars['mypastmedical']->value;?>

                                                                    </td>
                                                                </tr>

                                                                <tr>
                                                                    <th class="col-md-2 wds5">
                                                                        Notes
                                                                    </th>
                                                                    <td colspan="9">
                                                                        <?php echo $_smarty_tpl->tpl_vars['mainObj']->value->notes;?>

                                                                    </td>
                                                                </tr>

                                                            </tbody>
                                                        </table>



                                <table class="table table-striped table-hover table-bordered">
                                    <tbody>-->
                                <tr>
                                    <th class="col-md-2">
                                        Notes
                                    </th>

                                    <td>
                                        <textarea class="form-control wds100 txtl" name="instNotes" id="instNotes"></textarea>
                                    </td>
                                </tr>


                                <tr>
                                    <th class="col-md-2">
                                        Operation  Instruction
                                    </th>

                                    <td>
                                        <select multiple="" size="1"  class="form-control select2me  transferInstructions" id="operationInstructions">
                                            <option value="">choose</option>

                                            <?php  $_smarty_tpl->tpl_vars['inst'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inst']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['instructions']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inst']->key => $_smarty_tpl->tpl_vars['inst']->value){
$_smarty_tpl->tpl_vars['inst']->_loop = true;
?>
                                            <option value="<?php echo $_smarty_tpl->tpl_vars['inst']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['inst']->value->insttext;?>
</option>
                                            <?php } ?>
                                            <option value="-1">Add</option>
                                            <option value="-2" class="deleteoptincompo">edit</option>
                                        </select>
                                    </td>
                                </tr>
                                <!--                                <tr>
                                                                    <th class="col-md-2">
                                                                        Operation Evening :
                                                                    </th>
                                                                    <td>
                                                                        <select  class="form-control select2me transferInstructions" id="eveningInstructions">
                                                                            <option value="">choose</option>

                                                                            <?php  $_smarty_tpl->tpl_vars['inst'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['inst']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['instructions']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['inst']->key => $_smarty_tpl->tpl_vars['inst']->value){
$_smarty_tpl->tpl_vars['inst']->_loop = true;
?>
                                                                            <option value="<?php echo $_smarty_tpl->tpl_vars['inst']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['inst']->value->insttext;?>
</option>
                                                                            <?php } ?>
                                                                            <option value="-2" class="deleteoptincompo">edit</option>
                                                                        </select>
                                                                    </td>
                                                                </tr>-->
                            </tbody>
                        </table>


                        <button type="button" class="btn" style="float: right;" data-patientId="<?php echo $_smarty_tpl->tpl_vars['patientData']->value['id'];?>
" id="printTransfer"> Print  </button>
                    </div>
                </div>
            </div>
        </div>

    </div>

</div>

<div id="printTtt"></div>


<!----#########################################################################  model ##############################################################################################################--->


<div class="bootbox modal fade bootbox-alert in" tabindex="-1" role="dialog" aria-hidden="false"  id="edit_model">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title"> Edit </h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body form">
                    <form action="" method="post" class="form-horizontal  emptyform" >
                        <div class="form-body all" >
                            <!------===========================================------->
                            <div class="form-group">
                                <label class="col-md-1 control-label"> </label>
                                <div class="col-md-10">
                                    <div id="alldatadiv" class="" > </div>
                                </div>
                                <label class="col-md-1 control-label"> </label>
                            </div>

                            <!------===========================================------->

                            <!------===========================================------->
                            <div class="modal-footer">

                                <button type="button" id="amountcloseinput"   class="btn default" data-dismiss="modal">Close</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
    </div>
</div>

<!--------------------------------------------------------------------------- add Model-------------------------------------------------------------------------------------->
<div class="bootbox modal fade bootbox-alert in" tabindex="-1" role="dialog" aria-hidden="false"  id="add_Inst">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title"> Add New </h4>
            </div>
            <div class="modal-body">
                <div class="portlet-body form">
                    <form action="" id="" method="post" class="form-horizontal  emptyform" >
                        <div class="form-body">
                            <!------===========================================------->
                            <div class="form-group">
                                <label class="col-md-1 control-label"> Name </label>
                                <div class="col-md-10">
                                    <input type="text" class="addOpInst" id="addOpInst" data-select="" data-tablename="" data-id="" value="">
                                </div>
                                <label class="col-md-1 control-label"> </label>
                            </div>

                            <!------===========================================------->
                            <div class="modal-footer">
                                <button type="button" id="amountcloseinput"   class="btn default" data-dismiss="modal">Close</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
    </div>
</div><?php }} ?>