Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 3.143.204.48
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/www/login.easenup.in/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/www/login.easenup.in/showdrnote.php
<?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>&nbsp;$rs[Wt]</td>     
            <td>&nbsp;$rs[SPo2]</td>
             <td>&nbsp;$rs[RBS]</td>     
            <td>&nbsp;$rs[Temp]</td>
			 <td>&nbsp;$rs[Pulse]</td>     
            <td>&nbsp;$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>&nbsp;$rs[created_at]</td>     
            <td>&nbsp;$rs[Investigation]</td>
           <td>&nbsp;$rs[Result]</td>
		   <td>&nbsp;$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%'>&nbsp;  &nbsp; &nbsp; &nbsp; Potential side effect : </td>
<td width='50%'>$rst[Word]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Nursing Instruction. : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Patient Status  : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Response to Treatment   : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Shift to Ward    : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Expected Outcome    : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Alternative Mode of Treatment    : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Available Treatment Facility options    : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Assurance and Guarantee   : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Option for second Opinion  : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Referral to Higher center   : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name of hospital   : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Prognosis Explained  : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Detail Note : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Schedule Operative procedure  : </td>
<td width='50%'>$rst[Bed]</td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Schedule Emergency Operative procedure : </td>
<td width='50%'>$rst[Bed]</td>
</tr>

";
}
?></table>
      </div>
      </div>
      </div>
      </div>
<?php
include("footer.php");
?>

Anon7 - 2022
AnonSec Team