Server IP : 162.240.98.243 / Your IP : 3.147.83.176 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(); include 'dbconnection.php'; require_once("../patientmanager.php"); require_once("../DBManager.php"); if(isset($_POST['Decisionfinal'])) { PatientManager::Decisionmaking("$_GET[prescriptionid]","$_GET[patientid]","$_POST[Presented_all]","$_POST[Discussed_risks]","$_POST[Asked_patient]","$_POST[patient_teach]","$_POST[Patient_demonstrated]","$_POST[Encouraged_patient]","$_POST[Listened_actively]","$_POST[decision_might]","$_POST[Acknowledged]","$_POST[preferred]","$_POST[additional]","$_POST[consult]","$_POST[Treating_Doctor]","$_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:; } .box2{ display: none; } .center { border: 1px solid grey; text-align:; } .center2 { border: 5px solid grey; text-align:; } </style> <style> #loaderImg { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; border: 10px solid grey; border-radius: 50%; border-top: 10px solid black; width: 100px; height: 100px; animation: spin 1s linear infinite; } @keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } </style> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <style> .center { border: 1px solid grey; text-align:; } </style> <title>Document</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#myFormDM').submit(function() { $('#loaderImg').show(); return true; }); }); </script> </head> <body> <div class='center'> <div style = "display:none;" id = "loaderImg"> <div class="loader"> </div> </div> <form name="Decisionfinal" method="post" id="myFormDM" > <h3 align="center">Decision making </h3> <span style="color:black;font-size: 20px"> Help patient explore and compare treatment options</span> <br><br> <table id="example2" class="table table-bordered table-hover"> <tr> <td><span style="font-size: 20px">Presented all of the reasonable treatment/intervention options to patient </span></h3></td><td><label class="switch"> <input name="Presented_all" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Discussed the risks and benefits of each option with patient </span></h3></td><td><label class="switch"> <input name="Discussed_risks" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Asked patient to review relevant decision tools (booklets/videos/Web sites) </span></h3></td><td><label class="switch"> <input name="Asked_patient" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Asked patient to teach back what was discussed </span></h3></td><td><label class="switch"> <input name="patient_teach" id="myCheck7" onclick="myFunction7()" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Patient demonstrated an understanding of the options</span></h3></td><td><label class="switch"> <input name="Patient_demonstrated" id="myCheck7" onclick="myFunction7()" type="checkbox"> <span class="slider"></span> </label> </td> </tr> </table> <span style="color:black;font-size: 20px"> Assess patient’s values and preferences</span> <br><br> <table id="example2" class="table table-bordered table-hover"> <tr> <td><span style="font-size: 20px">Encouraged patient to talk about what matters most to him/her</span></h3></td><td><label class="switch"> <input name="Encouraged_patient" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Listened actively to patient and asked open-ended questions. </span></h3></td><td><label class="switch"> <input name="Listened_actively" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Asked patient how his or her decision might impact their daily life. </span></h3></td><td><label class="switch"> <input name="decision_might" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Acknowledged and agreed with my patient on what matters most to him/her</span></h3></td><td><label class="switch"> <input name="Acknowledged" type="checkbox"> <span class="slider"></span> </label> </td> </tr> </table> <span style="color:black;font-size: 20px"> Reach a decision with patient</span><br><br> <table id="example2" class="table table-bordered table-hover"> <tr> <td><span style="font-size: 20px">Asked patient what option he/she preferred</span></h3></td><td><label class="switch"> <input name="preferred" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Asked patient, if he/she needed additional information </span></h3></td><td><label class="switch"> <input name="additional" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Asked patient, if he/she wanted to consult others before making a decision</span></h3></td><td><label class="switch"> <input name="consult" type="checkbox"> <span class="slider"></span> </label> </td> </tr> <tr> <td><span style="font-size: 20px">Patient and Treating Doctor agreed on the decision.</span></h3></td><td><label class="switch"> <input name="Treating_Doctor" type="checkbox"> <span class="slider"></span> </label> </td> </tr> </table> <br> <input type="submit" name="Decisionfinal" value="Submit"> </form> </div> <script src="../plugins/select2/js/select2.full.min.js"></script> <script> $(function () { //Initialize Select2 Elements $('.select2').select2() //Initialize Select2 Elements $('.select2bs4').select2({ theme: 'bootstrap4' }) </script> </body> </html>