Server IP : 162.240.98.243 / Your IP : 18.116.15.161 Web Server : Apache System : Linux server.bti.yaw.mybluehostin.me 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : btiyawmy ( 1003) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/btiyawmy/public_html/login.easenup.in/ |
Upload File : |
<?php session_start(); require_once("../patientmanager.php"); require_once("../DBManager.php"); include("dbconnection.php"); include("header.php"); include 'dashboarddocument.php'; if(isset($_POST['code_blue'])) { PatientManager::Requestcodeblue("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Subjective]","$_POST[First_Responder]","$_POST[Establishes_unresponsiveness]","$_POST[Drills_code]","$_POST[Lower_Bed]","$_POST[Universal_Precautions]","$_POST[initiate_compressions]","$_POST[Airway_Assess]","$_POST[Carotid_femoral]","$_POST[Breathing_Bag]","$_POST[Airway_placement]","$_POST[Second_Responder]","$_POST[Crash_cart]","$_POST[Sick_board]","$_POST[Applies_multifunction]","$_POST[Monitor_PROMPTS]","$_POST[Proceed_defibrillation]","$_POST[ACLS_qualified]","$_POST[Interprets_rhythm]","$_POST[Third_Responder_BLS]","$_POST[suction_equipment]","$_POST[intubation_tray]","$_POST[Establishes_Access]","$_POST[Contain_patient]","$_POST[med_tray]","$_POST[Fourth_fifth_responders]","$_POST[Verbalizes_Method]","$_POST[Communicates_Family]","$_POST[Complete_CodeBlue]","$_POST[Secure_codestatement]","$_POST[enteredby]"); } ?> <style> .switch { position: relative; display: inline-block; width: 90px; height: 34px; } .switch input {display:none;} .slider5 { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ca2222; -webkit-transition: .4s; transition: .4s; border-radius: 34px; } .slider5:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; border-radius: 50%; } input:checked + .slider5 { background-color: #2ab934; } input:focus + .slider5 { box-shadow: 0 0 1px #2196F3; } input:checked + .slider5:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(55px); } /*------ ADDED CSS ---------*/ .slider5:after { content:'Undone'; color: white; display: block; position: absolute; transform: translate(-50%,-50%); top: 50%; left: 50%; font-size: 10px; font-family: Verdana, sans-serif; } input:checked + .slider5:after { content:'Done'; } .center { border: 1px solid grey; text-align:; } .box2{ display: none; } .center { border: 1px solid grey; text-align:; } .center2 { border: 5px solid grey; text-align:; } </style> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script> $(document).ready(function(){ $("select").change(function(){ $(this).find("option:selected").each(function(){ var optionValue = $(this).attr("value"); if(optionValue){ $(".box").not("." + optionValue).hide(); $("." + optionValue).show(); } else{ $(".box").hide(); } }); }).change(); }); </script> <script> $(document).ready(function(){ $("select").change(function(){ $(this).find("option:selected").each(function(){ var optionValue = $(this).attr("value"); if(optionValue){ $(".box2").not("." + optionValue).hide(); $("." + optionValue).show(); } else{ $(".box2").hide(); } }); }).change(); }); </script> <style> .center { border: 1px solid grey; text-align:; } </style> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <form name='code_blue' method='post'> <div class="checkbox"> <h3 align="center">Code Blue Checklist</h3> <table id="example2" class="table table-bordered table-hover"> <?php $sql ="SELECT * FROM code_blue WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo" <tr><td> <span style='font-size: 20px'>First Responder</span></h3></td><td> <input name='First_Responder' value='$rs[First_Responder]' type='text'> </td> </tr> "; if($rs[Subjective] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Area Safety checked</span></h3></td><td><label class='switch'> <input name='Subjective' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr>"; } else{ echo" <tr><td> <span style='font-size: 20px'>Area Safety checked</span></h3></td><td><label class='switch'> <input name='Subjective' type='checkbox'> <span class='slider5'></span> </label> </td> </tr>"; } if($rs[Establishes_unresponsiveness] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Establishes unresponsiveness (shake shoulders/call names) </span></h3></td><td><label class='switch'> <input name='Establishes_unresponsiveness' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Establishes unresponsiveness (shake shoulders/call names) </span></h3></td><td><label class='switch'> <input name='Establishes_unresponsiveness' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Drills_code] == 'on'){ echo" <tr><td> <span style='font-size: 20px'> Drills code (shouts for help & stays with patient)</span></h3></td><td><label class='switch'> <input name='Drills_code' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'> Drills code (shouts for help & stays with patient)</span></h3></td><td><label class='switch'> <input name='Drills_code' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Lower_Bed] == 'on'){ echo" <tr><td> <span style='font-size: 20px'> Lower Bed removes pillows</span></h3></td><td><label class='switch'> <input name='Lower_Bed' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'> Lower Bed removes pillows</span></h3></td><td><label class='switch'> <input name='Lower_Bed' type='checkbox' > <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Universal_Precautions] == 'on'){ echo" <tr><td> <span style='font-size: 20px'> Exercise *Universal Precautions”</span></h3></td><td><label class='switch'> <input name='Universal_Precautions' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'> Exercise *Universal Precautions”</span></h3></td><td><label class='switch'> <input name='Universal_Precautions' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[initiate_compressions] == 'on'){ echo" <tr><td> <span style='font-size: 20px'> Evaluation : initiate compressions (at rate of 30:2 Rescue Breaths)</span></h3></td><td><label class='switch'> <input name='initiate_compressions' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'> Evaluation : initiate compressions (at rate of 30:2 Rescue Breaths)</span></h3></td><td><label class='switch'> <input name='initiate_compressions' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Airway_Assess] == 'on'){ echo" <tr><td> <span style='font-size: 20px'> Airway/Assess (if no response ventilates x2 Ambu bag)</span></h3></td><td><label class='switch'> <input name='Airway_Assess' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'> Airway/Assess (if no response ventilates x2 Ambu bag)</span></h3></td><td><label class='switch'> <input name='Airway_Assess' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Carotid_femoral] == 'on'){ echo" <tr><td> <span style='font-size: 20px'> Carotid/femoral pulse 5-10 sec</span></h3></td><td><label class='switch'> <input name='Carotid_femoral' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'> Carotid/femoral pulse 5-10 sec</span></h3></td><td><label class='switch'> <input name='Carotid_femoral' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Breathing_Bag] == 'on'){ echo" <tr><td> <span style='font-size: 20px'> Breathing – AMBU Bag / Mask placed in correct Position seal maintained(Provides 2 breaths per 30 compressions)</span></h3></td><td><label class='switch'> <input name='Breathing_Bag' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'> Breathing – AMBU Bag / Mask placed in correct Position seal maintained(Provides 2 breaths per 30 compressions)</span></h3></td><td><label class='switch'> <input name='Breathing_Bag' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Airway_placement] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Airway placement (Stabilizes indication & method for use ) </span></h3></td><td><label class='switch'> <input name='Airway_placement' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Airway placement (Stabilizes indication & method for use ) </span></h3></td><td><label class='switch'> <input name='Airway_placement' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } echo" <tr><td> <span style='font-size: 20px'>Second Responder </span> </td> <td> <input name='Second_Responder' value='$rs[Second_Responder]' type='text'> </td> </tr> "; if($rs[Crash_cart] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Crash cart arrives </span></h3></td><td><label class='switch'> <input name='Crash_cart' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Crash cart arrives </span></h3></td><td><label class='switch'> <input name='Crash_cart' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Sick_board] == 'on'){ echo"<tr> <td><span style='font-size: 20px'>Sick board placed </span></h3></td><td><label class='switch'> <input name='Sick_board' type='checkbox' checked> <span class='slider'></span> </label> </td> </tr> "; } else { echo"<tr> <td><span style='font-size: 20px'>Sick board placed </span></h3></td><td><label class='switch'> <input name='Sick_board' type='checkbox'> <span class='slider'></span> </label> </td> </tr> "; } if($rs[Applies_multifunction] == 'on'){ echo"<tr><td> <span style='font-size: 20px'>Applies multifunction electrode pads in correct Position (cleans skin / removes hair as needed) Connects multifunctional pads to therapy cable, Activates AED mode (orange area ) and follows AED </span></h3></td><td><label class='switch'> <input name='Applies_multifunction' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo"<tr><td> <span style='font-size: 20px'>Applies multifunction electrode pads in correct Position (cleans skin / removes hair as needed) Connects multifunctional pads to therapy cable, Activates AED mode (orange area ) and follows AED </span></h3></td><td><label class='switch'> <input name='Applies_multifunction' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Monitor_PROMPTS] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Monitor PROMPTS </span></h3></td><td><label class='switch'> <input name='Monitor_PROMPTS' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Monitor PROMPTS </span></h3></td><td><label class='switch'> <input name='Monitor_PROMPTS' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Proceed_defibrillation] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Proceed with defibrillation if indicated by AED (If No shock advised and no sins of circulation begin person CPR) </span></h3></td><td><label class='switch'> <input name='Proceed_defibrillation' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Proceed with defibrillation if indicated by AED (If No shock advised and no sins of circulation begin person CPR) </span></h3></td><td><label class='switch'> <input name='Proceed_defibrillation' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } echo" <tr><td> <span style='font-size: 20px'>Third Responder : BLS/ACLS qualified </span></h3></td><td><input type='text' value='$rs[ACLS_qualified]' name='ACLS_qualified'> </td> </tr> "; if($rs[Interprets_rhythm] == 'on'){ echo"<tr><td> <span style='font-size: 20px'>Interprets rhythm, assists med administration & procedure </span></h3></td><td><label class='switch'> <input name='Interprets_rhythm' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Interprets rhythm, assists med administration & procedure </span></h3></td><td><label class='switch'> <input name='Interprets_rhythm' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[suction_equipment] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Set Up suction equipment </span></h3></td><td><label class='switch'> <input name='suction_equipment' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Set Up suction equipment </span></h3></td><td><label class='switch'> <input name='suction_equipment' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[intubation_tray] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Set up intubation tray </span></h3></td><td><label class='switch'> <input name='intubation_tray' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else{ echo" <tr><td> <span style='font-size: 20px'>Set up intubation tray </span></h3></td><td><label class='switch'> <input name='intubation_tray' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Establishes_Access] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Establishes IV Access and setup IV solution (s) </span></h3></td><td><label class='switch'> <input name='Establishes_Access' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Establishes IV Access and setup IV solution (s) </span></h3></td><td><label class='switch'> <input name='Establishes_Access' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Contain_patient] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Contain patient’s charts or delegates task </span></h3></td><td><label class='switch'> <input name='Contain_patient' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Contain patient’s charts or delegates task </span></h3></td><td><label class='switch'> <input name='Contain_patient' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[med_tray] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Setup med tray & assists with medication administration </span></h3></td><td><label class='switch'> <input name='med_tray' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Setup med tray & assists with medication administration </span></h3></td><td><label class='switch'> <input name='med_tray' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } echo" <tr><td> <span style='font-size: 20px'>Fourth responders</span></h3></td><td> <input name='Fourth_fifth_responders' value='$rs[Fourth_fifth_responders]' type='text'> </td> </tr> "; if($rs[Verbalizes_Method] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Verbalizes Method to print information strip from lips Monitoring</span></h3></td><td><label class='switch'> <input name='Verbalizes_Method' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else{ echo" <tr><td> <span style='font-size: 20px'>Verbalizes Method to print information strip from lips Monitoring</span></h3></td><td><label class='switch'> <input name='Verbalizes_Method' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Communicates_Family] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Communicates with Family </span></h3></td><td><label class='switch'> <input name='Communicates_Family' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Communicates with Family </span></h3></td><td><label class='switch'> <input name='Communicates_Family' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Complete_CodeBlue] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Complete Code Blue Record </span></h3></td><td><label class='switch'> <input name='Complete_CodeBlue' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Complete Code Blue Record </span></h3></td><td><label class='switch'> <input name='Complete_CodeBlue' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } if($rs[Secure_codestatement] == 'on'){ echo" <tr><td> <span style='font-size: 20px'>Secure code statement </span></h3></td><td><label class='switch'> <input name='Secure_codestatement' type='checkbox' checked> <span class='slider5'></span> </label> </td> </tr> "; } else { echo" <tr><td> <span style='font-size: 20px'>Secure code statement </span></h3></td><td><label class='switch'> <input name='Secure_codestatement' type='checkbox'> <span class='slider5'></span> </label> </td> </tr> "; } } ?> </table> </div> <input type="submit" name="code_blue" value="Update"> </div> </form>