EVOLUTION-NINJA
Edit File: epidetails.php
<?php echo view('includes/header',$patient, $procs, $preo, $posto, $follo, $proccheck, $feedcheck, $ecocheck, $focus); ?> <script type="text/javascript" src="<?php echo base_url('assets/js/bootstrap.bundle.min.js'); ?>"></script> <section class="epidural-view"> <div class="row"> <div class="col-sm-9"></div> <div class="col-sm-3"> <button type="button" class="btn-edit" data-toggle="modal" id="edi_ep" style="margin:5px;">Edit</button> <!-- <button type="button" class="btn-close">Delete</button> --> </div> </div><!--row--> <div class="epidural-cont"> <div class="epidural-table1"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <td class="bg-pat2">Patient status During Neuraxial Block</td> <td><?php echo $info['patient_status']; ?></td> </tr> <tr> <td class="bg-pat2">Patient Position</td> <td><?php echo $info['patient_position']; ?></td> </tr> <tr> <td class="bg-pat2">Asepsis</td> <td></td> </tr> <tr> <td class="bg-pat2">Wearing cap and mask</td> <td><?php echo $info['wearing_mask']; ?></td> </tr> <tr> <td class="bg-pat2">Hand washing</td> <td><?php echo $info['hand_washing']; ?></td> </tr> <tr> <td class="bg-pat2">Sterile gown</td> <td><?php echo $info['sterile_gown']; ?></td> </tr> <tr> <td class="bg-pat2">Sterile draping</td> <td><?php echo $info['sterile_draping']; ?></td> </tr> <tr> <td class="bg-pat2"></td> <td></td> </tr> <tr> <td class="bg-pat2">Skin Prep</td> <td><?php echo $info['skin_prepartion']; ?></td> </tr> </tbody> </table> </div> </div><!--epidural-table1--> <h4 class="pt"><b>Epidural</b></h4> <div class="epidural-card2"> <div class="card-header"> <h5><b>Anatomical Landmark</b></h5> </div> <div class="card-body"> <p><?php echo $info['anatomical_landmark']; ?></p> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Epidural Level</b></h4> <div class="epidural-card2"> <div class="card-header"> <h5><b><?php echo $info['epidural_level_name']; ?></b></h5> </div> <div class="card-body"> <p><?php echo $info['epedural_level']; ?></p> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Ultra Sound</b></h4> <div class="epidural-card2"> <div class="card-header"> <ul> <li><b>Probe Cover</b></li> <li><b>Image Quality</b></li> </ul> </div> <div class="card-body"> <ul> <li><span><?php echo $info['probe_cover']; ?></span></li> <li><span><?php echo $info['image_quality']; ?></span></li> </ul> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Needle Brand,Type and Size</b></h4> <div class="epidural-card2"> <div class="card-header"> <ul> <li><b>Needle Brand</b></li> <li><b>Needle Type</b></li> <li><b>Needle Size</b></li> </ul> </div> <div class="card-body"> <ul><?php if($n_brand){ ?> <li><span><?php echo $info['other4']; ?></span></li> <?php }else{ ?> <li><span><?php echo $info['needle_brand']; ?></span></li> <?php }; ?> <?php if($n_type){ ?> <li><span><?php echo $info['other6']; ?></span></li> <?php }else{ ?> <li><span><?php echo $info['needle_type']; ?></span></li> <?php }; ?> <li><span><?php echo $info['needle_size']; ?></span></li> </ul> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Epidural Technique</b></h4> <div class="epidural-card2"> <div class="card-header"> <h5><b>Epidural Technique</b></h5> </div> <div class="card-body"> <p><?php echo $info['lor_saline']; ?> - <?php echo $info['lor_air']; ?> - <?php echo $info['hanging_drop']; ?> - <?php echo $info['others']; ?></p> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Approach</b></h4> <div class="epidural-card2"> <div class="card-header"> <h5><b>Approach</b></h5> </div> <div class="card-body"> <p><?php echo $info['approach']; ?></p> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Number of Attempts</b></h4> <div class="epidural-card2"> <div class="card-header"> <h5><b>Number of Attempts</b></h5> </div> <div class="card-body"> <p><?php echo $info['no_attempts']; ?></p> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Epidural Depth(cm)</b></h4> <div class="epidural-card2"> <div class="card-header"> <h5><b>Epidural Depth(cm)</b></h5> </div> <div class="card-body"> <p><?php echo $info['epidral_depth']; ?></p> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Epidural Technique</b></h4> <div class="epidural-card2"> <div class="card-header"> <ul> <li><b>Epidural Technique</b></li> <li><b>Depth(cm)</b></li> <li><b>Technique</b></li> <li><b>Skin(cm)</b></li> </ul> </div> <div class="card-body"> <ul> <li><span>LOR Air</span></li> <li><span>06</span></li> <li><span>Catheter</span></li> <li><span>12</span></li> </ul> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Test Dose</b></h4> <div class="epidural-card2"> <div class="card-header"> <h5><b>Intra Operative LA Regimen</b></h5> </div> <div class="card-body"> <p><?php echo $info['la_regimen']; ?></p> </div> </div><!--epidural-card2--> <h4 class="pt"><b>Total Intra Operative LA & Adjuvant Consumption</b></h4> <div class="epidural-table2"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th>Solution</th> <th>Dosage(%)</th> <th>Dosage(ml)</th> <th>Dosage(mg)</th> </tr> </thead> <tbody> <tr><?php $z = $info['la_ropivacaine']; $cc = explode(",",$z); ?> <td>Ropivacaine - <?php echo $cc[0]; ?></td> <td><?php echo $cc[1]; ?></td> <td><?php echo $cc[2]; ?></td> <td><?php echo $cc[3]; ?></td> </tr> <tr><?php $y = $info['la_bupivacaine']; $bb = explode(",",$y); ?> <td>Bupivacaine - <?php echo $bb[0]; ?></td> <td><?php echo $bb[1]; ?></td> <td><?php echo $bb[2]; ?></td> <td><?php echo $bb[3]; ?></td> </tr> <tr><?php $x = $info['la_levobupivacaine']; $aa = explode(",",$x); ?> <td>Levobupivacaine - <?php echo $aa[0]; ?></td> <td><?php echo $aa[1]; ?></td> <td><?php echo $aa[2]; ?></td> <td><?php echo $aa[3]; ?></td> </tr> <tr><?php $w = $info['la_lignocaine']; $dd = explode(",",$w); ?> <td>Lignocaine - <?php echo $dd[0]; ?></td> <td><?php echo $dd[1]; ?></td> <td><?php echo $dd[2]; ?></td> <td><?php echo $dd[3]; ?></td> </tr> </tbody> </table> </div> </div><!--epidural-table--> <h4 class="pt"><b>Test Dose Adjuvant</b></h4> <div class="epidural-table1"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <td class="bg-pat2" style="border:0;">Opioid</td> <td style="border:0;"></td> </tr> <tr> <td class="bg-pat2" style="border:0;">Opioid Name</td> <td style="border:0;"><?php echo $info['opioid_name']; ?></td> </tr> <tr> <td class="bg-pat2" style="border:0;">Opioid Dose(microgram equivalent)</td> <td style="border:0;"><?php echo $info['opioid_dose']; ?></td> </tr> <tr> <td class="bg-pat2">Clonidne with Dose(mcgm)</td> <td><?php echo $info['clonidina_dose']; ?></td> </tr> <tr> <td class="bg-pat2">Dexmeditomidine with Dose(mcgm)</td> <td><?php echo $info['dexmeditomidine_dose']; ?></td> </tr> <tr> <td class="bg-pat2">Dexamephasone with Dose(mcgm)</td> <td><?php echo $info['dexamephasone_dose']; ?></td> </tr> <tr> <td class="bg-pat2">Tramadol with Dose(mg)</td> <td><?php echo $info['tramadol_dose']; ?></td> </tr> <tr> <td class="bg-pat2">Ketamine with Dose(mg)</td> <td><?php echo $info['kepamine_dose']; ?></td> </tr> <tr> <td class="bg-pat2">Midazolam with Dose(mg)</td> <td><?php echo $info['midazolam_dose']; ?></td> </tr> <tr> <td class="bg-pat2">Other</td> <td><?php echo $info['other7']; ?></td> </tr> <tr> <td class="bg-pat2" style="border:0;">Adjuvant Name</td> <td style="border:0;"><?php echo $info['aj_name']; ?></td> </tr> <tr> <td class="bg-pat2" style="border:0;">Adjuvant Dose(mg)</td> <td style="border:0;"><?php echo $info['aj_dose']; ?></td> </tr> </tbody> </table> </div> </div><!--epidural-table1--> <h4 class="pt"><b>Analgesia supplementation required</b></h4> <div class="epidural-table1"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <td class="bg-pat2">Inhalation Analgesia</td> <td><?php echo $info['in_analgesia']; ?></td> </tr> <tr> <td class="bg-pat2">IV analgesia</td> <td><?php echo $info['asr_iv_analgesia']; ?></td> </tr> <tr> <td class="bg-pat2">Opioids</td> <td><?php echo $info['opioids']; ?></td> </tr> <tr> <td class="bg-pat2" style="border:0;">Opioid Name</td> <td style="border:0;"><?php echo $info['asr_opioid_name']; ?></td> </tr> <tr> <td class="bg-pat2" style="border:0;">Opioid Dose(microgram equivalent)</td> <td style="border:0;"><?php echo $info['asr_opioid_dose']; ?></td> </tr> <tr> <td class="bg-pat2">Multi-modal</td> <td><?php echo $info['asr_multimode']; ?></td> </tr> <tr> <td class="bg-pat2">Ketamine</td> <td><?php echo $info['asr_ketamine']; ?></td> </tr> <!-- <tr> <td class="bg-pat2">Dexmedetomidine</td> <td><?php// echo $info['asr_dexmedetomidine']; ?></td> </tr> <tr> <td class="bg-pat2">Clonidine</td> <td><?php// echo $info['asr_clonidine']; ?></td> </tr> <tr> <td class="bg-pat2">Tramadol</td> <td><?php// echo $info['asr_tramadol']; ?></td> </tr> <tr> <td class="bg-pat2">Magnesium</td> <td><?php// echo $info['asr_magnesium']; ?></td> </tr> --> <tr> <td class="bg-pat2" style="border:0;">IV adjuncts</td> <td style="border:0;"></td> </tr> <tr> <td class="bg-pat2" style="border:0;">Adjuvant Name</td> <td style="border:0;"><?php echo $info['asr_other_iv_name']; ?></td> </tr> <tr> <td class="bg-pat2" style="border:0;">Adjuvant Dose(mg)</td> <td style="border:0;"><?php echo $info['asr_other_iv_dose']; ?></td> </tr> </tbody> </table> </div> </div><!--epidural-table1--> <h4 class="pt"><b>Technical Complications</b></h4> <div class="epidural-table1"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <td class="bg-pat2">Equipment Related</td> <td><?php echo $info['tc_equipment']; ?></td> </tr> <tr> <td class="bg-pat2">Multiple attempts</td> <td><?php echo $info['tc_multiple']; ?></td> </tr> <tr> <td class="bg-pat2">2nd Anaesthetist</td> <td><?php echo $info['tc_2_anaestsetist']; ?></td> </tr> <tr> <td class="bg-pat2">Technique abandoned/failure to find sapce</td> <td><?php echo $info['tc_abondoned']; ?></td> </tr> <tr> <td class="bg-pat2">Catheter related</td> <td><?php echo $info['tc_catheter']; ?></td> </tr> <tr><?php if($t_other){ ?> <td class="bg-pat2">Other</td> <?php }else{ ?> <td class="bg-pat2"><?php echo $info['other5']; ?></td> <?php }; ?> <td><?php echo $info['tc_other']; ?></td> </tr> </tbody> </table> </div> </div><!--epidural-table1--> <h4 class="pt"><b>Acute Complications</b></h4> <div class="epidural-table1"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <td class="bg-pat2">Epidural re-sited</td> <td><?php echo $info['ac_ep_resited']; ?></td> </tr> <tr> <td class="bg-pat2">Local Anaesthetic systemic toxicity(LAST)</td> <td><?php echo $info['ac_last']; ?></td> </tr> <tr> <td class="bg-pat2">Respiratory Arrest</td> <td><?php echo $info['ac_re_arrest']; ?></td> </tr> <tr> <td class="bg-pat2">Cardiac Arrest</td> <td><?php echo $info['ac_ca_arrest']; ?></td> </tr> <tr> <td class="bg-pat2">Radicular Pain (needle/catheter)</td> <td><?php echo $info['ac_radi_pain']; ?></td> </tr> <tr> <td class="bg-pat2">Paresthesia (needle/catheter)</td> <td><?php echo $info['ac_parestsesia']; ?></td> </tr> <tr> <td class="bg-pat2">Bloody Tap ( needle/catheter)</td> <td><?php echo $info['ac_bloody_tap']; ?></td> </tr> <tr> <td class="bg-pat2">Intrathecal migration of epidural catheter</td> <td><?php echo $info['ac_intra_cath']; ?></td> </tr> <tr> <td class="bg-pat2">Wet Tap/Dural puncture (Needle/Catheter)</td> <td><?php echo $info['ac_wet_tap']; ?></td> </tr> <tr> <td class="bg-pat2">Hypotension</td> <td><?php echo $info['ac_hypoten']; ?></td> </tr> <tr> <td class="bg-pat2">Nausea</td> <td><?php echo $info['ac_nausea']; ?></td> </tr> <tr> <td class="bg-pat2">Vomiting</td> <td><?php echo $info['ac_vomit']; ?></td> </tr> <tr> <td class="bg-pat2">High Block</td> <td><?php echo $info['ac_high_block']; ?></td> </tr> <tr> <td class="bg-pat2">Subdural Block</td> <td><?php echo $info['ac_sb_block']; ?></td> </tr> <tr> <td class="bg-pat2">Motor Block</td> <td><?php echo $info['ac_motor_block']; ?></td> </tr> <tr> <td class="bg-pat2">Total Spinal</td> <td><?php echo $info['ac_totla_spinal']; ?></td> </tr> <tr> <td class="bg-pat2">Accidental Dural Puncture</td> <td><?php echo $info['ac_adp']; ?></td> </tr> <tr><?php if($a_other){ ?> <td class="bg-pat2">Other</td> <?php }else{ ?> <td class="bg-pat2"><?php echo $info['other2']; ?></td> <?php }; ?> <td><?php echo $info['ac_other']; ?></td> </tr> </tbody> </table> </div> </div><!--epidural-table1--> <h4 class="pt"><b>Success</b></h4> <div class="epidural-table1"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <?php if(($s_stat[0]) == 'Partial Success'){ ?> <td class="bg-pat2">Partial Success</td> <td>Yes</td> <?php }elseif(($s_stat[0]) == 'Complete Success'){ ?> <td class="bg-pat2">Complete Success</td> <td>Yes</td> <?php }else{ ?> <td class="bg-pat2">Failure</td> <td>Yes</td> <?php }; ?> </tr> <tr> <td class="bg-pat2" style="border:0;">Onset</td> <td style="border:0;"><?php echo $info['onset']; ?></td> </tr> </tbody> </table> </div> </div><!--epidural-table1--> <h4 class="pt"><b>Sensory Level</b></h4> <div class="epidural-table1"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <td class="bg-pat2">Cold</td> <td>Yes</td> </tr> <tr> <td class="bg-pat2">Touch</td> <td>No</td> </tr> <tr> <td class="bg-pat2">Pin Prick</td> <td>No</td> </tr> </tbody> </table> </div> </div><!--epidural-table1--> <div class="body-img"> <div class="row"> <div class="col-sm-3"> <h5><b>Level To Cold</b></h5> <p><span style="margin: 0 30px 0 0;">Highest Level</span>Highest Level</p> <p>LEFT:<span style="color:red;margin: 0 65px 0 0;">T2</span>RIGHT:<span style="color:red;">T2</span></p> <p><span style="margin: 0 30px 0 0;">Lowest Level</span>Lowest Level</p> <p>LEFT:<span style="color:red;margin: 0 65px 0 0;">L1</span>RIGHT:<span style="color:red;">L2</span></p> </div> <div class="col-sm-4"> <div class="epidural-sensor-table"> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <th></th> <th colspan="2">Cold</th> <th colspan="2">Touch</th> <th colspan="2">Pin Prick</th> </tr> <tr> <th></th> <th>L</th> <th>R</th> <th>L</th> <th>R</th> <th>L</th> <th>R</th> </tr> </thead> <tbody> <tr> <td>C1</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C2</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C3</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C4</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C5</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C6</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C7</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C8</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T1</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T2</td> <td id="bg-t2"></td> <td id="bg-t2"></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T3</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T4</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T5</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T6</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T7</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T8</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T9</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T10</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T11</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T12</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L1</td> <td id="bg-l1"></td> <td id="bg-l1"></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L2</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L3</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L4</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L5</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> </tbody> </table> </div> </div><!--epidural-sensor-table--> </div> <div class="col-sm-5"> <img src="assets/images/Dermo.png" class="img-fluid d-block mx-auto"> </div> </div><!--row--> </div><!--body-img--> <h4 class="pt"><b>Motor Level (Bromage Score)</b></h4> <div class="epidural-table1"> <div class="table-responsive"> <table class="table"> <tbody> <tr> <td class="bg-pat2">Selected</td> <td><?php echo $info['motor_level']; ?></td> </tr> <tr> <td class="bg-pat2">Surgical Anaesthesia Onset</td> <td><?php echo $info['surgical_anaesthesia']; ?></td> </tr> <tr> <td class="bg-pat2">Duration of Surgery Mins</td> <td><?php echo $info['surgery_duration']; ?></td> </tr> <tr> <td class="bg-pat2">Blood Loss ml</td> <td><?php echo $info['blood_loss']; ?></td> </tr> <tr> <td class="bg-pat2">Vasopressor Use</td> <td><?php echo $info['vasopressor_use']; ?></td> </tr> </tbody> </table> </div> </div><!--epidural-table1--> <div class="bromo-img"> <div class="row"> <div class="col-sm-3"></div> <div class="col-sm-6"><img src="assets/images/Bromo.png" class="img-fluid d-block mx-auto"></div> <div class="col-sm-3"></div> </div><!--row--> </div><!--bromo-img--> </div><!--epidural-cont--> </section><!--epidural-view--> <section class="edit-epidural-page"> <!-- The Modal --> <div class="modal" id="edit-epidural"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <!-- Modal Header --> <div class="modal-header" id="add-header"> <h4 class="modal-title">EDIT EPIDURAL</h4> <button type="button" class="close" data-dismiss="modal">×</button> </div> <!-- Modal body --> <div class="modal-body"> <form id="edit-epi"> <input type="hidden" class="form-control" name="id" value="<?php echo $info['id']; ?>" required> <label>Patient status during Neuraxial Block<span class="mandat">*</span></label> <small class="psn" style="color:red; display:none;">please choose patient status</small> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-6"> <div class="form-check"> <label class="form-check-label"> <input type="radio" class="form-check-input" id="option-1" value="Awake" name="optradio" onclick="hide()">Awake </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="radio" class="form-check-input" id="option-2" value="Sedation" name="optradio" onclick="show()">Sedation </label> </div> <div class="pts"> <select class="form-control" id="sedi" name="sedation_if"> <option value=''>Select</option> <option>1-Mild easy to rouse</option> <option>2-Moderate,easy to rouse,unable to remain awake</option> <option>3-Difficult to rouse</option> </select> </div> <div class="form-check"> <label class="form-check-label"> <input type="radio" class="form-check-input" id="option-3" value="GA" name="optradio" onclick="hide()">GA </label> </div> </div> <div class="col-sm-4"></div> </div><!--row--> <div class="row pt"> <div class="col-sm-2"><label style="font-size:13px;">Patient Position<span class="mandat">*</span></label></div> <div class="col-sm-4"> <select class="form-control" id="patient_pos" name="patient_pos" onfocusout="checkpos()"> <option>Select</option> <option>Lateral</option> <option>Sitting</option> <option>Prone</option> </select> <small class="pat" style="color:red; display:none;">please select patient position</small> </div> <div class="col-sm-4"></div> </div><!--row--> <div class="row pt"> <div class="col-sm-2"><label>Asepsis<span class="mandat">*</span></label><br><small class="asep" style="color:red; display:none;">please select asepsis</small></div> <div class="col-sm-10"> <div class="t-switch"> <ul> <li> <div class="togle"> <label>Wearing cap and mask</label> <div class= "box_1"> <input type="hidden" class="switch_1" value="No" name="wearing_mask"> <input type="checkbox" class="switch_1" id="wearing_mask" value="Yes" name="wearing_mask" onclick="checkasep()"> </div> </div> </li> <li> <div class="togle"> <label>Hand washing</label> <div class= "box_1"> <input type="hidden" class="switch_1" value="No" name="hand_washing"> <input type="checkbox" class="switch_1" id="hand_washing" value="Yes" name="hand_washing" onclick="checkasep()"> </div> </div> </li> </ul><!--------------------> <ul> <li> <div class="togle"> <label>Sterile gown</label> <div class= "box_1"> <input type="hidden" class="switch_1" value="No" name="sterile_gown"> <input type="checkbox" class="switch_1" id="sterile_gown" value="Yes" name="sterile_gown" onclick="checkasep()"> </div> </div> </li> <li> <div class="togle"> <label>Sterile draping</label> <div class= "box_1"> <input type="hidden" class="switch_1" value="No" name="sterile_draping"> <input type="checkbox" class="switch_1" id="sterile_draping" value="Yes" name="sterile_draping" onclick="checkasep()"> </div> </div> </li> </ul><!--------------------> </div> </div> </div><!--row--> <div class="row"> <div class="col-sm-2"><label>Skin Prep<span class="mandat">*</span></label></div> <div class="col-sm-4"> <select class="form-control" id="skin_prep" name="skin_prep" onfocusout="checkskin()"> <option>Select</option> <option>Alcohol</option> <option>Chlorhexitine</option> <option>Betadine</option> <option>Combinations</option> <option>Other</option> </select> <small class="skp" style="color:red; display:none;">please enter skin prep</small> </div> <div class="col-sm-6"></div> </div><!--row--> <!-- <h5><b>Epidural<span class="mandat">*</span></b></h5> --> <div class="row pt"> <div class="col-sm-2"><label>Anatomical Landmark</label></div> <div class="col-sm-4"> <select class="form-control" id="anatomical_landmark" name="anatomical_landmark"> <option value=''>Select</option> <option>Easily Palpable</option> <option>Poorly Palpable</option> <option>Non Palpable</option> </select> </div> </div><!--row--> <div class="row"> <div class="col-sm-3"><h5>Epidural Level</h5></div> <div class="col-sm-2"></div> <div class="col-sm-7"></div> </div><!--row--> <div class="row pt"> <div class="col-sm-1"></div> <div class="col-sm-3"> <input type="text" class="form-control text-center epidural1" name="epidural_level" id="epidu" style="margin-bottom:10px;" readonly> </div> <div class="col-sm-5"></div> <div class="col-sm-3"> <input type="text" class="form-control text-center spinal_level_input" name="epidural_type" id="epid_type" style="margin-bottom:10px;" readonly> </div> </div> <div class="row human-skeleton"> <div class="col-sm-12"> <img src="assets/images/Lev.png" class="img-fluid d-block mx-auto"> <button type="button" class="btn q C1-2" id="c1-2" value="C1-2">C1-2</button> <button type="button" class="btn q C2-3" id="c2-3" value="C2-3">C2-3</button> <button type="button" class="btn q C3-4" id="c2-4" value="C3-4">C3-4</button> <button type="button" class="btn q C4-5" id="c2-5" value="C4-5">C4-5</button> <button type="button" class="btn q C5-6" id="c2-6" value="C5-6">C5-6</button> <button type="button" class="btn q C6-7" id="c2-7" value="C6-7">C6-7</button> <button type="button" class="btn q C7-T1" id="c2-8" value="C7-T1">C7-T1</button> <button type="button" class="btn q T1-2" id="c2-9" value="T1-2">T1-2</button> <button type="button" class="btn q T2-3" id="c2-10" value="T2-3">T2-3</button> <button type="button" class="btn q T3-4" id="c2-11" value="T3-4">T3-4</button> <button type="button" class="btn q T4-5" id="c2-12" value="T4-5">T4-5</button> <button type="button" class="btn q T5-6" id="c2-13" value="T5-6">T5-6</button> <button type="button" class="btn q T6-7" id="c2-14" value="T6-7">T6-7</button> <button type="button" class="btn q T7-8" id="c2-15" value="T7-8">T7-8</button> <button type="button" class="btn q T8-9" id="c2-16" value="T8-9">T8-9</button> <button type="button" class="btn q T9-10" id="c2-17" value="T9-10">T9-10</button> <button type="button" class="btn q T10-11" id="c2-18" value="T10-11">T10-11</button> <button type="button" class="btn q T11-12" id="c2-19" value="T11-12">T11-12</button> <button type="button" class="btn q T12-L1" id="c2-20" value="T12-L1">T12-L1</button> <button type="button" class="btn q L1-2" id="c2-21" value="L1-2">L1-2</button> <button type="button" class="btn q L2-3" id="c2-22" value="L2-3">L2-3</button> <button type="button" class="btn q L3-4" id="c2-23" value="L3-4">L3-4</button> <button type="button" class="btn q L4-5" id="c2-24" value="L4-5">L4-5</button> <button type="button" class="btn q L5-S1" id="c2-25" value="L5-S1">L5-S1</button> <button type="button" class="btn q Caudal" id="c2-26" value="Caudal">Caudal</button> </div> </div><!--row--> <label><b>Ultrasound</label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-4"> <div class= "box_1"> <input type="hidden" class="switch_1" value="No" name="ultra_sound"> <input type="checkbox" class="switch_1" id="ultra_sound" value="Yes" name="ultra_sound" onclick="ultra()"> </div> </div> <div class="col-sm-6"></div> </div><!--row--> <div class="ultrasound"> <div class="row pt"> <div class="col-sm-2"></div> <div class="col-sm-2"><label>Probe Cover</label></div> <div class="col-sm-4"> <select class="form-control" id="probe_cover" name="probe_cover"> <option value=''>Select probe cover</option> <option>Yes</option> <option>No</option> </select> </div> <div class="col-sm-4"></div> </div><!--row--> <div class="row pt"> <div class="col-sm-2"></div> <div class="col-sm-2"><label>Image Quality</label></div> <div class="col-sm-4"> <select class="form-control" id="image_quality" name="image_quality"> <option value=''>Select image quality</option> <option>Good</option> <option>Average</option> <option>Poor</option> </select> </div> <div class="col-sm-4"></div> </div><!--row--> </div> <label><b>Needle Brand,Type and Size</label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-10"> <label>Select Epidural Needle Brand</label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-4"> <select class="form-control" id="need" name="needle_brand" onclick="needle()"> <option value=''>Select</option> <?php foreach($epidural_needle_brand as $key=>$master){ ?> <option><?php echo $master['name']; ?></option> <?php } ?> <option>Other</option> </select> <div class="needle"> <input type="text" class="form-control" name="Other1" id="Other1" style="margin-top: 12px;"> </div> </div> <div class="col-sm-6"></div> </div> </div> </div><!--row--> <div class="row pt"> <div class="col-sm-2"></div> <div class="col-sm-10"> <label>Select Epidural Needle Type</label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-4"> <select class="form-control" id="ty" name="needle_type" onclick="type1()"> <option value=''>Select</option> <?php foreach($epidural_needle_type as $key=>$master){ ?> <option><?php echo $master['name']; ?></option> <?php } ?> <option>Other</option> </select> <div class="type"> <input type="text" class="form-control" name="other6" id="other6" style="margin-top: 12px;"> </div> </div> <div class="col-sm-6"></div> </div> </div> </div><!--row--> <div class="row pt"> <div class="col-sm-2"></div> <div class="col-sm-10"> <label>Select Epidural Needle Size</label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-4"> <select class="form-control" id="size" name="needle_size"> <option value=''>Select</option> <option>16G</option> <option>17G</option> <option>18G</option> <option>19G</option> <option>20G</option> <option>21G</option> <option>22G</option> <option>23G</option> <option>24G</option> </select> </div> <div class="col-sm-6"></div> </div> </div> </div><!--row--> <label><b>Epidural Technique</label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-6"> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="lor_sal" value="LOR Saline">LOR Saline </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="air" value="LOR Air">LOR Air </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="hang" value="Hanging Drop">Hanging Drop </label> </div> <div class="form-check" style="margin-bottom: 5px;"> <label class="form-check-label" style="margin-right:163px;"> <input type="checkbox" class="form-check-input" id="oth" onclick="other()">Other </label> <span class="plus1" id="proced-plus"><button type="button" class="btn add1"><i class="fa fa-plus" aria-hidden="true"></i></button></span> </div> <div class="other"> <?php $z = $info['others']; $w = explode("-",$z); foreach($w as $val){ ?> <div class="row1"> <div id="proced-plus" style="display:flex; margin-bottom: 10px;"> <input type="text" class="form-control" name="others[]" value="<?php echo $val; ?>" style="width:220px;"> <button type="button" class="btn remove11"><i class="fa fa-times" aria-hidden="true"></i></button> </div> </div> <?php } ?> </div> </div> <div class="col-sm-4"></div> </div><!--row--> <div class="row pt"> <div class="col-sm-2"><label>Approach</label></div> <div class="col-sm-4"> <select class="form-control" id="approach" name="approach"> <option value=''>Select</option> <option>Midline</option> <option>Paramedian</option> </select> </div> </div><!--row--> <div class="row pt"> <div class="col-sm-2"><label>Number Of Attempts</label></div> <div class="col-sm-4"> <input type="number" class="form-control" name="no_attempts" id="no_attempts" value="<?php echo $info['no_attempts']; ?>" onfocusout="attempts()"> <small class="attempts" style="color:red; display:none;">please do not enter value more than 20</small> </div> </div><!--row--> <div class="row pt"> <div class="col-sm-2"><label>Epidural Depth(cm)</label></div> <div class="col-sm-4"> <input type="text" class="form-control" value="<?php echo $info['epidral_depth']; ?>" name="epidral_depth"> </div> </div><!--row--> <label>Technique</label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-8"> <div class="form-check"> <label class="form-check-label"> <input type="radio" class="form-check-input" id="single" onclick="hide2()" value="Single Shot" name="optradio1">Single Shot </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="radio" class="form-check-input" id="cath" onclick="catheter()" value="Catheter" name="optradio1">Catheter </label> </div> <div class="catheter"> <div class="pt" style="display:flex;"> <span>Catheter mark at Skin (cm)</span> <input type="text" class="form-control" name="cath_mark" value="<?php echo $info['cath_mark']; ?>" style="width:30%;"> </div> </div> </div> </div><!--row--> <div class="row"> <div class="col-sm-2"><label>Test Dose</label></div> <div class="col-sm-4"> <div class= "box_1"> <input type="hidden" class="switch_1" value="No" name="test_dose"> <input type="checkbox" class="switch_1" id="test_dose" value="Yes" name="test_dose"> </div> </div> <div class="col-sm-6"></div> </div><!--row--> <div class="row"> <div class="col-sm-2"><label>Intra Operative LA Regimen</label></div> <div class="col-sm-4"> <select class="form-control" id="la_regimen" name="la_regimen"> <option>Select</option> <option>Continous Infusion</option> <option>Intermitten Bolus</option> </select> </div> <div class="col-sm-6"></div> </div><!--row--> <!-- <label class="pt"><b>Total Intra Operative LA & Adjuvant Consumption<a href="#" class="tip" data-toggle="tooltip" data-placement="bottom" title="This includes Test Dose,Initial Dose and Total Intra Operative Use"><i class="fa fa-info-circle" aria-hidden="true"></i></a></b></label> --> <h5 class="bt"><b>Total Intra Operative LA & Adjuvant Consumption</b> <div class="tooltip-4"> <i class="fa fa-info-circle" aria-hidden="true"></i> <div class="right-4"> <div class="text-content-4"> <h6>This includes Test Dose,Initial Dose and Total Intra Operative Use</h6> <i></i> </div> </div> </div> </h5> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-10"> <label>Local Anaesthetic</label> <div class="pac-box"> <div class="pacu-1"><p>Ropivacaine</p></div> <div class="pacu-1-x"> <select class="form-control" id="ropivacaine" name="ropivacaine"> <option>Select</option> <option>Without Adrenaline</option> <option>With Adrenaline</option> </select> </div> <div class="pacu-1" id="id"> <input type="number" class="form-control" name="ropi_per" id="ropi_per"><span style="padding-top:5px;">%</span> </div> <div class="pacu-1" id="id"> <input type="number" class="form-control" name="ropi_ml" id="ropi_ml"><span style="padding-top:5px;">ml</span> </div> <div class="pacu-1" id="id"> <input type="text" class="form-control" name="ropi_mg" id="ropi_mg"><span style="padding-top:5px;">mg</span> </div> </div><!--pac-box--> <div class="pac-box"> <div class="pacu-1"><p>Bupivacaine</p></div> <div class="pacu-1-x"> <select class="form-control" id="bupivacaine" name="bupivacaine"> <option>Select</option> <option>Without Adrenaline</option> <option>With Adrenaline</option> </select> </div> <div class="pacu-1" id="id"> <input type="number" class="form-control" name="bupi_per" id="bupi_per"><span style="padding-top:5px;">%</span> </div> <div class="pacu-1" id="id"> <input type="number" class="form-control" name="bupi_ml" id="bupi_ml"><span style="padding-top:5px;">ml</span> </div> <div class="pacu-1" id="id"> <input type="text" class="form-control" name="bupi_mg" id="bupi_mg"><span style="padding-top:5px;">mg</span> </div> </div><!--pac-box--> <div class="pac-box"> <div class="pacu-1"><p>Levobupivacaine</p></div> <div class="pacu-1-x"> <select class="form-control" id="levobupivacaine" name="levobupivacaine"> <option>Select</option> <option>Without Adrenaline</option> <option>With Adrenaline</option> </select> </div> <div class="pacu-1" id="id"> <input type="number" class="form-control" name="levo_per" id="levo_per"><span style="padding-top:5px;">%</span> </div> <div class="pacu-1" id="id"> <input type="number" class="form-control" name="levo_ml" id="levo_ml"><span style="padding-top:5px;">ml</span> </div> <div class="pacu-1" id="id"> <input type="text" class="form-control"name="levo_mg" id="levo_mg"><span style="padding-top:5px;">mg</span> </div> </div><!--pac-box--> <div class="pac-box"> <div class="pacu-1"><p>Lignocaine</p></div> <div class="pacu-1-x"> <select class="form-control" id="Lignocaine" name="Lignocaine"> <option>Select</option> <option>Without Adrenaline</option> <option>With Adrenaline</option> </select> </div> <div class="pacu-1" id="id"> <input type="number" class="form-control" name="ligno_per" id="ligno_per"><span style="padding-top:5px;">%</span> </div> <div class="pacu-1" id="id"> <input type="number" class="form-control" name="ligno_ml" id="ligno_ml"><span style="padding-top:5px;">ml</span> </div> <div class="pacu-1" id="id"> <input type="text" class="form-control" name="ligno_mg" id="ligno_mg" ><span style="padding-top:5px;">mg</span> </div> </div><!--pac-box--> </div><!--col-10--> </div><!--row--> <div class="row pt"> <div class="col-sm-2"></div> <div class="col-sm-10"> <label><b>Adjuvant</label> <div class= "box_1"> <input type="checkbox" class="switch_1" id="adju" onclick="adjuvant()"> </div> <div class="adjuvant" style="border:1px solid lightgrey;border-radius: 8px;padding: 12px;"> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="opio" onclick="opioid()">Opioid </label> <span class="plus2" id="proced-plus"><button type="button" class="btn add2"><i class="fa fa-plus" aria-hidden="true"></i></button></span> </div> <div class="pt" id="proced-plus" style=""> <div class="opioid"> <?php $zz = $info['opioid_name']; $ww = $info['opioid_dose']; $k = explode(",",$zz); $t = explode(",",$ww); foreach($k as $key=>$val){ ?> <div class="row11"> <div class="row" style="margin-left:3%;"> <div class="col-sm-5"><span>Opioid Name</span></div> <div class="col-sm-7" style="display:flex;"><input type="text" class="form-control" name="opioid_name[]" value="<?php echo $val; ?>"><button type="button" class="btn remove22"><i class="fa fa-times" aria-hidden="true"></i></button></div> </div><!--row--> <div class="row pt" style="margin-left:3%;"> <div class="col-sm-5"><span>Opioid Dose(microgram equivalent)</span></div> <div class="col-sm-7"><input type="text" class="form-control" name="opioid_dose[]" value="<?php echo $t[$key]; ?>"></div> </div><!--row--> </div> <?php } ?> </div> <div class="row pt"> <div class="col-sm-5"> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="clon" onclick="Clonidne()">Clonidne with Dose(mcgm) </label> </div> </div> <div class="col-sm-7"><input type="text" class="form-control" name="clonidne" id="clon1" value="<?php echo $info['clonidina_dose']; ?>" readonly></div> </div><!--row--> <div class="row pt"> <div class="col-sm-5"> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="dex" onclick="Dexmeditomidine()">Dexmeditomidine with Dose(mcgm) </label> </div> </div> <div class="col-sm-7"><input type="text" class="form-control" name="dexmeditomidine" id="dex1" value="<?php echo $info['dexmeditomidine_dose']; ?>" readonly></div> </div><!--row--> <div class="row pt"> <div class="col-sm-5"> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="dexa" onclick="Dexamethasone()">Dexamethasone with Dose(mg) </label> </div> </div> <div class="col-sm-7"><input type="text" class="form-control" name="dexamethasone" id="dexa1" value="<?php echo $info['dexamephasone_dose']; ?>" readonly></div> </div><!--row--> <div class="row pt"> <div class="col-sm-5"> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="tram" onclick="Tramadol()">Tramadol with Dose(mg) </label> </div> </div> <div class="col-sm-7"><input type="text" class="form-control" name="tramadol" id="tram1" value="<?php echo $info['tramadol_dose']; ?>" readonly></div> </div><!--row--> <div class="row pt"> <div class="col-sm-5"> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="keta" onclick="ketamine()">Ketamine with dose(mg) </label> </div> </div> <div class="col-sm-7"><input type="text" class="form-control" name="ketamin" id="keta1" value="<?php echo $info['kepamine_dose']; ?>" readonly></div> </div><!--row--> <div class="row pt"> <div class="col-sm-5"> <div class="form-check"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="mida" onclick="Midazolam()">Midazolam with dose(mg) </label> </div> </div> <div class="col-sm-7"><input type="text" class="form-control" name="midazolam" id="mida1" value="<?php echo $info['midazolam_dose']; ?>" readonly></div> </div><!--row--> <div class="row"> <div class="col-sm-8"> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="Other7"> <input type="checkbox" class="form-check-input" value="Yes" name="Other7" id="oth1" onclick="other1()">Other </label> <span class="plus3" id="proced-plus"><button type="button" class="btn add3"><i class="fa fa-plus" aria-hidden="true"></i></button></span> </div> <div class="other1"> <?php $zk = $info['aj_name']; $wk = $info['aj_dose']; $ks = explode(",",$zk); $ts = explode(",",$wk); foreach($ks as $key=>$val){ ?> <div class="row21"> <div class="row pt"> <div class="col-sm-4"><span>Adjuvant Name</span></div> <div class="col-sm-7" id="proced-plus" style="display: flex;"><input type="text" class="form-control" name="aj_name[]" value="<?php echo $val; ?>"><button type="button" class="btn remove33"><i class="fa fa-times" aria-hidden="true"></i></button></div> <div class="col-sm-1"></div> </div> <div class="row pt"> <div class="col-sm-4"><span>Adjuvant Dose(mg)</span></div> <div class="col-sm-7"><input type="text" class="form-control" name="aj_dose[]" value="<?php echo $ts[$key]; ?>"></div> <div class="col-sm-1"></div> </div> </div> <?php } ?> </div><!--other1 ends--> </div> </div><!--row--> </div> </div><!--Adjuvant ends--> </div> </div><!--row--> <label class="pt"><b>Analgesia supplementation required<span class="mandat">*</span></b> <small class="supple" style="color:red; font-style: oblique; display:none;">please select analgesia supplementation</small></label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-10"> <div class= "box_1"> <input type="checkbox" class="switch_1" id="ana" onclick="analgesia()"> </div> <div class="analgesia"> <div class="analg-box"> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="in_analgesia"> <input type="checkbox" class="form-check-input" value="Yes" id="in_analgesia" name="in_analgesia">Inhalation Analgesia </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="asr_iv_analgesia"> <input type="checkbox" class="form-check-input" value="Yes" name="asr_iv_analgesia" id="gesi" onclick="gesia()">IV Analgesia </label> </div> <div class="gesia"> <div class="form-check" style="margin-left: 3%;"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="Opioids"> <input type="checkbox" class="form-check-input" value="Yes" name="Opioids" id="opi" onclick="opioids()">Opioids </label> <span class="plus4" id="proced-plus"><button type="button" class="btn add4"><i class="fa fa-plus" aria-hidden="true"></i></button></span> </div> <div class="opioids"> <?php $zs = $info['asr_opioid_name']; $ws = $info['asr_opioid_dose']; $kk = explode(",",$zs); $ss = explode(",",$ws); foreach($kk as $key=>$val){ ?> <div class="row22"> <div class="row" style="margin-left: 3%;"> <div class="col-sm-5"> <span>Opioid Name</span> </div> <div class="col-sm-7" id="proced-plus" style="display: flex;"><input type="text" class="form-control" name="asr_opioid_name[]" value="<?php echo $val; ?>"><button type="button" class="btn remove44"><i class="fa fa-times" aria-hidden="true"></i></button></div> </div><!--row--> <div class="row pt" style="margin-left: 3%;"> <div class="col-sm-5"><span>Opioid Dose(microgram equivalent)</span></div> <div class="col-sm-7"><input type="text" class="form-control" name="asr_opioid_dose[]" value="<?php echo $ss[$key]; ?>"></div> </div><!--row--> </div> <?php } ?> </div><!--opioids ends--> <div class="form-check" style="margin-left: 3%;"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="asr_multimode"> <input type="checkbox" class="form-check-input" value="Yes" name="asr_multimode" id="multi" onclick="multianal()">Multi-Modal Analgesia </label> </div> <div class="multianal"> <div class="form-check" style="margin-left: 25px;"> <label class="form-check-label"> <<input type="hidden" class="form-check-input" value="No" name="Ketamine1"> <input type="checkbox" class="form-check-input" value="Yes" id="ket" name="Ketamine1">Ketamine </label> </div> <!-- <div class="form-check" style="margin-left: 5%;"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="Dexmedeto"> <input type="checkbox" class="form-check-input" value="Yes" id="dexs" name="Dexmedeto">Dexmedetomidine </label> </div> <div class="form-check" style="margin-left: 5%;"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="Cloni"> <input type="checkbox" class="form-check-input" value="Yes" id="clos" name="Cloni">Clonidine </label> </div> <div class="form-check" style="margin-left: 5%;"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="Trama"> <input type="checkbox" class="form-check-input" value="Yes" id="tras" name="Trama">Tramadol </label> </div> <div class="form-check" style="margin-left: 5%;"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="Magnes"> <input type="checkbox" class="form-check-input" value="Yes" id="mags" name="Magnes">Magnesium </label> </div> --> <div class="form-check" style="margin-left: 5%;"> <label class="form-check-label"> <input type="checkbox" class="form-check-input" id="adjunc" onclick="adjuncts()">Other IV Adjuncts </label> </div> <div class="adjuncts"> <div class="row"> <div class="col-sm-1"></div> <div class="col-sm-3"><label>Adjuvant Name</label></div> <div class="col-sm-4"> <input type="text" class="form-control" name="asr_other_iv_name" value="<?php echo $info['asr_other_iv_name']; ?>"> </div> <div class="col-sm-4"></div> </div> <div class="row pt"> <div class="col-sm-1"></div> <div class="col-sm-3"><label>Adjuvant Dose(mg)</label></div> <div class="col-sm-4"> <input type="text" class="form-control" name="asr_other_iv_dose" value="<?php echo $info['asr_other_iv_dose']; ?>"> </div> <div class="col-sm-4"></div> </div> </div><!--adjuncts ends--> </div><!--multianal ends--> </div><!--gesia ends--> </div><!--analg-box ends--> </div><!--analgesia ends--> </div><!--col-10--> </div><!--row--> <label class="pt"><b>Technical complications<span class="mandat">*</span></b> <!-- <a href="#" data-toggle="tooltip" title=""><i class="fa fa-info-circle" aria-hidden="true"></i></a> --> <small class="techie" style="color:red; font-style: oblique; display:none;">please select technical complications</small></label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-10"> <div class= "box_1"> <input type="checkbox" class="switch_1" id="tech" onclick="technical()"> </div> <div class="technical"> <div class="tech-compli"> <ul style="margin-bottom:0px;padding-left: 0;"> <li> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="tc_equipment"> <input type="checkbox" class="form-check-input" value="Yes" id="tc_equipment" name="tc_equipment">Equipment related </label> </div> </li> </ul> <ul style="margin-bottom:0px;padding-left: 0;"> <li> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="tc_multiple"> <input type="checkbox" class="form-check-input" value="Yes" id="tc_multiple" name="tc_multiple">Multiple attempts </label> </div> </li> </ul> <ul style="margin-bottom:0px;padding-left: 0;"> <li> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="tc_2_anaestsetist"> <input type="checkbox" class="form-check-input" value="Yes" id="tc_2_anaestsetist" name="tc_2_anaestsetist">2nd Anaesthetist </label> </div> </li> </ul> <ul style="margin-bottom:0px;padding-left: 0;"> <li> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="tc_abondoned"> <input type="checkbox" class="form-check-input" value="Yes" id="tc_abondoned" name="tc_abondoned">Technique abandoned/failure to find space </label> </div> </li> </ul> <ul style="margin-bottom:0px;padding-left: 0;"> <li> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="tc_catheter"> <input type="checkbox" class="form-check-input" value="Yes" id="tc_catheter" name="tc_catheter">Catheter related </label> </div> </li> </ul> <ul style="margin-bottom:0px;padding-left: 0;"> <li> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="tc_other"> <input type="checkbox" class="form-check-input" value="Yes" id="tc_other" name="tc_other" id="tc_other" onclick="other2()">Other </label> </div> </li> </ul> <ul style="margin-bottom:0px;padding-left: 0;"> <li> <input type="text" class="form-control" id="othe1" value="<?php echo $info['other5']; ?>" name="other4" readonly> </li> </ul> </div> </div><!--technical ends--> </div> </div><!--row--> <label class="pt"><b>Acute complications<span class="mandat">*</span></b> <small class="acuted" style="color:red; font-style: oblique; display:none;">please select acute complications</small></label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-10"> <div class= "box_1"> <input type="checkbox" class="switch_1" id="acu" onclick="acute()"> </div> <div class="acute"> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_last"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_last" name="ac_last">Local Anaesthetic systemic toxicity(LAST) </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_radi_pain"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_radi_pain" name="ac_radi_pain">Radicular Pain (needle/catheter) </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_parestsesia"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_parestsesia" name="ac_parestsesia">Paresthesia Pain (needle/catheter) </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_bloody_tap"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_bloody_tap" name="ac_bloody_tap">Bloody Tap (needle/catheter) </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_intra_cath"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_intra_cath" name="ac_intra_cath">Intrathecal migration of epidural catheter </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_hypoten"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_hypoten" name="ac_hypoten">Hypotension<!-- <a href="#" class="tip" data-toggle="tooltip" data-placement="bottom" title="20% drop from baseline or SBP,90mmHg"><i class="fa fa-info-circle" aria-hidden="true"></i></a> --> <div class="tooltip-5"> <i class="fa fa-info-circle" aria-hidden="true"></i> <div class="right-5"> <div class="text-content-5"> <h6>20% drop from baseline or SBP,90mmHg.</h6> <i></i> </div> </div> </div> </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_nausea"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_nausea" name="ac_nausea">Nausea </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_vomit"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_vomit" name="ac_vomit">Vomiting </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_high_block"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_high_block" name="ac_high_block">High Block <!-- <a href="#" data-toggle="tooltip" title="hi"><i class="fa fa-info-circle" aria-hidden="true"></i></a> --> </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_sb_block"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_sb_block" name="ac_sb_block">Subdural Block </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_total_spinal"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_total_spinal" name="ac_total_spinal">Total Spinal<!-- <a href="#" data-toggle="tooltip" title="hi"><i class="fa fa-info-circle" aria-hidden="true"></i></a> --> </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_re_arrest"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_re_arrest" name="ac_re_arrest">Respiratory Arrest </label> </div> <div class="form-check"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_ca_arrest"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_ca_arrest" name="ac_ca_arrest">Cardiac Arrest </label> </div> <div class="form-check" style="display: flex;"> <label class="form-check-label"> <input type="hidden" class="form-check-input" value="No" name="ac_other"> <input type="checkbox" class="form-check-input" value="Yes" id="ac_other" name="ac_other" id="ac_other" onclick="other3()">Other </label> <input type="text" class="form-control" name="other5" id="ot1" value="<?php echo $info['other2']; ?>" style="width: 30%;" readonly> </div> </div><!--acute ends--> </div> </div><!--row--> <label class="pt"><b>Success<span class="mandat">*</span></b><!-- <a href="#" data-toggle="tooltip" data-placement="bottom" class="tip" title="Please consider the purpose of CNB along with the below definition Purpose of CNB 1: Sole/Primary anaesthetic 2: Analgesic purpose only.Success is defined as successful puncture and injection of Local anaesthetics in the desired neuraxial space along with development of block characteristics of sensory and/or motor blockade."><i class="fa fa-info-circle" aria-hidden="true"></i></a> --> <div class="tooltip-6"> <i class="fa fa-info-circle" aria-hidden="true"></i> <div class="right-6"> <div class="text-content-6"> <h6>Please consider the purpose of CNB along with the below definition Purpose of CNB 1: Sole/Primary anaesthetic 2: Analgesic purpose only.Success is defined as successful puncture and injection of Local anaesthetics in the desired neuraxial space along with development of block characteristics of sensory and/or motor blockade.</h6> <i></i> </div> </div> </div> <small class="succes" style="color:red; display:none;">please choose success status</small></label> <div class="row"> <div class="col-sm-2"></div> <div class="col-sm-6"> <div class="form-check"> <label class="form-check-label"> <input type="radio" class="form-check-input" id="com" value="Complete Success" name="optradio2" onclick="complete()">Complete Success<!-- <a href="#" class="tip" data-toggle="tooltip" title="Complete Success: With the above condition being met, the purpose of CNB should be met adequately without any significant requirements of intravenous or inhalational anaesthetics, hypnotics and analgesics to perform the surgery.Use of the above agents in minimal amounts to provide patient comfort for incidental discomfort is acceptable.If used as analgesic purpose only, the cumulative intra-operative and postoperative opioids requirements should be nil or very minimal."><i class="fa fa-info-circle" aria-hidden="true"></i></a> --> <div class="tooltip-7"> <i class="fa fa-info-circle" aria-hidden="true"></i> <div class="right-7"> <div class="text-content-7"> <h6>Complete Success: With the above condition being met, the purpose of CNB should be met adequately without any significant requirements of intravenous or inhalational anaesthetics, hypnotics and analgesics to perform the surgery.Use of the above agents in minimal amounts to provide patient comfort for incidental discomfort is acceptable.If used as analgesic purpose only, the cumulative intra-operative and postoperative opioids requirements should be nil or very minimal.</h6> <i></i> </div> </div> </div> </label> </div> <ul class="success-list"> <li>Onset</li> <li><input type="text" class="form-control" name="comp1" id="com1" readonly></li> <li>(Mins)</li> </ul> <div class="form-check"> <label class="form-check-label"> <input type="radio" class="form-check-input" id="par" value="Partial Success" name="optradio2" onclick="partial()">Partial Success<!-- <a href="#" data-toggle="tooltip" data-placement="bottom" class="tip" title="Partial Succes: With the above block success definition being satisfied, the purpose of CNB is being met with some additional intravenous analgesics / inhalationals including but not restricted to LA infiltration, opioids, ketamine, hypnotics.If used as analgesic purpose only, the cumulative intra-operative and postoperative pain and opioids requirements are moderate."><i class="fa fa-info-circle" aria-hidden="true"></i></a> --> <div class="tooltip-8"> <i class="fa fa-info-circle" aria-hidden="true"></i> <div class="right-8"> <div class="text-content-8"> <h6>Partial Succes: With the above block success definition being satisfied, the purpose of CNB is being met with some additional intravenous analgesics / inhalationals including but not restricted to LA infiltration, opioids, ketamine, hypnotics.If used as analgesic purpose only, the cumulative intra-operative and postoperative pain and opioids requirements are moderate.</h6> <i></i> </div> </div> </div> </label> </div> <ul class="success-list"> <li>Onset</li> <li><input type="text" class="form-control" name="part" id="par1" readonly></li> <li>(Mins)</li> </ul> <div class="form-check"> <label class="form-check-label"> <input type="radio" class="form-check-input" value="Failure" name="optradio2" id="fail" onclick="failure()">Failure<!-- <a href="#" data-toggle="tooltip" data-placement="bottom" class="tip" title="Failure: Defined as failure to enter the required space, failure to achieve required sensory /motor block. Conversion to GA or very high opioid/ ketamine or hypnotic requirements."><i class="fa fa-info-circle" aria-hidden="true"></i></a> --> <div class="tooltip-9"> <i class="fa fa-info-circle" aria-hidden="true"></i> <div class="right-9"> <div class="text-content-9"> <h6>Failure: Defined as failure to enter the required space, failure to achieve required sensory /motor block. Conversion to GA or very high opioid/ ketamine or hypnotic requirements.</h6> <i></i> </div> </div> </div> </label> </div> </div> <div class="col-sm-4"></div> </div><!--row--> <label class="pt"><b>Sensory Level</b><span class="mandat">*</span><a href="#" class="tip" data-toggle="tooltip" data-placement="bottom" title="Content not provided"><i class="fa fa-info-circle" aria-hidden="true"></i></a></label> <div class="row"> <div class="col-sm-6"> <div class="sensor-table"> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <th></th> <th colspan="2">Cold</th> <th colspan="2">Touch</th> <th colspan="2">Pin Prick</th> </tr> <tr> <th></th> <th>L</th> <th>R</th> <th>L</th> <th>R</th> <th>L</th> <th>R</th> </tr> </thead> <tbody> <tr> <td>C1</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C2</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C3</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C4</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C5</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C6</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C7</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>C8</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T1</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T2</td> <td id="bg-t2"></td> <td id="bg-t2"></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T3</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T4</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T5</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T6</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T7</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T8</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T9</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T10</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T11</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>T12</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L1</td> <td id="bg-l1"></td> <td id="bg-l1"></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L2</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L3</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L4</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> <tr> <td>L5</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td> </tr> </tbody> </table> </div> </div><!--sensor-table--> <div class="index-color"> <ul> <li><div class="highest"></div></li> <li><span>Highest Sensory Level</span></li> </ul> <ul> <li><div class="lowest"></div></li> <li><span>Lowest Sensory Level</span></li> </ul> </div> </div> <div class="col-sm-6"> <img src="assets/images/Dermo.png" class="img-fluid d-block mx-auto"> </div> </div><!--row--> <h4><b>Motor Level (Bromage Score)<span class="mandat">*</span></b></h4> <div class="row"> <div class="col-sm-3"></div> <div class="col-sm-6"> <select class="form-control" name="motor_level" id="motor_level" onfocusout="checkmotor()"> <option>Select</option> <option>0(Free movement of legs and feet)</option> <option>1(Just able to fix knees with free movement of feet)</option> <option>2(Unable to flex Knees,but with free movement of feet)</option> <option>3(Unable to move legs or feet)</option> </select> <small class="motro" style="color:red; display:none;">please enter motor level</small> <img src="assets/images/Bromo.png" class="img-fluid d-block mx-auto"> </div> <div class="col-sm-3"></div> </div><!--row--> <div class="duration"> <ul> <li><label>Onset of surgical Anaesthesia</label></li> <li><input type="text" class="form-control" name="surgical_anaesthesia" value="<?php echo $info['surgical_anaesthesia']; ?>"></li> <li><label>mins</label></li> </ul> </div><!--row--> <div class="duration"> <ul> <li><label>Duration of Surgery</label></li> <li><input type="text" class="form-control" name="surgery_duration" value="<?php echo $info['surgery_duration']; ?>"></li> <li><label>mins</label></li> </ul> </div><!--row--> <div class="duration"> <ul> <li><label>Blood Loss</label></li> <li><input type="text" class="form-control" name="blood_loss" value="<?php echo $info['blood_loss']; ?>"></li> <li><label>ml</label></li> </ul> </div><!--row--> <div class="duration"> <ul> <li><label>Vasopressor Use</label></li> <li> <div class="box_1"> <input type="hidden" class="switch_1" value="No" name="vasopressor_use"> <input type="checkbox" class="switch_1" value="Yes" id="vasopressor_use" name="vasopressor_use"> </div> </li> </ul> </div><!--row--> <div class="row"> <div class="col-sm-7"></div> <div class="col-sm-5"> <button type="submit" class="btn-save update">Update</button> <button type="button" class="btn-close" id="clo">Reset</button> </div> </div><!--row--> </form> </div><!--modal-body--> </div> </div> </div> </section> <!-- '<?php// echo count($w); ?>' --> <script type="text/javascript"> $(document).ready(function(){ var i=1; var j=1; var k=1; var l=1; $(".add1").click(function(){ if(i<3){ i++; $(".other").append('<div class="row"><div class="col-sm-12" id="proced-plus" style="display:flex; margin-bottom:10px;"><input type="text" class="form-control" name="others[]" style="width:220px;"><button type="button" class="btn remove1"><i class="fa fa-times" aria-hidden="true"></i></button></div></div>'); } }); $(".add2").click(function(){ if(j<3){ j++; $(".opioid").append('<div class="row2"><div class="row" style="margin-left:3%;"><div class="col-sm-5"><span>Opioid Name</span></div><div class="col-sm-7" style="display:flex;"><input type="text" class="form-control" name="opioid_name[]"><button type="button" class="btn remove2"><i class="fa fa-times" aria-hidden="true"></i></button></div></div><div class="row pt" style="margin-left:3%;"><div class="col-sm-5"><span>Opioid Dose(microgram equivalent)</span></div><div class="col-sm-7"><input type="text" class="form-control" name="opioid_dose[]"></div></div></div>'); } }); $(".add3").click(function(){ if(k<3){ k++; $(".other1").append('<div class="row3"><div class="row pt"><div class="col-sm-4"><span>Adjuvant Name</span></div><div class="col-sm-7" id="proced-plus" style="display: flex;"><input type="text" class="form-control" name="aj_name[]"><button type="button" class="btn remove3"><i class="fa fa-times" aria-hidden="true"></i></button></div><div class="col-sm-1"></div></div><div class="row pt"><div class="col-sm-4"><span>Adjuvant Dose(mg)</span></div><div class="col-sm-7"><input type="text" class="form-control" name="aj_dose[]"></div><div class="col-sm-1"></div></div></div>'); } }); $(".add4").click(function(){ if(l<3){ l++; $(".opioids").append('<div class="row4"><div class="row" style="margin-left: 3%;"><div class="col-sm-5"><span>Opioid Name</span></div><div class="col-sm-7" id="proced-plus" style="display: flex;"><input type="text" class="form-control" name="asr_opioid_name[]" ><button type="button" class="btn remove4"><i class="fa fa-times" aria-hidden="true"></i></button></div></div><div class="row pt" style="margin-left: 3%;"><div class="col-sm-5"><span>Opioid Dose(microgram equivalent)</span></div><div class="col-sm-7"><input type="text" class="form-control" name="asr_opioid_dose[]"></div></div></div>'); } }); $(document).on('click','.remove1',function(){ i--; $(this).closest('.row').remove(); }); $(document).on('click','.remove2',function(){ j--; $(this).closest('.row2').remove(); }); $(document).on('click','.remove3',function(){ k--; $(this).closest('.row3').remove(); }); $(document).on('click','.remove4',function(){ l--; $(this).closest('.row4').remove(); }); $(document).on('click','.remove11',function(){ $(this).closest('.row1').remove(); }); $(document).on('click','.remove22',function(){ $(this).closest('.row11').remove(); }); $(document).on('click','.remove33',function(){ $(this).closest('.row21').remove(); }); $(document).on('click','.remove44',function(){ $(this).closest('.row22').remove(); }); }); $(document).ready(function(){ $('.ultrasound').hide(); $('.needle').hide(); $('.type').hide(); $('.other').hide(); $('.plus1').hide(); $('.plus2').hide(); $('.plus3').hide(); $('.plus4').hide(); $('.catheter').hide(); $('.adjuvant').hide(); $('.opioid').hide(); $('.other1').hide(); $('.analgesia').hide(); $('.gesia').hide(); $('.opioids').hide(); $('.multianal').hide(); $('.adjuncts').hide(); $('.technical').hide(); $('.acute').hide(); var cc = "<?php echo $info['ultrasound']; ?>"; var dd = "<?php echo $info['probe_cover']; ?>"; var ee = "<?php echo $info['image_quality']; ?>"; if(cc=="Yes"){ $('#ultra_sound').attr("checked",true); $('.ultrasound').show(); $('#probe_cover').val(dd); $('#image_quality').val(ee); } var wa = "<?php echo $info['needle_type']; ?>"; var xq = "<?php echo $info['other6']; ?>"; $('#ty').val(wa); if(wa == 'Other'){ $('.type').show(); $('#other6').val(xq); } var vc = "<?php echo $info['needle_brand']; ?>"; var qq = "<?php echo $info['other4']; ?>"; $('#need').val(vc); if(vc == 'Other'){ $('.needle').show(); $('#Other1').val(qq); } var ca = "<?php echo $info['others']; ?>"; if(ca){ $('#oth').attr("checked",true); $(".other").show(); $('.plus1').show(); } var tt = "<?php echo $info['technique']; ?>"; if(tt=="Single Shot"){ $('#single')[0].checked = true; $('.catheter').hide(); }else{ $('#cath')[0].checked = true; $('.catheter').show(); } var ccc = "<?php echo $info['opioid_name']; ?>"; var qqq = "<?php echo $info['clonidina_dose']; ?>"; var vcs = "<?php echo $info['dexmeditomidine_dose']; ?>"; var qrq = "<?php echo $info['dexamephasone_dose']; ?>"; var mm = "<?php echo $info['tramadol_dose']; ?>"; var mu = "<?php echo $info['kepamine_dose']; ?>"; var qvc = "<?php echo $info['midazolam_dose']; ?>"; var qtq = "<?php echo $info['other7']; ?>"; if((ccc)||(qqq)||(vcs)||(qrq)||(mm)||(mu)||(qvc)||(qtq)){ $('#adju').attr("checked",true); $('.adjuvant').show(); } var caa = "<?php echo $info['opioid_name']; ?>"; if(caa){ $('#opio').attr("checked",true); $('.opioid').show(); $('.plus2').show(); } var cz = "<?php echo $info['other7']; ?>"; if(cz=="Yes"){ $('#oth1').attr("checked",true); $('.other1').show(); $('.plus3').show(); } var csc = "<?php echo $info['in_analgesia']; ?>"; var qsq = "<?php echo $info['asr_iv_analgesia']; ?>"; if((csc == "Yes")||(qsq == "Yes")){ $('#ana').attr("checked",true); $('.analgesia').show(); } var be = "<?php echo $info['asr_iv_analgesia']; ?>"; if(be=="Yes"){ $('#gesi').attr("checked",true); $('.gesia').show(); } var bk = "<?php echo $info['opioids']; ?>"; if(bk=="Yes"){ $('#opi').attr("checked",true); $('.opioids').show(); $('.plus4').show(); } var kj = "<?php echo $info['asr_multimode']; ?>"; if(kj=="Yes"){ $('#multi').attr("checked",true); $('.multianal').show(); } var kz = "<?php echo $info['asr_other_iv_name']; ?>"; if(kz){ $('#adjunc').attr("checked",true); $('.adjuncts').show(); } var gc = "<?php echo $info['tc_equipment']; ?>"; var gq = "<?php echo $info['tc_multiple']; ?>"; var gs = "<?php echo $info['tc_2_anaestsetist']; ?>"; var gr = "<?php echo $info['tc_abondoned']; ?>"; var gm = "<?php echo $info['tc_catheter']; ?>"; var gu = "<?php echo $info['tc_other']; ?>"; if((gc == "Yes")||(gq == "Yes")||(gs == "Yes")||(gr == "Yes")||(gm == "Yes")||(gu == "Yes")){ $('#tech').attr("checked",true); $('.technical').show(); } if(gc == "Yes"){ $('#tc_equipment').attr("checked",true); } if(gq == "Yes"){ $('#tc_multiple').attr("checked",true); } if(gs == "Yes"){ $('#tc_2_anaestsetist').attr("checked",true); } if(gr == "Yes"){ $('#tc_abondoned').attr("checked",true); } if(gm == "Yes"){ $('#tc_catheter').attr("checked",true); } if(gu == "Yes"){ $('#tc_other').attr("checked",true); $("#othe1").attr("readonly", false); } var xc = "<?php echo $info['ac_ep_resited']; ?>"; var xa = "<?php echo $info['ac_last']; ?>"; var xb = "<?php echo $info['ac_re_arrest']; ?>"; var xd = "<?php echo $info['ac_ca_arrest']; ?>"; var xe = "<?php echo $info['ac_radi_pain']; ?>"; var xf = "<?php echo $info['ac_parestsesia']; ?>"; var xg = "<?php echo $info['ac_bloody_tap']; ?>"; var xh = "<?php echo $info['ac_intra_cath']; ?>"; var xi = "<?php echo $info['ac_wet_tap']; ?>"; var xj = "<?php echo $info['ac_hypoten']; ?>"; var xk = "<?php echo $info['ac_nausea']; ?>"; var xl = "<?php echo $info['ac_vomit']; ?>"; var xm = "<?php echo $info['ac_high_block']; ?>"; var xn = "<?php echo $info['ac_sb_block']; ?>"; var xo = "<?php echo $info['ac_motor_block']; ?>"; var xp = "<?php echo $info['ac_totla_spinal']; ?>"; var xq = "<?php echo $info['ac_adp']; ?>"; var xr = "<?php echo $info['ac_other']; ?>"; if((xc == "Yes")||(xa == "Yes")||(xb == "Yes")||(xd == "Yes")||(xe == "Yes")||(xf == "Yes") ||(xg == "Yes")||(xh == "Yes")||(xi == "Yes")||(xj == "Yes")||(xk == "Yes")||(xl == "Yes") ||(xm == "Yes")||(xn == "Yes")||(xo == "Yes")||(xp == "Yes")||(xq == "Yes")||(xr == "Yes")){ $('#acu').attr("checked",true); $('.acute').show(); } if(xc == "Yes"){ $('#ac_ep_resited').attr("checked",true); } if(xa == "Yes"){ $('#ac_last').attr("checked",true); } if(xb == "Yes"){ $('#ac_re_arrest').attr("checked",true); } if(xd == "Yes"){ $('#ac_ca_arrest').attr("checked",true); } if(xe == "Yes"){ $('#ac_radi_pain').attr("checked",true); } if(xf == "Yes"){ $('#ac_parestsesia').attr("checked",true); } if(xg == "Yes"){ $('#ac_bloody_tap').attr("checked",true); } if(xh == "Yes"){ $('#ac_intra_cath').attr("checked",true); } if(xi == "Yes"){ $('#ac_wet_tap').attr("checked",true); } if(xj == "Yes"){ $('#ac_hypoten').attr("checked",true); } if(xk == "Yes"){ $('#ac_nausea').attr("checked",true); } if(xl == "Yes"){ $('#ac_vomit').attr("checked",true); } if(xm == "Yes"){ $('#ac_high_block').attr("checked",true); } if(xn == "Yes"){ $('#ac_sb_block').attr("checked",true); } if(xo == "Yes"){ $('#ac_motor_block').attr("checked",true); } if(xp == "Yes"){ $('#ac_total_spinal').attr("checked",true); } if(xq == "Yes"){ $('#ac_adp').attr("checked",true); } if(xr == "Yes"){ $('#ac_other').attr("checked",true); $("#ot1").attr("readonly", false); } }); function attempts(){ var att = $('#no_attempts').val(); if(att>20){ $('.attempts').show(); toastr.error('please do not enter value more than 20'); } else $('.attempts').hide(); } function show(){ $(".pts").show(); } function hide(){ $(".pts").hide(); } $(".q"). click(function() { var button = $(this).val(); $(this).css("background", "red").css("color", "white").siblings().css("background", "white").css("color", "black"); $('#epidu').val(button); var firstChar = button.charAt(0); if(firstChar == 'C'){ $('#epid_type').val('Cervical'); } if(firstChar == 'T'){ $('#epid_type').val('Thoracic'); } if(firstChar == 'L'){ $('#epid_type').val('Lumbar'); } if(button == 'Caudal'){ $('#epid_type').val('Caudal'); } }); $('#edi_ep').click(function(){ $("#edit-epidural").modal("show"); }); var ww = "<?php echo $info['patient_position']; ?>"; $('#patient_pos').val(ww); var v = "<?php echo $info['patient_status']; ?>"; var pos_v = v.split(' -> '); if(v=="Awake"){ $('#option-1')[0].checked = true; $('.pts').hide(); }else if(v=="GA"){ $('#option-3')[0].checked = true; $('.pts').hide(); }else{ $('#option-2')[0].checked = true; $('.pts').show(); $('#sedi').val(pos_v[1]); } var a = "<?php echo $info['wearing_mask']; ?>"; var b = "<?php echo $info['hand_washing']; ?>"; var c = "<?php echo $info['sterile_gown']; ?>"; var d = "<?php echo $info['sterile_draping']; ?>"; if(a=="Yes"){ $('#wearing_mask').attr("checked",true); } if(b=="Yes"){ $('#hand_washing').attr("checked",true); } if(c=="Yes"){ $('#sterile_gown').attr("checked",true); } if(d=="Yes"){ $('#sterile_draping').attr("checked",true); } var aa = "<?php echo $info['skin_prepartion']; ?>"; var xx = "<?php echo $info['anatomical_landmark']; ?>"; $('#skin_prep').val(aa); $('#anatomical_landmark').val(xx); var bb = "<?php echo $info['epedural_level']; ?>"; var cj = "<?php echo $info['epidural_level_name']; ?>"; $('#epidu').val(bb); $('#epid_type').val(cj); $('.'+bb+'').css("background", "red").css("color", "white"); var wq = "<?php echo $info['needle_size']; ?>"; $('#size').val(wq); function ultra(){ var ult = $('#ultra_sound').is(':checked'); if(!ult){ $('.ultrasound').hide(); } else{ $(".ultrasound").show(); } } var as = "<?php echo $info['lor_saline']; ?>"; var bs = "<?php echo $info['lor_air']; ?>"; var cs = "<?php echo $info['hanging_drop']; ?>"; if(as=="LOR Saline"){ $('#lor_sal').attr("checked",true); } if(bs=="LOR Air"){ $('#air').attr("checked",true); } if(cs=="Hanging Drop"){ $('#hang').attr("checked",true); } function other(){ var oth = $('#oth').is(':checked'); if(!oth){ $('.other').hide(); } else{ $(".other").show(); } } function other2(){ var othe = $('#tc_other').is(':checked'); if(!othe){ $("#othe1").attr("readonly", true); } else{ $('#othe1').removeAttr("readonly"); } } var an = "<?php echo $info['approach']; ?>"; $('#approach').val(an); function hide2(){ $('.catheter').hide(); $( "#cath" ).prop("checked", false); } function catheter(){ $('.catheter').show(); $("#single").prop("checked", false); } var bns = "<?php echo $info['test_dose']; ?>"; if(bns=="Yes"){ $('#test_dose').attr("checked",true); } var sns = "<?php echo $info['la_regimen']; ?>"; $('#la_regimen').val(sns); var ropi = "<?php echo $info['la_ropivacaine']; ?>"; var ropi_split = ropi.split(','); $('#ropivacaine').val(ropi_split[0]); $('#ropi_per').val(ropi_split[1]); $('#ropi_ml').val(ropi_split[2]); $('#ropi_mg').val(ropi_split[3]); var bupi = "<?php echo $info['la_bupivacaine']; ?>"; var bupi_split = bupi.split(','); $('#bupivacaine').val(bupi_split[0]); $('#bupi_per').val(bupi_split[1]); $('#bupi_ml').val(bupi_split[2]); $('#bupi_mg').val(bupi_split[3]); var levo = "<?php echo $info['la_levobupivacaine']; ?>"; var levo_split = levo.split(','); $('#levobupivacaine').val(levo_split[0]); $('#levo_per').val(levo_split[1]); $('#levo_ml').val(levo_split[2]); $('#levo_mg').val(levo_split[3]); var ligno = "<?php echo $info['la_lignocaine']; ?>"; var ligno_split = ligno.split(','); $('#Lignocaine').val(ligno_split[0]); $('#ligno_per').val(ligno_split[1]); $('#ligno_ml').val(ligno_split[2]); $('#ligno_mg').val(ligno_split[3]); function adjuvant(){ var adju = $('#adju').is(':checked'); if(!adju){ $('.adjuvant').hide(); } else{ $(".adjuvant").show(); } } function opioid(){ var opio = $('#opio').is(':checked'); if(!opio){ $('.opioid').hide(); } else{ $(".opioid").show(); } } function Clonidne(){ var clon = $('#clon').is(':checked'); if(!clon){ $("#clon1").attr("readonly", true); } else{ $('#clon1').removeAttr("readonly"); } } function Dexmeditomidine(){ var dex = $('#dex').is(':checked'); if(!dex){ $("#dex1").attr("readonly", true); } else{ $('#dex1').removeAttr("readonly"); } } function Dexamethasone(){ var dexa = $('#dexa').is(':checked'); if(!dexa){ $("#dexa1").attr("readonly", true); } else{ $('#dexa1').removeAttr("readonly"); } } function Tramadol(){ var tram = $('#tram').is(':checked'); if(!tram){ $("#tram1").attr("readonly", true); } else{ $('#tram1').removeAttr("readonly"); } } function ketamine(){ var keta = $('#keta').is(':checked'); if(!keta){ $("#keta1").attr("readonly", true); } else{ $('#keta1').removeAttr("readonly"); } } function Midazolam(){ var mida = $('#mida').is(':checked'); if(!mida){ $("#mida1").attr("readonly", true); } else{ $('#mida1').removeAttr("readonly"); } } var cl = "<?php echo $info['clonidina_dose']; ?>"; if(cl){ $('#clon').attr("checked",true); $('#clon1').removeAttr("readonly"); } var dexs = "<?php echo $info['dexmeditomidine_dose']; ?>"; if(cl){ $('#dex').attr("checked",true); $('#dex1').removeAttr("readonly"); } var dexas = "<?php echo $info['dexamephasone_dose']; ?>"; if(dexas){ $('#dexa').attr("checked",true); $('#dexa1').removeAttr("readonly"); } var trams = "<?php echo $info['tramadol_dose']; ?>"; if(trams){ $('#tram').attr("checked",true); $('#tram1').removeAttr("readonly"); } var ketas = "<?php echo $info['kepamine_dose']; ?>"; if(ketas){ $('#keta').attr("checked",true); $('#keta1').removeAttr("readonly"); } var midas = "<?php echo $info['midazolam_dose']; ?>"; if(midas){ $('#mida').attr("checked",true); $('#mida1').removeAttr("readonly"); } function other1(){ var oth1 = $('#oth1').is(':checked'); if(!oth1){ $('.other1').hide(); } else{ $(".other1").show(); } } function analgesia(){ var ana = $('#ana').is(':checked'); if(!ana){ $('.analgesia').hide(); } else{ $(".analgesia").show(); $('.supple').hide(); } } var ae = "<?php echo $info['in_analgesia']; ?>"; if(ae=="Yes"){ $('#in_analgesia').attr("checked",true); } function gesia(){ var gesi = $('#gesi').is(':checked'); if(!gesi){ $('.gesia').hide(); } else{ $(".gesia").show(); } } function opioids(){ var opi = $('#opi').is(':checked'); if(!opi){ $('.opioids').hide(); } else{ $(".opioids").show(); } } function multianal(){ var multi = $('#multi').is(':checked'); if(!multi){ $('.multianal').hide(); } else{ $(".multianal").show(); } } function needle(){ var need = $('#need').val(); if(need == 'Other'){ $('.needle').show(); } else{ $(".needle").hide(); } } function type1(){ var ty = $('#ty').val(); if(ty == 'Other'){ $('.type').show(); } else{ $(".type").hide(); } } var zc = "<?php echo $info['asr_ketamine']; ?>"; var zq = "<?php echo $info['asr_dexmedetomidine']; ?>"; var zt = "<?php echo $info['asr_clonidine']; ?>"; var zn = "<?php echo $info['asr_tramadol']; ?>"; var zm = "<?php echo $info['asr_magnesium']; ?>"; if(zc=="Yes"){ $('#ket').attr("checked",true); } if(zq=="Yes"){ $('#dexs').attr("checked",true); } if(zt=="Yes"){ $('#clos').attr("checked",true); } if(zn=="Yes"){ $('#tras').attr("checked",true); } if(zm=="Yes"){ $('#mags').attr("checked",true); } function adjuncts(){ var adjunc = $('#adjunc').is(':checked'); if(!adjunc){ $('.adjuncts').hide(); } else{ $(".adjuncts").show(); } } function technical(){ var tech = $('#tech').is(':checked'); if(!tech){ $('.technical').hide(); } else{ $(".technical").show(); $('.techie').hide(); } } function acute(){ var acu = $('#acu').is(':checked'); if(!acu){ $('.acute').hide(); } else{ $(".acute").show(); $('.acuted').hide(); } } function other3(){ var ot = $('#ac_other').is(':checked'); if(!ot){ $("#ot1").attr("readonly", true); } else{ $('#ot1').removeAttr("readonly"); } } var yt = "<?php echo $info['success_status']; ?>"; var yz = "<?php echo $info['onset']; ?>"; if(yt=="Complete Success"){ $('#com')[0].checked = true; $("#com1").attr("readonly", false); $("#com1").val(yz); }else if(yt=="Partial Success"){ $('#par')[0].checked = true; $("#par1").attr("readonly", false); $("#par1").val(yz); }else{ $('#fail')[0].checked = true; } $('#ropi_per').keyup(function(){ var r_per = $('#ropi_per').val(); var r_ml = $('#ropi_ml').val(); var aa = (r_per)/100; var bb = (r_ml)*10; var cc =(aa*bb); $('#ropi_mg').val(cc); }); $('#ropi_ml').keyup(function(){ var r_per = $('#ropi_per').val(); var r_ml = $('#ropi_ml').val(); var aa = (r_per)/100; var bb = (r_ml)*10; var cc =(aa*bb); $('#ropi_mg').val(cc); }); $('#bupi_per').keyup(function(){ var b_per = $('#bupi_per').val(); var b_ml = $('#bupi_ml').val(); var dd = (b_per)/100; var ee = (b_ml)*10; var ff =(dd*ee); $('#bupi_mg').val(ff); }); $('#bupi_ml').keyup(function(){ var b_per = $('#bupi_per').val(); var b_ml = $('#bupi_ml').val(); var dd = (b_per)/100; var ee = (b_ml)*10; var ff =(dd*ee); $('#bupi_mg').val(ff); }); $('#levo_per').keyup(function(){ var l_per = $('#levo_per').val(); var l_ml = $('#levo_ml').val(); var gg = (l_per)/100; var hh = (l_ml)*10; var ii =(gg*hh); $('#levo_mg').val(ii); }); $('#levo_ml').keyup(function(){ var l_per = $('#levo_per').val(); var l_ml = $('#levo_ml').val(); var gg = (l_per)/100; var hh = (l_ml)*10; var ii =(gg*hh); $('#levo_mg').val(ii); }); $('#ligno_per').keyup(function(){ var li_per = $('#ligno_per').val(); var li_ml = $('#ligno_ml').val(); var jj = (li_per)/100; var kk = (li_ml)*10; var ll =(jj*kk); $('#ligno_mg').val(ll); }); $('#ligno_ml').keyup(function(){ var li_per = $('#ligno_per').val(); var li_ml = $('#ligno_ml').val(); var jj = (li_per)/100; var kk = (li_ml)*10; var ll =(jj*kk); $('#ligno_mg').val(ll); }); function complete(){ $("#com1").attr("readonly", false); $("#par1").attr("readonly", true); $("#par").prop("checked", false); $("#fail").prop("checked", false); } function partial(){ $("#par1").attr("readonly", false); $("#com1").attr("readonly", true); $("#com").prop("checked", false); $("#fail").prop("checked", false); } function failure(){ $("#par1").attr("readonly", true); $("#com1").attr("readonly", true); $("#com").prop("checked", false); $("#par").prop("checked", false); } var yy = "<?php echo $info['motor_level']; ?>"; $('#motor_level').val(yy); var zx = "<?php echo $info['vasopressor_use']; ?>"; if(zx=="Yes"){ $('#vasopressor_use').attr("checked",true); } $("input[name='optradio']").change(function(){ $('.psn').hide(); }); $("input[name='optradio2']").change(function(){ $('.succes').hide(); }); function checkpos(){ var pos = $('#patient_pos').val(); if((pos != 'Select')){ $('.pat').hide(); } } function checkskin(){ var skin = $('#skin_prep').val(); if((skin != 'Select')){ $('.skp').hide(); } } function checkmotor(){ var mot = $('#motor_level').val(); if((mot != 'Select')){ $('.motro').hide(); } } function checkasep(){ var wearing = $('#wearing_mask').is(':checked'); var sterile = $('#sterile_gown').is(':checked'); var hand = $('#hand_washing').is(':checked'); var drap = $('#sterile_draping').is(':checked'); if((wearing) || (sterile) || (hand) || (drap)){ $('.asep').hide(); } } </script> <script type="text/javascript"> $('#edit-epi').submit(function(e){ e.preventDefault(); var aa = '', bb = '', cc = '', dd = '', ee = '', ff = '', gg = '', hh = '', ii = ''; var pat_pos = $('#patient_pos').val(); var skp = $('#skin_prep').val(); var motor = $('#motor_level').val(); if((pat_pos != 'Select')) aa = true; else{ $('.pat').show(); toastr.error('please select patient position'); } if((skp != 'Select')) bb = true; else{ $('.skp').show(); toastr.error('please select skin preparation'); } if (!document.getElementById('option-1').checked && !document.getElementById('option-2').checked && !document.getElementById('option-3').checked) { $('.psn').show(); toastr.error('please choose patient status'); } else{ cc = true; } var wearing = $('#wearing_mask').is(':checked'); var sterile = $('#sterile_gown').is(':checked'); var hand = $('#hand_washing').is(':checked'); var drap = $('#sterile_draping').is(':checked'); if(!(wearing) && !(sterile) && !(hand) && !(drap)){ $('.asep').show(); toastr.error('please select asepsis'); } else{ dd = true; } if((motor != 'Select')) ee = true; else{ $('.motro').show(); toastr.error('please select motor level'); } var anal = $('#ana').is(':checked'); if(!(anal)){ $('.supple').show(); toastr.error('please select analgesia supplementation'); } else{ ff = true; } var tech = $('#tech').is(':checked'); if(!(tech)){ $('.techie').show(); toastr.error('please select technical complications'); } else{ gg = true; } var acute = $('#acu').is(':checked'); if(!(acute)){ $('.acuted').show(); toastr.error('please select acute complications'); } else{ hh = true; } if (!document.getElementById('com').checked && !document.getElementById('par').checked && !document.getElementById('fail').checked) { $('.succes').show(); toastr.error('please choose success status'); } else{ ii = true; } var lor_sal = '', air = '', hang = ''; var xx = $('#lor_sal').is(':checked'); var yy = $('#air').is(':checked'); var zz = $('#hang').is(':checked'); if(xx){ lor_sal = $('#lor_sal').val(); } if(yy){ air = $('#air').val(); } if(zz){ hang = $('#hang').val(); } if((aa) && (bb) && (cc) && (dd) && (ee) && (ff) && (gg) && (hh) && (ii)){ var formData = new FormData(this); formData.append('lor_saline',lor_sal); formData.append('lor_air',air); formData.append('hanging_drop',hang); $(".update").text("Updating..."); $(".update").attr("disabled", true); $.ajax({ type : "POST", url : '<?php echo base_url("EpiDetails/edit_epidu")?>', data : formData, contentType: false, processData: false, success:function(response){ response = jQuery.parseJSON(response); if(response.result==1){ toastr["success"](response.message); $("#edit-epidural").modal("hide"); $('.update').removeAttr("disabled"); $(".update").text("Save"); history.go(0); } else{ toastr["error"](response.message); $('.update').removeAttr("disabled"); $(".update").text("Update"); } } }); } }); </script> <?php echo view('includes/footer'); ?>