Server IP : 162.240.98.243 / Your IP : 3.149.249.252 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'>Medical Assessment</h3> <?php $sqlpatient = "SELECT * FROM save_activity WHERE prescriptionid='$_GET[prescriptionid]' AND discription='Intial Assessment<br>Medical Assessment<br>Doc.no-'"; $qsqlpatient = mysqli_query($con,$sqlpatient); if($rsp = mysqli_fetch_array($qsqlpatient)) { if($rsp[discription]== 'Intial Assessment<br>Medical Assessment<br>Doc.no-'){ echo"<h4 align='right'>Doc.no : $rsp[srno]</h4>"; } else{ echo ""; } } ?> <table id='example2' class='table table-bordered table-hover'> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Fever']; if($usertype == 'on'){ echo " <tr><td width='33%'> Fever: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Fever_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['smell']; if($usertype == 'on'){ echo " <tr><td width='33%'> Loss of Smell: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[smell_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Diarrhoea']; if($usertype == 'on'){ echo " <tr><td width='33%'> Diarrhoea: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Diarrhoea_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Deformity']; if($usertype == 'on'){ echo " <tr><td width='33%'> Facial Deformity: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Deformity_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Cough']; if($usertype == 'on'){ echo " <tr><td width='33%'> Cough: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Cough_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Taste']; if($usertype == 'on'){ echo " <tr><td width='33%'> Loss of Taste: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Taste_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Weakness']; if($usertype == 'on'){ echo " <tr><td width='33%'> Weakness: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Weakness_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Breathlessness']; if($usertype == 'on'){ echo " <tr><td width='33%'> Breathlessness: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Breathlessness_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Appetite']; if($usertype == 'on'){ echo " <tr><td width='33%'> Shivering: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Appetite_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Limbs']; if($usertype == 'on'){ echo " <tr><td width='33%'> Power Loss in Limbs: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Limbs_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Throat']; if($usertype == 'on'){ echo " <tr><td width='33%'> Sore Throat : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Throat_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Vomitting']; if($usertype == 'on'){ echo " <tr><td width='33%'> Vomitting : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Vomitting_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Slurred_Voice']; if($usertype == 'on'){ echo " <tr><td width='33%'> Slurred Voice: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Slurred_Voice_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Nausea']; if($usertype == 'on'){ echo " <tr><td width='33%'> Nausea: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Nausea_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Loss_Appetite']; if($usertype == 'on'){ echo " <tr><td width='33%'> Loss of Appetite: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Loss_Appetite_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Delusion']; if($usertype == 'on'){ echo " <tr><td width='33%'> Delusion: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Delusion_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Fits_Anger']; if($usertype == 'on'){ echo " <tr><td width='33%'> Fits of Anger: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Fits_Anger_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Depression']; if($usertype == 'on'){ echo " <tr><td width='33%'> Depression: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Depression_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Memory_Loss']; if($usertype == 'on'){ echo " <tr><td width='33%'> Memory Loss: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Memory_Loss_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Bleeding_Disorder']; if($usertype == 'on'){ echo " <tr><td width='33%'> Bleeding Disorder: </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Bleeding_Disorder_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Migraine']; if($usertype == 'on'){ echo " <tr><td width='33%'> Migraine : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Migraine_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Frequent_Urination']; if($usertype == 'on'){ echo " <tr><td width='33%'> Frequent Urination : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Frequent_Urination_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Swollen_Join']; if($usertype == 'on'){ echo " <tr><td width='33%'> Swollen Join : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Swollen_Join_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Weight_Gain']; if($usertype == 'on'){ echo " <tr><td width='33%'> Weight Gain : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Weight_Gain_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['weight_loss']; if($usertype == 'on'){ echo " <tr><td width='33%'> weight loss : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[weight_loss_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Body_pain']; if($usertype == 'on'){ echo " <tr><td width='33%'> Body pain : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Body_pain_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Physical_Injury']; if($usertype == 'on'){ echo " <tr><td width='33%'> Physical Injury : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Physical_Injury_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Other_Symptoms']; if($usertype == ''){ echo " "; } else { echo"<tr><td width='33%'> Other Symptoms : </td> <td width='33%'>$rs[Other_Symptoms]</td></tr>"; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['RED_EYE']; if($usertype == 'on'){ echo " <tr><td width='33%'> RED EYE : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[RED_EYE_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Swollen_Eye']; if($usertype == 'on'){ echo " <tr><td width='33%'> Swollen Eye : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Swollen_Eye_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Conjunctiva']; if($usertype == 'on'){ echo " <tr><td width='33%'> Conjunctiva : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Conjunctiva_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Itchiness']; if($usertype == 'on'){ echo " <tr><td width='33%'> Itchiness : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Itchiness_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Dislocated']; if($usertype == 'on'){ echo " <tr><td width='33%'> Dislocated : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Dislocated_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Blur_Vision']; if($usertype == 'on'){ echo " <tr><td width='33%'> Blur Vision : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Blur_Vision_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Partial_Blindness']; if($usertype == 'on'){ echo " <tr><td width='33%'> Partial Blindness : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Partial_Blindness_note]</td></tr>"; } else{ echo ""; } } ?> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['Blindness']; if($usertype == 'on'){ echo " <tr><td width='33%'> Blindness : </td> <td width='33%'><i class='fa fa-check' aria-hidden='true'></i></td><td width='33%'>$rs[Blindness_note]</td></tr>"; } else{ echo ""; } } ?> </table> <?php $sql ="SELECT * FROM Medical_Assessment WHERE prescriptionid='$_GET[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); 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[updated_at] </tr>"; } } ?> </table>