Server IP : 162.240.98.243 / Your IP : 18.119.158.134 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(); include 'dbconnection.php'; require_once("../patientmanager.php"); require_once("../DBManager.php"); $target_dir = "uploads/"; $filename = basename($_FILES["Trauma_Slip"]["name"]); $target_file = $target_dir . basename($_FILES["Trauma_Slip"]["name"]); $uploadOk = 1; $imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION)); if(isset($_POST['trauma_checklist'])) { PatientManager::Requesttraumachecklist("$_GET[prescriptionid]","$_GET[patientid]","$_POST[further]","$_POST[Pneumo_Haemothorax]","$_POST[Fluids_Started]","$_POST[iv_fluids_started]","$_POST[Full_Survey]","$_POST[Perineum]","$_POST[Back]","$_POST[Pelvic_Fracture]","$_POST[Internal_Bleeding]","$_POST[Ultrasound]","$_POST[CT]","$_POST[Peritoneal]","$_POST[Spinal_Immobilization]","$_POST[Neurovascular_Status]","$_POST[Hypothermic]","$_POST[contraindication]","$_POST[Nasogastric_Tube]","$_POST[Chest_Drain]","$_POST[None_Indicated]","$_POST[leaves_patient]","$_POST[Analgesics]","$_POST[Antibiotics]","$_POST[None_Indicated2]","$_POST[tests_imaging]","$_POST[Examinations]","$_POST[Abdominal]","$_POST[vascular]","$_POST[care_discussed]","$_POST[Receiving_Unit]","$_POST[Primary_team]","$_POST[Other_Specialists]","$_POST[Trauma_Chart]","$_POST[Trauma_Slip]","$_POST[enteredby]"); if (move_uploaded_file($_FILES["Trauma_Slip"]["tmp_name"], $target_file)) { echo "The file ". basename( $_FILES["Trauma_Slip"]["name"]). " has been uploaded."; } else { echo "Sorry, there was an error uploading your file."; } } ?> <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> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#traumaChecklistForm').submit(function() { $('#loaderImg').show(); return true; }); }); </script> <style> #loaderImg { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; border: 10px solid grey; border-radius: 50%; border-top: 10px solid black; width: 100px; height: 100px; animation: spin 1s linear infinite; z-index:1000000000000; } @keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } </style> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <title>Document</title> <script> </script> </head> <body> <div style = "display:none;" id = "loaderImg"> <div class="loader"> </div> </div> <form name="trauma_checklist" id='traumaChecklistForm' method="post" enctype="multipart/form-data"> <div class='center'> <ol order='1'><div class="checkbox"> <h3 align="center">Trauma Care Checklist</h3> <h4 align="center">Immediately after primary & secondary surveys</h4> <label><b><li>Is Further Airway Intervention Needed?</b></li></label> <div class="checkbox"><input type="radio" value= "Yes" name="further"><span> Yes </span></div> <p><input type="radio" value= "NO" name="further"><span> No </span></P> </div> <div class="checkbox"> <p> <label><b><li>Is There A Tension Pneumo-Haemothorax ?</li></b></label> <p><input type="radio" value= "Yes, Chest Drain Placed" name="Pneumo_Haemothorax"><span> Yes, Chest Drain Placed</P> <p><input type="radio" value= "No" name="Pneumo_Haemothorax"><span> No </span></P> </div> <div class="checkbox"> <p> <label><b><li>IS The Pulse and Fluids Started ?</label></b></li> <p><input type="radio" value= "Yes" name="Fluids_Started"><span> Yes</P> <p><input type="radio" value= "Not Available" name="Fluids_Started"><span> Not Available </span></P> </div> <div class="checkbox"> <p> <label><b><li>Large-bore IV placed and fluids started </label></b></li> <p><input type="radio" value= "Yes" name="iv_fluids_started"><span> Yes</P> <p><input type="radio" value= "Not indicated" name="iv_fluids_started"><span> Not indicated</P> <p><input type="radio" value= "Not Available" name="iv_fluids_started"><span> Not Available </span></P> </div> <div class="checkbox"> <p> <label><b><li>Full Survey For (and control of)External bleeding, Including : </label></b></li> <p> <input type="checkbox" value= "Scalp" name="Full_Survey"><span>Scalp</P> <p> <input type="checkbox" value= "Perineum" name="Perineum"><span>Perineum</P> <p> <input type="checkbox" value= "Back" name="Back"><span>Back </span></P> </div> <div class="checkbox"> <p> <label><b><li>Assessed For Pelvic Fracture by: </label></b></li> <p><input type="radio" value= "Exam" name="Pelvic_Fracture"><span> Exam</P> <p><input type="radio" value= "X-ray" name="Pelvic_Fracture"><span> X-ray</P> <p><input type="radio" value= "CT" name="Pelvic_Fracture"><span> CT</span></P> </div> <div class="checkbox"> <p> <label><b><li>Assessed For Internal Bleeding By: </label></b></li> <p> <input type="checkbox" value= "Exam" name="Internal_Bleeding"><span>Exam</P> <p> <input type="checkbox" value= "Ultrasound" name="Ultrasound"><span>Ultrasound</P> <p> <input type="checkbox" value= "CT" name="CT"><span>CT</span></P> <p> <input type="checkbox" value="Peritoneal lavage" name="Peritoneal"><span>Peritoneal lavage</span></P> </div> <div class="checkbox"> <p> <label><b><li>Is Spinal Immobilization Needed? </label></b></li> <p><input type="radio" value= "Yes,Done" name="Spinal_Immobilization"><span> Yes,Done</P> <p><input type="radio" value= "Not Indicated" name="Spinal_Immobilization"><span> Not Indicated</P> </div> <div class="checkbox"> <p> <label><b><li>Neurovascular Status of all 4 limbs Checked? </label></b></li> <p><input type="radio" value= "Yes" name="Neurovascular_Status"><span> Yes</P> <p><input type="radio" value= "Not Indicated" name="Neurovascular_Status"><span> Not Indicated</P> </div> </P> <div class="checkbox"> <p> <label><b><li>IS the patient Hypothermic? </label></b></li> <p><input type="radio" value= "Yes, Warming" name="Hypothermic"><span> Yes, Warming </P> <p><input type="radio" value= "No" name="Hypothermic"><span> No</P> </div> </p> <div class="checkbox"> <p> <label><b><li>Does the Patient Need(if no contraindication) </label></b></li> <p> <input type="checkbox" value= "Urinary Catheter" name="contraindication"><span>Urinary Catheter </P> <p> <input type="checkbox" value= "Nasogastric Tube" name="Nasogastric_Tube"><span>Nasogastric Tube</P> <p> <input type="checkbox" value= "chest drain" name="Chest_Drain"><span>Chest Drain</P> <p> <input type="checkbox" value= "None Indicated" name="None_Indicated"><span>None Indicated</P> </div> </div> <div class='center'> <H3 align="center">Before team leaves patient</H3> <ol order='1'> <div class="checkbox"> <p> <label><b><li>Has the Patient been Given </label></b></li> <p> <input type="checkbox" value= "Tetanus Vaccine" name="leaves_patient"><span>Tetanus Vaccine </P> <p> <input type="checkbox" value="Analgesics" name="Analgesics"><span>Analgesics</P> <p> <input type="checkbox" value="Antibiotics" name="Antibiotics"><span>Antibiotics</P> <p> <input type="checkbox" value="None Indicated" name="None_Indicated"><span>None Indicated</P> </div> <div class="checkbox"> <p> <label><b><li>Have All tests and imaging been Reviewed </label></b></li> <p><input type="radio" value="Yes" name="tests_imaging"><span> Yes</P> <p><input type="radio" value= "No, Follow-up Plan in Place" name="tests_imaging"><span> No, Follow-up Plan in Place</P> </div> <div class="checkbox"> <p> <label><b><li>Which serial Examinations Are Needed </label></b></li> <p> <input type="checkbox" value= "Neurological" name="Examinations"><span>Neurological</P> <p> <input type="checkbox" value= "Abdominal" name="Abdominal"><span>Abdominal</P> <p> <input type="checkbox" value= "vascular" name="vascular"><span>Vascular</P> <p> <input type="checkbox" value= "None" name="Examinations"><span>None</P> </div> <div class="checkbox"> <p> <label><b><li>Plan of care discussed with: </label></b></li> <p> <input type="checkbox" value="Patient/Family" name="care_discussed"><span>Patient/Family</P> <p> <input type="checkbox" value="Receiving Unit" name="Receiving_Unit"><span>Receiving Unit</P> <p> <input type="checkbox" value="Primary team" name="Primary_team"><span>Primary team</P> <p> <input type="checkbox" value="Other_Specialists" name="Other_Specialists"><span>Other Specialists</P> </div> <div class="checkbox"> <p> <label><b><li>Relevant Trauma Chart or Form Comleted? </label></b></li> <p><input type="radio" value= "Patient/Family" name="Trauma_Chart"><span> Patient/Family</P> <p><input type="radio" value="Not Available" name="Trauma_Chart"><span> Not Available</P> <label> Trauma Slip</label><input name="Trauma_Slip" type="file"> </div></div> <input type='submit' name='trauma_checklist' value='Submit'> </form> </body> </html>