Server IP : 162.240.98.243 / Your IP : 3.137.223.239 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 : |
<h3 align='center'>Nutritional Screening</h3> <?php $sql ="SELECT * FROM Nutritional_Screening 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_NutritionalScreening.php?prescriptionid=$rs[prescriptionid]&patientid=$rs[patientid]'>Edit </a></h3>"; } ?> <table id='example2' class='table table-bordered table-hover'> <?php $sql ="SELECT * FROM Nutritional_Screening WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { if($rs[weight_loss] == 'on'){ echo " <tr><td width='50%'>Does the patient have any weight loss/ Weight gain?: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Does the patient have any weight loss/ Weight gain?: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[BMI] == 'on'){ echo " <tr><td width='50%'>Does the patient appear emaciated or BMI is Below <18.5 ?: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Does the patient appear emaciated or BMI is Below <18.5 ? : </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[patient_look] == 'on'){ echo " <tr><td width='50%'>Does the patient look Obese or BMI is above >30: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Does the patient look Obese or BMI is above >30: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[last_2_weeks] == 'on'){ echo " <tr><td width='50%'>Does the patient have any GL Symptoms like Constipation, Nausea, Diarrhea, Anorexia, Vomiting, chewing/swallowing difficulty affecting oral intake in last 2 weeks: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Does the patient have any GL Symptoms like Constipation, Nausea, Diarrhea, Anorexia, Vomiting, chewing/swallowing difficulty affecting oral intake in last 2 weeks: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[enteral_tube] == 'on'){ echo " <tr><td width='50%'>Does the patient have any enteral tube feeding : </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Does the patient have any enteral tube feeding : </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } if($rs[parenteral_tube] == 'on'){ echo " <tr><td width='50%'>Does the patient have any parenteral tube feeding: </td> <td width='50%'><i class='fa fa-check' aria-hidden='true'></i></td></tr>"; } else{ echo "<tr><td width='50%'>Does the patient have any parenteral tube feeding: </td> <td width='50%'><i class='fa fa-times' aria-hidden='true'></i></td></tr>"; } echo"<tr><td width='50%'>Food Pattern Followed :</td><td width='50%'>$rs[Pattern_Followed]</td></tr> <tr><td width='50%'>Appetite</td><td width='50%'>$rs[Appetite]</td></tr>"; } ?> </table>