Server IP : 162.240.98.243 / Your IP : 3.145.45.5 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/www/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'; ?> <?php include("dbconnection.php"); $sqlpatient = "SELECT * FROM save_activity WHERE prescriptionid='$_GET[prescriptionid]' AND discription='Intial Assessment<br>GENERAL CONSENT<br>Doc.no-'"; $qsqlpatient = mysqli_query($con,$sqlpatient); if($rsp = mysqli_fetch_array($qsqlpatient)) { if($rsp[discription]== 'Intial Assessment<br>GENERAL CONSENT<br>Doc.no-'){ echo"<h4 align='right'>Doc.no : $rsp[srno]</h4>"; } else{ echo ""; } } echo "<br>"; $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 patient WHERE patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <div class='center'> <table id='example2' class='table table-bordered table-hover' width='100%'> <h3 align='center'>POST-OPERATIVE CHECKLIST <tr> <td width='50%'> Pt. Name: </td> <td width='50%'>$rs[patientname]</td> </tr> <tr> <td width='50%'> W/O,D/O,S/O. : </td> <td width='50%'>$rs[HusbandName]</td> </tr> <tr> <td width='50%'> DOB: </td> <td width='50%'>$rs[dob]</td> </tr> <tr> <td width='50%'> Sex : </td> <td width='50%'>$rs[gendor]</td> </tr> "; echo "</td></tr>"; } ?> <p> <table id="example2" class="table table-bordered table-hover"> <?php $sql ="SELECT * FROM post_Confirmation_Sheet WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND surgeryid='$_GET[surgeryid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { if($rs[verify_pt_identity]=='on') { echo" <tr><td width='50%'>Verify the identity of patient </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> "; } else{ echo" <tr><td width='50%'>Verify the identity of patient </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr> "; } if($rs[name_tag]=='on') { echo" <tr><td width='50%'>Name and tag in position & correct </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> "; } else{ echo" <tr><td width='50%'>Name and tag in position & correct </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr> "; } if($rs[consent_form_signed]=='on') { echo" <tr><td width='50%'>Operation consent form signed & present in file </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> "; } else{ echo" <tr><td width='50%'>Operation consent form signed & present in file </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr> "; } if($rs[Operation_consent]=='on') { echo" <tr><td width='50%'>Operation consent form signed patient & relative present </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> "; } else{ echo" <tr><td width='50%'>Operation consent form signed patient & relative present </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr> "; } if($rs[operative_assessment]=='on') { echo" <tr><td width='50%'>Nursing Instruction sheet Attached </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> "; } else{ echo" <tr><td width='50%'>Nursing Instruction sheet Attached </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr> "; } if($rs[Medical_fitness]=='on') { echo" <tr><td width='50%'>Lab investigation attached</td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> "; } else{ echo" <tr><td width='50%'>Lab investigation attached </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr> "; } if($rs[Last_meal]=='on') { echo" <tr><td width='50%'>General systematic examination done</td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> "; } else{ echo" <tr><td width='50%'>General systematic examination done </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr> "; } if($rs[Allergy_noted]=='on') { echo" <tr><td width='50%'>Allergy noted for paper</td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> "; } else{ echo" <tr><td width='50%'>Allergy noted for paper</td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr> "; } if($rs[reports_checked]=='on') { echo" <tr><td width='50%'>All reports checked</td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr> "; } else{ echo" <tr><td width='50%'>All reports checked</td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr> "; } } ?> </table> </div> <?php $sql ="SELECT * FROM post_Confirmation_Sheet WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND surgeryid='$_GET[surgeryid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { $sql1 ="SELECT * FROM site_users WHERE userno='$rs[entered_by]'"; $qsql1 = mysqli_query($con,$sql1); if($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> $rs[created_at] </tr>"; } } ?> </table> </div>