Server IP : 162.240.98.243 / Your IP : 3.147.126.211 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('../DBManager.php'); require_once('../LoginManager.php'); include("../dbconnection.php"); $sql2 ="SELECT * FROM save_activity WHERE srno='$_GET[srno]'"; $qsql2 = mysqli_query($con,$sql2); if($re1 = mysqli_fetch_array($qsql2)) { include 'dashboarddocument.php'; } ?> <?php include 'fileheader.php'; ?> <h3 align='center'>Routine Examination </h3> <?php include("dbconnection.php"); $sqlpatient = "SELECT * FROM save_activity WHERE prescriptionid='$_GET[prescriptionid]' AND discription='Intial Assessment<br>Covid 19 Checklist<br>Doc.no-'"; $qsqlpatient = mysqli_query($con,$sqlpatient); if($rsp = mysqli_fetch_array($qsqlpatient)) { if($rsp[discription]== 'Intial Assessment<br>Covid 19 Checklist<br>Doc.no-'){ echo"<h4>Doc.no : $rsp[srno]</h4>"; } else{ echo ""; } } $sql2 ="SELECT * FROM surgerytracker WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'"; $qsql2 = mysqli_query($con,$sql2); while($rs2 = mysqli_fetch_array($qsql2)) { echo '<h4>Surgery Id :-'.$rs2[surgeryid].' / '; $sql1 ="SELECT * FROM list_tretment WHERE trid='$rs2[surgery]'"; $qsql1 = mysqli_query($con,$sql1); while($re1 = mysqli_fetch_array($qsql1)) { echo $re1[tratment] .'</h4>'; } } ?> <?php // $sql ="SELECT * FROM Pre_Operative_Assessment_Sheet WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; // $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]'>Edit </a></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%'>Cough</td><td width='25%'>"; if($rs[Cough] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> <td width='25%'>Wheezing</td> <td width='25%'> "; if($rs[Wheezing] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> </tr> <tr> <td width='25%'> Liver Problem/Jaundice</td> <td width='25%'>"; if($rs[Liverproblem] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" <td width='25%'> Tuberculosis</td> <td width='25%'>"; if($rs[Previous_Operation] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo"</td> </tr> <tr> "; echo" <td width='25%'> Headache/Migraine</span></td><td width='25%'>"; if($rs[Migraine] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" <td width='25%'> Bleeding Disorder</span></td> <td width='25%'> "; if($rs[Bleeding_Disorder] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo " </tr> <tr> "; echo" </tr> <tr> <td width='25%'> SOB</span></td><td width='25%'>"; if($rs[SOB] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo"</td> <td width='25%'> Palpitation</span></td><td width='25%'>"; if($rs[Palpitation] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> <tr> <td width='25%'> CAD/PTCA/CABG/Chest Pain</span></td><td width='25%'>"; if($rs[Chest_Pain] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" <td width='25%'> Renal Disease</span></td><td width='25%'>"; if($rs[Renal_Disease] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> <tr> <td width='25%'> Allergies: Drug/Food</span></td><td width='25%'>"; if($rs[Allergies] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" <td width='25%'> Previous Admission</span></td><td width='25%'>"; if($rs[Previous_Admission] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> <tr> "; echo" <td width='25%'>Seizures/Fainting/Syncope</span></td><td width='25%'>"; if($rs[Seizures] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> <tr> <td width='25%'>Recent URI/Fever</td><td width='25%'>"; if($rs[Fever] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" <td width='25%'> Previous Anesthesia& Problem</span></td><td width='25%'>"; if($rs[Anesthesia_Problem] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> <tr> <td width='25%'> Frequent Urination</td><td width='25%'>"; if($rs[Urination] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" <td width='25%'> Back/Neck Pain</span></td><td width='25%'>"; if($rs[Back_Neck_Pain] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> <tr> <td width='25%'>Arthritis/Painful/Swollen Join</td><td width='25%'>"; if($rs[Arthritis] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" <td width='25%'> Blackouts/Loss of Consciousness</span></td><td width='25%'>"; if($rs[Blackouts] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> <tr> <td width='25%'> Abnormality of Nerve of Muscie</td><td width='25%'>"; if($rs[Muscie] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> <tr> <td width='25%'>Indigestion/Acid reflux/Heartburn/Hiatus hernia </td><td width='25%'>"; if($rs[hernia] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" <td width='25%'> Weight Loss/Gain </td><td width='25%'>"; if($rs[Weight_Loss_Gain] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> <tr> <td width='25%'>Contact Lens/Pacemaker/Hearing Aid </td><td width='25%'>"; if($rs[Pacemaker] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" <td width='25%'> Artificial Joint/Plates </td><td width='25%'>"; if($rs[Artificial] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </tr> </table> <table id='example2' class='table table-bordered table-hover' border='1' width='100%'> <th></th> <th>Unknown</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>PALLOR </span></h3></td><td>"; if($rs[PALLOR] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> </tr> <tr> <td><span>ICTERUS</span></h3></td><td>"; if($rs[ICTERUS] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> </tr> <tr><td><span>CYANOSIS </span></h3></td><td>"; if($rs[CYANOSIS] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> </tr> <tr><td><span>LYMPHNODES </span></h3></td><td>"; if($rs[LYMPHNODES] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> </tr> <tr> <td><span>JVP RAISED </span></h3></td><td>"; if($rs[JVP_RAISED] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> </tr> <tr> <td><span>T.M.JOINT</span></h3></td><td>"; if($rs[TM_JOINT] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> </tr> <tr> <td><span>DENTAL ABOUT REACTION </span></h3></td><td>"; if($rs[DENTAL_REACTION] == 'on'){ echo "<i class='fa fa-check' aria-hidden='true'></i>"; } else{ echo "<i class='fa fa-times' aria-hidden='true'></i>"; } echo" </td> </tr> "; } ?> </table> <?php $sql11 ="SELECT * FROM save_activity WHERE srno='$_GET[srno]' "; $qsql11 = mysqli_query($con,$sql11); while($rs11 = mysqli_fetch_array($qsql11)) { $sql ="SELECT * FROM Pre_Operative_Assessment_Sheet WHERE prescriptionid='$rs11[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $sql1 ="SELECT * FROM site_users WHERE userno='$rs[entered_by]'"; $qsql1 = mysqli_query($con,$sql1); while($rs1 = mysqli_fetch_array($qsql1)) { echo"<h5><b> Created & Updated </b><h5> <table id='example2' class='table table-bordered table-hover'> <tr><td width=50%><b>By :</b>$rs1[name] </b><td width='50%'><b>At :</b> $rs11[created_at] </tr>"; } } } ?> </table>