Server IP : 162.240.98.243 / Your IP : 18.118.226.66 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'>Decision making</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 ""; } } ?> <table id='example2' class='table table-bordered table-hover'> <?php $sql ="SELECT * FROM Decision_making WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { if($rs[Presented_all] == 'on'){ echo " <tr><td width='50%'> Presented all of the reasonable treatment/intervention options to patient: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'> Presented all of the reasonable treatment/intervention options to patient: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[Discussed_risks] == 'on'){ echo " <tr><td width='50%'>Discussed the risks and benefits of each option with patient: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Discussed the risks and benefits of each option with patient: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[Asked_patient] == 'on'){ echo " <tr><td width='50%'>Asked patient to review relevant decision tools (booklets/videos/Web sites): </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Asked patient to review relevant decision tools (booklets/videos/Web sites): </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[patient_teach] == 'on'){ echo " <tr><td width='50%'>Asked patient to teach back what was discussed: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Asked patient to teach back what was discussed: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[Patient_demonstrated] == 'on'){ echo " <tr><td width='50%'>Patient demonstrated an understanding of the options: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Patient demonstrated an understanding of the options: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[Encouraged_patient] == 'on'){ echo " <tr><td width='50%'>Encouraged patient to talk about what matters most to him/her: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Encouraged patient to talk about what matters most to him/her: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[Listened_actively] == 'on'){ echo " <tr><td width='50%'>Listened actively to patient and asked open-ended questions: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Listened actively to patient and asked open-ended questions: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[decision_might] == 'on'){ echo " <tr><td width='50%'>Asked patient how his or her decision might impact their daily life: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Asked patient how his or her decision might impact their daily life: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[Acknowledged] == 'on'){ echo " <tr><td width='50%'>Acknowledged and agreed with my patient on what matters most to him/her: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Acknowledged and agreed with my patient on what matters most to him/her: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[preferred] == 'on'){ echo " <tr><td width='50%'>Asked patient what option he/she preferred: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Asked patient what option he/she preferred: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[additional] == 'on'){ echo " <tr><td width='50%'>Asked patient, if he/she needed additional information: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Asked patient, if he/she needed additional information: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; }if($rs[consult] == 'on'){ echo " <tr><td width='50%'>Asked patient, if he/she wanted to consult others before making a decision: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Asked patient, if he/she wanted to consult others before making a decision: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; }if($rs[Treating_Doctor] == 'on'){ echo " <tr><td width='50%'>Patient and Treating Doctor agreed on the decision: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Patient and Treating Doctor agreed on the decision: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } } ?> </table>