Server IP : 162.240.98.243 / Your IP : 18.118.138.195 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'; ?> <h3 align='center'>Discharge Checklist </h3> <?php include("dbconnection.php"); $sqlpatient = "SELECT * FROM save_activity WHERE prescriptionid='$_GET[prescriptionid]' AND discription='Discharge Summery<br>Discharge Checklist<br>Doc.no-'"; $qsqlpatient = mysqli_query($con,$sqlpatient); if($rsp = mysqli_fetch_array($qsqlpatient)) { if($rsp[discription]== 'Discharge Summery<br>Discharge Checklist<br>Doc.no-'){ echo"<h4>Doc.no : $rsp[srno]</h4>"; } else{ echo ""; } } ?> <?php session_start(); require_once('../DBManager.php'); require_once('../LoginManager.php'); ?> <style> .center { border: 1px solid grey; text-align:; } .center2 { border: 5px solid grey; text-align:; } </style> <div class='center'> <table id='example2' class='table table-bordered table-hover'> <?php $sql ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tr> <td width='50%'> Admission Consent: </td> <td width='50%'>$rs[Admission_Consent]</td> </tr> <tr> <td width='50%'> Blood Transfusion Consent: </td> <td width='50%'>$rs[Transfusion_Consent]</td> </tr> <tr> <td width='50%'> Cost Consent: </td> <td width='50%'>$rs[Cost_Consent]</td> </tr> <tr> <td width='50%'> Procedure Consent: </td> <td width='50%'>$rs[Procedure_Consent]</td> </tr> <tr> <td width='50%'> High Risk Consent: </td> <td width='50%'>$rs[High_Risk_Consent]</td> </tr> <tr> <td width='50%'> Anesthesia Consent: </td> <td width='50%'>$rs[Anesthesia_Consent]</td> </tr> <tr> <td width='50%'> LAMA/DOR Consent: </td> <td width='50%'>$rs[LAMA_DOR_Consent]</td> </tr> <tr> <td width='50%'> Discharge Consent: </td> <td width='50%'>$rs[Discharge_Consent]</td> </tr> "; } ?> <?php session_start(); require_once('../LoginManager.php'); require_once('../DBManager.php'); $sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' "; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { if(Pregnancy==$rs[casetype]) { ?> <?php $sql ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tr> <td width='50%'> Safe Childbirth Checklist Step 1: </td> <td width='50%'>$rs[Step_1]</td> </tr> <tr> <td width='50%'> Safe Childbirth Checklist Step 2: </td> <td width='50%'>$rs[Step_2]</td> </tr> <tr> <td width='50%'> Safe Childbirth Checklist Step 3: </td> <td width='50%'>$rs[Step_3]</td> </tr> <tr> <td width='50%'> Safe Childbirth Checklist Step 4: </td> <td width='50%'>$rs[Step_4]</td> </tr> "; } ?> <?php } } ?> <?php $sql ="SELECT * FROM dischargechecklist WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tr> <td width='50%'> Pharmacy Replacement: </td> <td width='50%'>"; if($rs[Pharmacy_Replacement] == '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='50%'> Billing Completed : </td> <td width='50%'> "; if($rs[Billing_Completed] == '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='50%'> Discharge summary explained and handed over : </td> <td width='50%'>"; if($rs[summary_handed] == '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='50%'> Prescription explained and handed over : </td> <td width='50%'>"; if($rs[Prescription_explained] == '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='50%'> Report handed over : </td> <td width='50%'> "; if($rs[Report_handed] == '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='50%'> Iv Cannula Removed : </td> <td width='50%'>"; if($rs[iv_cannula_removed] == '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='50%'> Hospital Dress Changed : </td> <td width='50%'>"; if($rs[Hospital_Dress_Changed] == '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='50%'> Hospital belonging checked and taken back : </td> <td width='50%'>"; if($rs[Hospital_belonging] == '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='50%'> Pending report informed: </td> <td width='50%'>"; if($rs[Pending_report_informed] == '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='50%'> Attending Nursing Staff: </td> <td width='50%'>$rs[Nurse_Name]</td> </tr> "; } ?> </table> </div> <?php $sql11 ="SELECT * FROM save_activity WHERE srno='$_GET[srno]' "; $qsql11 = mysqli_query($con,$sql11); while($rs11 = mysqli_fetch_array($qsql11)) { $sql ="SELECT * FROM dischargechecklist WHERE prescriptionid='$rs11[prescriptionid]' AND patientid='$_GET[patientid]' "; $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>