Server IP : 162.240.98.243 / Your IP : 3.145.33.235 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'); ?> <?php $sql ="SELECT * FROM Pre_Operative_Assessment_Sheet WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { echo" <h3 align='right'><a href='edit_showpage_Routine_Examination.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]&surgeryid=$rs[surgeryid]'><i class='fa fa-pencil-square-o' aria-hidden='true'></i> </a></h3>"; } ?> <h3 align='center'>Checklist </h3> <table id='example2' class='table table-bordered table-hover'> <?php $sql ="SELECT * FROM Pre_Operative_Assessment_Sheet WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'AND surgeryid='$_GET[surgeryid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo" <tr> <td width='25%'>"; if($rs[Cough] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Cough </span></td>"; echo"<td width='25%'>"; if($rs[Fever] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td><td width='25%'><span style='font-size: 17px;'>Fever </span></td> </tr><tr> <td width='25%'> "; if($rs[Wheezing] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Wheezing </span></td> <td width='25%'> "; if($rs[Asthama_Breathlesness] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Asthama Breathlesness </span></td> </tr> <tr> <td width='25%'> "; if($rs[Liverproblem] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Liver Problem/Jaundice </span> </td> <td width='25%'> "; if($rs[Previous_Operation] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Tuberculosis </span></td> </tr> <tr> <td width='25%'> "; if($rs[Migraine] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Headache/Migraine</span></td> <td width='25%'> "; if($rs[BloodTransfusion] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Blood Transfusion</span></td> </tr> <tr> <td width='25%'> "; if($rs[Bleeding_Disorder] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Bleeding Disorder</span></td> <td width='25%'> "; if($rs[HearingAid] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Hearing Aid</span></td> </tr> <tr> <td width='25%'> "; if($rs[SOB] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td><td width='25%'><span style='font-size: 17px;'>SOB</span></td> <td width='25%'> "; if($rs[Palpitation] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Palpitation</span></td> </tr> <tr> <td width='25%'> "; if($rs[Chest_Pain] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>CAD/PTCA/CABG/Chest Pain</span></td> <td width='25%'> "; if($rs[Renal_Disease] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Renal Disease</span></td> </tr> <tr> <td width='25%'> "; if($rs[Allergies] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Allergies: Drug/Food</span></td> <td width='25%'> "; if($rs[Previous_Admission] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Previous Admission</span></td> </tr> <tr> <td width='25%'> "; if($rs[Indigestion] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Indigestion</span></td> <td width='25%'> "; if($rs[Acid] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Acid</span></td> </tr> <tr> <td width='25%'> "; if($rs[Fever] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Recent URI/Fever </span></td> <td width='25%'> "; if($rs[Anesthesia_Problem] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Previous Anesthesia& Problem</span></td> </tr> <tr> <td width='25%'> "; if($rs[Urination] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Frequent Urination </span></td> <td width='25%'> "; if($rs[Back_Neck_Pain] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Back/Neck Pain</span></td> </tr> <tr> <td width='25%'> "; if($rs[Arthritis] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Arthritis/Painful/Swollen Join </span></td> <td width='25%'> "; if($rs[Blackouts] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Blackouts/Loss of Consciousness</span></td> </tr> <tr> <td width='25%'> "; if($rs[Muscie] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Abnormality of Nerve of Muscie </span></td> <td width='25%'> "; if($rs[Weight_Loss_Gain] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'> Weight Loss/Gain </span></td> </tr> <tr> <td width='25%'> "; if($rs[hernia] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Hiatus hernia </span></td> <td width='25%'> "; if($rs[Heartburn] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Heartburn </span></td> "; echo" <tr> <td width='25%'>"; if($rs[Pacemaker] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Contact Lens/Pacemaker/Hearing Aid </span></td> <td width='25%'> "; if($rs[Artificial] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'> Artificial Joint/Plates </span></td> </tr> "; echo" <tr> <td width='25%'>"; if($rs[Hiatus] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Hiatus </span></td> <td width='25%'> "; if($rs[ContactLens] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>ContactLens </span></td> </tr> "; echo " <tr> <td width='25%'>"; if($rs[Hypertension] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Hypertension </span></td> <td width='25%'> "; if($rs[Diabetes] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Diabetes </span></td> </tr> "; echo " <tr> <td width='25%'>"; if($rs[Smoking] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Smoking/ Alcohal </span></td> <td width='25%'> "; if($rs[Pregnancy] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true' style='color:red'></i>"; } echo"</td> <td width='25%'><span style='font-size: 17px;'>Pregnancy </span></td> </tr> "; echo" </tr> </table> <table id='example2' class='table table-bordered table-hover' border='1' width='100%'> <th></th> <th></th> <tr> <td width='20%'>Loose Tooth/Dentures Upper </td> <td width='20%'> $rs[Dentures_status]</td> </tr> <tr> <td width='20%'>Loose Tooth/Dentures lower </td> <td width='20%'>$rs[Dentures_status_lower]</td> </tr> <tr> <td width='20%'>Mouth Opening </td> <td width='20%'>$rs[Mouth_Opening_note]</td> </tr> <tr> <td width='20%'>Neck </td> <td width='20%'>$rs[Neck]</td> </tr> <tr> <td width='20%'>Neck Mobility </td> <td width='20%'>$rs[Neck_Mobility]</td> </tr> <tr> <td width='20%'>Venous Access </td> <td width='20%'>$rs[Venous_Access]</td> </tr> <tr> <td width='20%'>Nervous System </td> <td width='20%'>$rs[Nervous_System]</td> </tr> <tr> <td width='20%'>Abdomen </td> <td width='20%'>$rs[Abdomen_System]</td> </tr> <tr> <td width='20%'>Intubation Difficulty </td> <td width='20%'>$rs[Intubation_Difficulty]</td> </tr> <tr> <td width='20%'>Special Anesthesia Problems </td> <td width='20%'>$rs[Special_Anesthesia_Problems]</td> </tr> </table> <table id='example2' class='table table-bordered table-hover' border='1' width='100%'> </table> <table id='example2' class='table table-bordered table-hover'> <tr><td><span style='font-size: 20px'>PALLOR </span></h3></td><td>"; if($rs[PALLOR] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green;'></i>"; } else { echo "<i class='fa fa-times' aria-hidden='true' style='color:red;'></i>"; } echo" </td> </tr> <tr> <td><span style='font-size: 20px'>ICTERUS</span></h3></td><td>"; if($rs[ICTERUS] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green;'></i>"; } else { echo "<i class='fa fa-times' aria-hidden='true' style='color:red;'></i>"; } echo" </td> </tr> <tr><td><span style='font-size: 20px'>CYANOSIS </span></h3></td><td>"; if($rs[CYANOSIS] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green;'></i>"; } else { echo "<i class='fa fa-times' aria-hidden='true' style='color:red;'></i>"; } echo" </td> </tr> <tr><td><span style='font-size: 20px'>LYMPHNODES </span></h3></td><td>"; if($rs[LYMPHNODES] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green;'></i>"; } else { echo "<i class='fa fa-times' aria-hidden='true' style='color:red;'></i>"; } echo" </td> </tr> <tr> <td><span style='font-size: 20px'>JVP RAISED </span></h3></td><td>"; if($rs[JVP_RAISED] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green;'></i>"; } else { echo "<i class='fa fa-times' aria-hidden='true' style='color:red;'></i>"; } echo" </td> </tr> <tr> <td><span style='font-size: 20px'>T.M.JOINT</span></h3></td><td>"; if($rs[TM_JOINT] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green;'></i>"; } else { echo "<i class='fa fa-times' aria-hidden='true' style='color:red;'></i>"; } echo" </td> </tr> <tr> <td><span style='font-size: 20px'>DENTAL ABOUT REACTION </span></h3></td><td>"; if($rs[DENTAL_REACTION] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true' style='color:green;'></i>"; } else { echo "<i class='fa fa-times' aria-hidden='true' style='color:red;'></i>"; } echo" </td> </tr> "; } ?> </table>