Server IP : 162.240.98.243 / Your IP : 18.225.98.192 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("../patientmanager.php"); require_once("../DBManager.php"); include 'header.php'; include 'dashboarddocument.php'; ?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <div class="card-body"> <h2 align="center">Vitals</h2> <table id="example2" class="table table-bordered table-hover"> <thead> <tr> <div class='card-header d-flex p-0'> <ul class='nav nav-pills ml-auto p-2'> <th>Wt </th> <th>SPo2 </th> <th>RBS </th> <th>Temp</th> <th>Pulse</th> <th>BP</th> </tr> </thead> <tr><?php $sql ="SELECT * FROM request_for_admission_ipd WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tbody> <tr> <td> $rs[Wt]</td> <td> $rs[SPo2]</td> <td> $rs[RBS]</td> <td> $rs[Temp]</td> <td> $rs[Pulse]</td> <td> $rs[BP]</td> "; } ?> </tr> </thead> </tbody> </table> <?php $sqlpatient="SELECT * FROM investigation WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'"; $qsqlpatient = mysqli_query($con,$sqlpatient); if($rp=mysqli_fetch_array($qsqlpatient)) { $a = $rp['patientid']; if(is_null($a)){ echo "No Found"; } else{ echo ""; ?> <h3 align="center">Investigation Timeline</h3> <table id="example2" id ="demo" class="table table-bordered table-hover"> <thead> <tr> <div id="listingTable"> <div class='card-header d-flex p-0'> <ul class='nav nav-pills ml-auto p-2'> <th><strong>Date Time</strong></th> <th><strong>Investigation</strong></th> <th><strong>Result</strong></th> <th><strong>Evidence (Upload)</strong></th> </tr> </thead> <?php $sql ="SELECT * FROM investigation WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tbody> <tr> <td> $rs[created_at]</td> <td> $rs[Investigation]</td> <td> $rs[Result]</td> <td> $rs[Evidence]</td> </tr> "; } ?> </tbody> </table> <?php } } ?> <?php $sqlpatient= "SELECT * FROM medication WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND poa='drnote'"; $qsqlpatient = mysqli_query($con,$sqlpatient); if($rp=mysqli_fetch_array($qsqlpatient)) { $a = $rp['patientid']; if(is_null($a)){ echo "No Found"; } else{ echo ""; ?> <div id="mmenu"> <h3 align="center">Medication </h3> <table id='example2' class='table table-bordered table-hover'> <tr><th>Drug</th><th>Dose</th><th>Route</th><th>Frequency </th></tr> <?php $sqlpatient= "SELECT * FROM medication WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]' AND poa='drnote'"; $qsqlpatient = mysqli_query($con,$sqlpatient); while($rpm=mysqli_fetch_array($qsqlpatient)) { echo " <tr><td>$rpm[drug]</td><td>$rpm[dose]</td><td>$rpm[Route]</td><td>$rpm[Frequency]</td></tr> "; } ?> </table></div> <?php } } ?> <?php $sql ="SELECT * FROM drnote WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rst = mysqli_fetch_array($qsql)) { echo " <h3 align='center'>Doctors Note</h3> <table id='example2' class='table table-bordered table-hover'> <tr> <td width='50%'> Potential side effect : </td> <td width='50%'>$rst[Word]</td> </tr> <tr> <td width='50%'> Nursing Instruction. : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Patient Status : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Response to Treatment : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Shift to Ward : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Expected Outcome : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Alternative Mode of Treatment : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Available Treatment Facility options : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Assurance and Guarantee : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Option for second Opinion : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Referral to Higher center : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Name of hospital : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Prognosis Explained : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Detail Note : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Schedule Operative procedure : </td> <td width='50%'>$rst[Bed]</td> </tr> <tr> <td width='50%'> Schedule Emergency Operative procedure : </td> <td width='50%'>$rst[Bed]</td> </tr> "; } ?></table> </div> </div> </div> </div> <?php include("footer.php"); ?>