Server IP : 162.240.98.243 / Your IP : 3.137.163.36 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'; if(isset($_POST['signup'])) { PatientManager::admissionpatient("$_POST[patientid]","$_POST[Type_of_Admission]","$_POST[Reason_for_Admission]","$_POST[MLC]","$_POST[MLC_No]","$_POST[Upload_MLC_Slip]","$_POST[Information_Obtained_from]","$_POST[General_Consent_Signed]","$_POST[Upload_Consent]","$_POST[ID_Band_tied]","$_POST[Wt]","$_POST[SPo2]","$_POST[RBS]","$_POST[Temp]","$_POST[pulse]","$_POST[BP]","$_POST[Pain_Assessment]","$_POST[Chief_Complain]","$_POST[Admitted_Under]","$_POST[enteredby]"); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <title>Document</title> <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 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 myFunction3() { var checkBox = document.getElementById("myCheck3"); var text = document.getElementById("text3"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } function myFunction4() { var checkBox = document.getElementById("myCheck4"); var text = document.getElementById("text4"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } </script> </head> <body> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <form name="signup" method="post" > <fieldset> <legend> <p> <h3>Initial Assessment</h3> </legend> </p> <?php $sql ="SELECT * FROM Request_for_Admission WHERE patient='patientid'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <div><label for='item'>Hospital name<span></span></label><input type='text' value='rs[patientid]' name='patientid'> </div> "; } ?> <div><label for="item">Type of Admission<span>*</span> <select name='Type_of_Admission'> <option value='' disabled selected>Type of Admission</option> <option value='First Time '>First Time </option> <option value='Continuation of Treatment'>Continuation of Treatment</option> <option value='Supportive Therapy'>Supportive Therapy</option> </select> </div> <div> <label for="item">Reason for Admission<span>*</span> <select name='Reason_for_Admission'> <option value='' disabled selected>Reason for Admission</option> <option value='Emergency'>Emergency </option> <option value='Observation'>Observation</option> </select> </div> <div class="checkbox"> <input type="checkbox" name="MLC" id="myCheck3" onclick="myFunction3()"><span>MLC </span> </div> <div id="text3" style="display:none" > <div> <label for="item">MLC No<span>*</span><input name="MLC_No" type="text"> </div> <div> <label for="item">Upload MLC Slip<span>*</span><input name="Upload_MLC_Slip" type="file"> </div> </div> <div class="checkbox"> <input type="checkbox" name="MLC" id="myCheck4" onclick="myFunction4()"><span>Trauma </span> </div> <div id="text4" style="display:none" > <div> <label for="item">Trauma No<span>*</span><input name="MLC_No" type="text"> </div> <div> <label for="item">Trauma MLC Slip<span>*</span><input name="Upload_MLC_Slip" type="file"> </div> </div> <div> <label for="item">Information Obtained from <span>*</span><select name='Information_Obtained_from'> <option value='' disabled selected>Information Obtained from</option> <option value='Patient'>Patient</option> <option value='Family'>Family</option> <option value='Old Chart'>Old Chart</option> <option value='Other (Specify)'>Other (Specify)</option> </select> </div> <div class="checkbox"> <input type="checkbox" name="General_Consent_Signed" id="myCheck2" onclick="myFunction2()"><span>General Consent Signed </span> </div> <div id="text2" style="display:none" > <div> <label for="item">Upload Consent<span>*</span><input name="Upload_Consent" type="file"> </div> <div> <Button style="height:20%;width:20%">Download Consent Formate </Button> </div> </div> <div class="checkbox"> <input name="ID_Band_tied" type="checkbox"><span>ID Band tied</span> </div> <div><input type="button" onclick="myFunction('Demo1')" value="Medical Condition"></div> <div id="Demo1" class="w3-container w3-hide"> <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><strong>Medical Condition</strong></th> <th><strong>Status</strong></th> <th><strong>Edit</strong></th> </tr> </thead> <?php $sql ="SELECT * FROM medi_condition_final WHERE patientid='patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tbody> <tr> <td> $rs[medicalcon]</td> <td> $rs[Status]</td> <td><a href='edit_medicalcon.php?patientid=$rs[patientid]&medicalcoid=$rs[medicalcoid]'>Edit</a></td> </tr> "; } ?> </tr> </thead> </tbody> <tfoot> </tfoot> </table> <script> function myFunction(id) { var x = document.getElementById(id); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } </script> <button style="height:40px;width:100px"><a href="medicalcon_nurse.php">Add More</a></button> <br> <div> <label>Dependency</label> <select name="Dependency"> <option value="" disabled selected>Dependency </option> <option value="Independent">Independent</option> <option value="Partially Dependent">Partially Dependent</option> <option value="Completely Dependent">Completely Dependent </option> </select> </div> <div> <label>Mode of Movement </label> <select name="Modn"> <option value="" disabled selected>Mode of Movement </option> <option value="Independent">Ambulatory</option> <option value="Wheel chair">Wheel chair</option> <option value="Stretcher">Stretcher </option> <option value="Physical Support">Physical Support </option> </select> </div> <div> <label>Level of Consciousness </label> <select name="Level"> <option value="" disabled selected>Level of Consciousness </option> <option value="Conscious">Conscious</option> <option value="Semi Conscious">Semi Conscious</option> <option value="Un-conscious ">Un-conscious </option> </select> </div></div><br> <div><input type="button" onclick="harila('Demo')" value="Known Allergies"></div> <div id="Demo" class="w3-container w3-hide"> <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><strong>Allergies</strong></th> <th><strong>Category</strong></th> <th><strong>Edit</strong></th> </tr> </thead> <?php $sql ="SELECT * FROM allergy WHERE patientid='GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tbody> <tr> <td> $rs[Allergen]</td> <td> $rs[Category]</td> <td><a href='edit_alg.php?patientid=$rs[patientid]&medicalcoid=$rs[medicalcoid]'>Edit</a></td> </tr> "; } ?> </tr> </thead> </tbody> <tfoot> </tfoot> </table> <button style="height:40px;width:100px"><a href="Allergies.php">Add More</a></button> </div> <script> function harila(id) { var x = document.getElementById(id); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } </script> <br><div> <input type="button" onclick="vitals('Demo3')" value="Vitals"></div> <div id="Demo3" class="w3-container w3-hide"> <table id="example2" class="table table-bordered table-hover"> <thead> <tr> <div class='account-details'> <tr> <tr><td style="width:50%"><label><h4 align="center">Vitals</h2></label></td><td style="width:50%"><label><h4 align="center">Range</h2></label></td></tr> <tr><td style="width:29%"><div><h5>Weight : </h5> </td></div><td style="width:46%"><div><input name="Wt" placeholder="In KG" type="text"></div></td></tr> <td><div><h5>SPo2 : </h5> </td></div><td><div><input name="SPo2" placeholder="Oxygen saturation" type="text"></div></td></tr> <tr><td><div><h5>RBS : </h5> </td></div><td><div><input placeholder="mg/dl" name="RBS" type="text"></div></td></tr> <tr><td><div><h5>Temperature: </h5> </td></div><td><div><input placeholder="°C" name="Temp" type="text"></div></td></tr> <tr><td><div><h5>Blood Pressure: </h5> </td></div><td><div><input placeholder="mmHg" name="BP" type="text"></div></td></tr> </div> </tr> </tr> </thead> </tbody> <tfoot> </tfoot> </table> </div> <script> function vitals(id) { var x = document.getElementById(id); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } </script> <div> <label for="item">Pain Assessment<span>*</span> <select name='Pain_Assessment'> <option value='' disabled selected>Pain Assessment</option> <option value='1'>1</option> <option value='2'>2</option> <option value='3'>3</option> <option value='4'>4</option> <option value='5'>5</option> <option value='6'>6</option> <option value='7'>7</option> <option value='8'>8</option> <option value='9'>9</option> <option value='10'>10</option> </select> </div> <div> <label for="item">Chief Complain<span>*</span><input name="Chief_Complain" type="text"> </div> <div> <label for="item">Admitted Under<span>*</span><input name="Admitted_Under" type="text"> </div> <div> <label for="item">Attending Nurse<span>*</span> <select " name="Attending_Nurse" id="select2"> <option value="">Attending Nurse</option> <?php $sqldoctor= "SELECT * FROM Nurse WHERE Nurseid='$_GET[Nurseid]'"; $qsqldoctor = mysqli_query($con,$sqldoctor); while($rsdoctor = mysqli_fetch_array($qsqldoctor)) { if($rsdoctor[Nurseid] == $rsedit[Nurseid]) { echo "<option value='$rsdoctor[Nurseid]' selected>$rsdoctor[Nurseid]-$rsdoctor[Name]</option>"; } else { echo "<option value='rsdoctor[Nurseid]'>$rsdoctor[Name]</option>"; } } ?> </select> </div> <input type="submit" name="signup" value="Submit"> </div> </form> </body> </html>