Server IP : 162.240.98.243 / Your IP : 18.191.176.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/public_html/login.easenup.in/ |
Upload File : |
<?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'> <?php $sql ="SELECT * FROM dischargechecklist 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_dischargechecklist.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]'><i class='fa fa-pencil-square-o'></i> </a></h3>"; } ?> <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>