Server IP : 162.240.98.243 / Your IP : 52.15.214.27 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'); require_once('../patientmanager.php'); if(isset($_POST['signup'])) { PatientManager::dischargechecklist("$_GET[prescriptionid]","$_GET[patientid]","$_POST[check_date]","$_POST[Admission_Consent]","$_POST[Transfusion_Consent]","$_POST[Cost_Consent]","$_POST[Procedure_Consent]","$_POST[High_Risk_Consent]","$_POST[Anesthesia_Consent]","$_POST[LAMA_DOR_Consent]","$_POST[Discharge_Consent]","$_POST[Step_1]","$_POST[Step_2]","$_POST[Step_3]","$_POST[Step_4]","$_POST[Pharmacy_Replacement]","$_POST[Billing_Completed]","$_POST[summary_handed]","$_POST[Prescription_explained]","$_POST[Report_handed]","$_POST[iv_cannula_removed]","$_POST[Hospital_Dress_Changed]","$_POST[Hospital_belonging]","$_POST[Pending_report_informed]","$_POST[Nurse_Name]","$_POST[entered_by]"); } ?> <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> <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"; } } function myFunction102() { var checkBox = document.getElementById("myCheck102"); var text = document.getElementById("text102"); if (checkBox.checked == true){ text.style.display = "block"; } else { text.style.display = "none"; } } </script> <style> .center { border: 1px solid grey; text-align:; } </style> <?php $sql ="SELECT * FROM patient WHERE patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <div class='center'> <table id='example2' class='table table-bordered table-hover' width='100%'> <h3 align='center'>Discharge Checklist</h3> <tr> <td width='50%'> UHID: </td> <td width='50%'>$rs[patientid]</td> </tr> <tr> <td width='50%'> Pt. Name: </td> <td width='50%'>$rs[patientname]</td> </tr> <tr> <td width='50%'> W/O,D/O,S/O. : </td> <td width='50%'>$rs[HusbandName]</td> </tr> <tr> <td width='50%'> DOB: </td> <td width='50%'>$rs[dob]</td> </tr> <tr> <td width='50%'> Sex : </td> <td width='50%'>$rs[gendor]</td> </tr> "; echo "</td></tr>"; } ?> <form name="signup" method="post"> <?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> <td width='50%'> Date : </td> <td width='50%'><input type='date' name='check_date'> </td> </tr> <tr> <td width='50%'> Admission Consent : </td> <td width='50%'><select name='Admission_Consent'> <option value='Admission Consent' disabled selected>Admission Consent</option> <option value='Present' >Present</option> <option value='Missing' selected>Missing </option> </select></td> </tr> <tr> <td width='50%'> Blood Transfusion Consent : </td> <td width='50%'><select name='Transfusion_Consent'> <option value='Blood Transfusion Consent' disabled selected>Blood Transfusion Consent</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Present'>Present</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> Cost Consent : </td> <td width='50%'><select name='Cost_Consent'> <option value='Cost Consent' disabled selected>Cost Consent</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Present'>Present</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> Procedure Consent : </td> <td width='50%'><select name='Procedure_Consent'> <option value='Procedure_Consent' disabled selected>Procedure Consent</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Present'>Present</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> High Risk Consent : </td> <td width='50%'><select name='High_Risk_Consent'> <option value='High_Risk_Consent' disabled selected>High Risk Consent</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Present'>Present</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> Anesthesia Consent : </td> <td width='50%'><select name='Anesthesia_Consent'> <option value='Anesthesia_Consent' disabled selected>Anesthesia Consent</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Present'>Present</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> LAMA/DOR Consent : </td> <td width='50%'><select name='LAMA_DOR_Consent'> <option value='LAMA_DOR_Consent' disabled selected>LAMA/DOR Consent:</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Present'>Present</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> Discharge Consent : </td> <td width='50%'><select name='Discharge_Consent'> <option value='LAMA_DOR_Consent' disabled selected>Discharge Consent</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Present'>Present</option> <option value='Missing'>Missing </option> </select></td> </tr> <?php session_start(); require_once('../LoginManager.php'); require_once('../DBManager.php'); $sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' "; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { if(Pregnancy==$rs[casetype]) { ?> <div id="mmenu"> <tr> <td width='50%'> Safe Childbirth Checklist Step 1 : </td> <td width='50%'><select name='Safe_Childbirth_Checklist'> <option value='Safe_Childbirth_Checklist' disabled selected>Safe Childbirth Checklist</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Completed'>Completed</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> Safe Childbirth Checklist Step 1 : </td> <td width='50%'><select name='Step_1'> <option value='Safe_Childbirth_Checklist' disabled selected>Safe Childbirth Checklist</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Completed'>Completed</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> Safe Childbirth Checklist Step 2 : </td> <td width='50%'><select name='Step_2'> <option value='Safe_Childbirth_Checklist' disabled selected>Safe Childbirth Checklist</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Completed'>Completed</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> Safe Childbirth Checklist Step 3 : </td> <td width='50%'><select name='Step_3' > <option value='Safe_Childbirth_Checklist' disabled selected>Safe Childbirth Checklist</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Completed'>Completed</option> <option value='Missing'>Missing </option> </select></td> </tr> <tr> <td width='50%'> Safe Childbirth Checklist Step 4 : </td> <td width='50%'><select name='Step_4'> <option value='Safe_Childbirth_Checklist' disabled selected>Safe Childbirth Checklist</option> <option value='Not Applicable' selected>Not Applicable</option> <option value='Completed'>Completed</option> <option value='Missing'>Missing </option> </select></td> </tr> <!--<tr> <td width='50%'> Safe Childbirth Checklist (Step 4) : </td> <td width='50%'><label class='switch'> <input name='Safe_Childbirth_Checklist4' id="myCheck102" onclick="myFunction102()" type='checkbox'> <span class='slider'></span> </label> </td> </tr>--> </table> <div id="text102" style="display:none" > <h3 align="center">Safe Childbirth Checklist Before Discharge (Step 4) </h3> <div class="checkbox"> <table id='example2' class='table table-bordered table-hover' width='100%'> <tr> <td> <p> <h4>Confirm stay at facility for 24 hours after delivery</h4> </td> <td> <select name='Confirm_stay'> <option value='Safe_Childbirth_Checklist' disabled selected>Confirm stay at facility for 24 hours</option> <option value='Yes'>Yes</option> <option value='Not Needed'>Not Needed </option> </select> </td> </tr> <tr> <td> <p> <h4>Does mother need to start antibiotics? </h4> </td> <td> <select name='Confirm_stay'> <option value='start_antibiotics' disabled selected>start antibiotics? </option> <option value='No'>No</option> <option value='Yes given and delay discharge'>Yes, given and delay discharge </option> </select> </td> </tr> <tr> <td> <p> <h4>Is mother’s blood pressure normal?</h4> </td> <td> <select name='blood_pressure_normal'> <option value='start_antibiotics' disabled selected>Is mother’s blood pressure normal?</option> <option value='No treat and delay discharge '>No, treat and delay discharge </option> <option value='Yes'>Yes </option> </select> </td> </tr> <tr> <td> <p> <h4>Is mother bleeding abnormally?</h4> </td> <td> <select name='blood_pressure_normal'> <option value='start_antibiotics' disabled selected>Is mother bleeding abnormally?</option> <option value='No'>No</option> <option value='Yes, treat and delay discharge'>Yes, treat and delay discharge </option> </select> </td> </tr> <tr> <td> <p> <h4>Does baby need to start antibiotics?</h4> </td> <td> <select name='blood_pressure_normal'> <option value='start_antibiotics' disabled selected>Does baby need to start antibiotics?</option> <option value='No'>No</option> <option value='Yes, give antibiotics, delay discharge, give special care'>Yes, give antibiotics, delay discharge, give special care</option> </select> </td> </tr> <tr> <td> <p> <h4>Is baby feeding well?</h4> </td> <td> <select name='blood_pressure_normal'> <option value='start_antibiotics' disabled selected>Is baby feeding well?</option> <option value='No, establish good breastfeeding practices and delay discharge '>No, establish good breastfeeding practices and delay discharge </option> <option value='Yes'>Yes</option> </select> </td> </tr> <tr> <td width='50%'> Discuss and offer family planning options to mother </td> <td width='50%'><label class='switch'> <input name='family_planning' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Arrange follow-up and confirm mother </td> <td width='50%'><label class='switch'> <input name='Arrange_follow_up' type='checkbox'> <span class='slider'></span> </label> </td> </tr> </table> <h3 align='center'>Danger Signs</h3> <h5>Mother has any of</h3> <table id='example2' class='table table-bordered table-hover' width='100%'> <tr> <td width='50%'> Bleeding </td> <td width='50%'><label class='switch'> <input name='Bleeding' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Severe abdominal pain </td> <td width='50%'><label class='switch'> <input name='Severe_abdominal_pain' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Severe headache or visual disturbance</td> <td width='50%'><label class='switch'> <input name='visual_disturbance' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Breathing difficulty</td> <td width='50%'><label class='switch'> <input name='Breathing_difficulty' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Fever or chills</td> <td width='50%'><label class='switch'> <input name='Fever_chills' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Difficulty emptying bladder</td> <td width='50%'><label class='switch'> <input name='Difficulty_emptying_bladder' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Epigastric pain</td> <td width='50%'><label class='switch'> <input name='Epigastric_pain' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr><td><h5 align='left'>Baby has any of:</h5></td></tr> <tr> <td width='50%'> Fast/difficult breathing</td> <td width='50%'><label class='switch'> <input name='Fast_difficult_breathing' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Fever</td> <td width='50%'><label class='switch'> <input name='Fever' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Unusually cold</td> <td width='50%'><label class='switch'> <input name='Unusually_cold' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Stops feeding well</td> <td width='50%'><label class='switch'> <input name='Stops_feeding_well' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Less activity than normal</td> <td width='50%'><label class='switch'> <input name='Less_activity' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Whole body becomes yellow</td> <td width='50%'><label class='switch'> <input name='becomes_yellow' type='checkbox'> <span class='slider'></span> </label> </td> </tr> </table></div></div> <?php } } ?> <table id='example2' class='table table-bordered table-hover' width='100%'> <tr> <td width='50%'> Pharmacy Replacement : </td> <td width='50%'><label class='switch'> <input name='Pharmacy_Replacement' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Billing Completed : </td> <td width='50%'><label class='switch'> <input name='Billing_Completed' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Discharge summary explained and handed over : </td> <td width='50%'><label class='switch'> <input name='summary_handed' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Prescription explained and handed over : </td> <td width='50%'><label class='switch'> <input name='Prescription_explained' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Report handed over : </td> <td width='50%'><label class='switch'> <input name='Report_handed' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Iv Cannula Removed : </td> <td width='50%'><label class='switch'> <input name='iv_cannula_removed' type='checkbox'> <span class='slider'></span> </label> </td> </tr><tr> <td width='50%'> Hospital Dress Changed : </td> <td width='50%'><label class='switch'> <input name='Hospital_Dress_Changed' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Hospital belonging checked and taken back : </td> <td width='50%'><label class='switch'> <input name='Hospital_belonging' type='checkbox'> <span class='slider'></span> </label> </td> </tr> <tr> <td width='50%'> Consultant /paediatrician informed : </td> <td width='50%'><label class='switch'> <input name='Consultant_informed' type='checkbox'> <span class='slider'></span> </label> </td> </tr> </table> </fieldset> <br> <label>Pending report informed:</label><textarea name='Pending_report_informed' placeholder='For Spinal Anesthesia' rows='2' cols='110'> </textarea> <!-- <label>Nurse Name</label></td><td></td><input type="text" name='Nurse_Name' placeholder='Nurse Name'> --> <br> <br> <input type="submit" name="signup" value="Submit"> </form> <script> n = new Date(); y = n.getFullYear(); m = n.getMonth() + 1; d = n.getDate(); document.getElementById("date").innerHTML = m + "/" + d + "/" + y; </script> </div>