Server IP : 162.240.98.243 / Your IP : 3.145.96.86 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/NewNurse/Patient/ |
Upload File : |
<?php session_start(); require_once("../../dbconnection.php"); require_once('../../../DBManager.php'); require_once('../../../LoginManager.php'); if(!isset($_SESSION['uname'])) { echo "<script>alert('Session Expired..');</script><script>window.location='../index.php';</script>"; } $title='Request for Admission'; $narayan=LoginManager::currentUser(); $harilal=LoginManager::getUserTypeByuname("$narayan"); $sql ="SELECT * FROM site_users WHERE userno='$harilal'"; $qsql = mysqli_query($con,$sql); $rs = mysqli_fetch_array($qsql); $sql ="SELECT * FROM hco WHERE adminid='$rs[entered_by]'"; $qsql = mysqli_query($con,$sql); $rs1 = mysqli_fetch_array($qsql); $usertype=$rs1['adminid']; $hco ="SELECT * FROM hco WHERE adminid='$rs[entered_by]'"; $Qhco = mysqli_query($con,$hco); $Rowhco = mysqli_fetch_array($Qhco); $usertype=$Rowhco['adminid']; $sql ="SELECT * FROM admin WHERE id='$Rowhco[adminid]'"; $qsql = mysqli_query($con,$sql); $ra = mysqli_fetch_array($qsql); $patient ="SELECT * FROM addaspatient WHERE patientid='$_GET[patientid]' AND prescriptionid='$_GET[prescriptionid]'"; $qpatient = mysqli_query($con,$patient); $rpatient = mysqli_fetch_array($qpatient); $sql1 ="SELECT * FROM patient WHERE patientid='$rpatient[patientid]'"; $qsql1 = mysqli_query($con,$sql1); $rspi1 = mysqli_fetch_array($qsql1); $sqlpatient1 = "SELECT * FROM site_users WHERE userno='$rsp[entered_by]'"; $qsqlpatient1 = mysqli_query($con,$sqlpatient1); $rsn = mysqli_fetch_array($qsqlpatient1); $pricedue=$rsp['pricetotal']; ?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta charset="utf-8" /> <title><?php echo $title; ?></title> <meta name="description" content="Static & Dynamic Tables" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <!-- bootstrap & fontawesome --> <link rel="stylesheet" href="../assets/css/bootstrap.min.css" /> <link rel="stylesheet" href="../assets/font-awesome/4.5.0/css/font-awesome.min.css" /> <!-- page specific plugin styles --> <!-- text fonts --> <link rel="stylesheet" href="../assets/css/fonts.googleapis.com.css" /> <!-- ace styles --> <link rel="stylesheet" href="../assets/css/ace.min.css" class="ace-main-stylesheet" id="main-ace-style" /> <!--[if lte IE 9]> <link rel="stylesheet" href="../assets/css/ace-part2.min.css" class="ace-main-stylesheet" /> <![endif]--> <link rel="stylesheet" href="../assets/css/ace-skins.min.css" /> <link rel="stylesheet" href="../assets/css/ace-rtl.min.css" /> <!--[if lte IE 9]> <link rel="stylesheet" href="../assets/css/ace-ie.min.css" /> <![endif]--> <!-- inline styles related to this page --> <!-- ace settings handler --> <script src="../assets/js/ace-extra.min.js"></script> <!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries --> <!--[if lte IE 8]> <script src="../assets/js/html5shiv.min.js"></script> <script src="../assets/js/respond.min.js"></script> <![endif]--> </head> <body class="no-skin"> <?php include('../includes/header.php'); ?> <div class="main-container ace-save-state" id="main-container"> <script type="text/javascript"> try{ace.settings.loadState('main-container')}catch(e){} </script> <div id="sidebar" class="sidebar responsive ace-save-state"> <script type="text/javascript"> try{ace.settings.loadState('sidebar')}catch(e){} </script> <div class="sidebar-shortcuts" id="sidebar-shortcuts"> <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large"> <button class="btn btn-success"> <i class="ace-icon fa fa-signal"></i> </button> <button class="btn btn-info"> <i class="ace-icon fa fa-pencil"></i> </button> <button class="btn btn-warning"> <i class="ace-icon fa fa-users"></i> </button> <button class="btn btn-danger"> <i class="ace-icon fa fa-cogs"></i> </button> </div> <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini"> <span class="btn btn-success"></span> <span class="btn btn-info"></span> <span class="btn btn-warning"></span> <span class="btn btn-danger"></span> </div> </div><!-- /.sidebar-shortcuts --> <?php include('sidebar.php'); ?> <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse"> <i id="sidebar-toggle-icon" class="ace-icon fa fa-angle-double-left ace-save-state" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i> </div> </div> <div class="main-content"> <div class="main-content-inner"> <div class="breadcrumbs ace-save-state" id="breadcrumbs"> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="#">Home</a> </li> <li> <a href="#"><?php echo $title; ?></a> </li> </ul><!-- /.breadcrumb --> <div class="nav-search" id="nav-search"> <form class="form-search"> <span class="input-icon"> <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" /> <i class="ace-icon fa fa-search nav-search-icon"></i> </span> </form> </div><!-- /.nav-search --> </div> <div class="page-content"> <!-- /.ace-settings-container --> <div class="row"> <div class="col-xs-12"> <div class="row"> <div class="col-xs-12"> <div class="clearfix"> <input type="button" value="Print" onclick="printDiv()" class="btn btn-sm btn-success" style='float:right;'> </div> <div><div> <div id="GFG"> <div class="container"> <div class="row"> <div class="col-sm-12"> <table class="table" style="width:100%;"> <tr> <td> <img style="float:left;width:auto;" src="../../uploads/<?php echo $Rowhco['Logo'] ?>" class="img-responsive img-fluid"/> </td> <td> <span style="font-size:18px; float:right;"> <h4><b><?php echo $ra['hsname'] ?></b></h4> <?php echo $Rowhco['Street'] ?> | <?php echo $Rowhco['Locality'] ?></br> <?php echo $ra['EmailID'] ?> | <?php echo $ra['numbers'] ?></p> </span></td> </tr> </table> </div> </div> </div> <hr> <?php $sqlpatient2 = "SELECT * FROM site_users WHERE userno='$rpatient[Admitted_Under]'"; $qsqlpatient2 = mysqli_query($con,$sqlpatient2); if($rsn2 = mysqli_fetch_array($qsqlpatient2)) { echo" <div class='checkbox'><span style='float: left;'><b>Admission On :</b> $rpatient[created_at]<br> <b>Consultant :</b>$rsn2[name]($rpatient[casetype]) </span> <span style='float: right;'><B>File No.</B> :$rpatient[prescriptionid] <br>"; $sqlpatient = "SELECT * FROM save_activity WHERE prescriptionid='$_GET[prescriptionid]' AND discription='Intial Assessment<br>Request for Consultation<br>Doc no. '"; $qsqlpatient = mysqli_query($con,$sqlpatient); if($rsp = mysqli_fetch_array($qsqlpatient)) { if($rsp[discription]== 'Intial Assessment<br>Request for Consultation<br>Doc no. '){ echo"<b>Doc.no </b>: $rsp[srno]"; } else{ echo ""; } } echo "</span></div><br> <br><br> <div class='checkbox'><span style='float: left;'><b>UHID :</b> $rspi1[patientid]</span><span style='float: right;'><b>Name</b> :$rspi1[patientname]</span></div> <br> <div class='checkbox'><span style='float: left;'><b>Age:</b> $rspi1[dob]</span><span style='float: right;'><b>SEX :</b>$rspi1[gendor]</span></div> <div class='card-body'> "; } ?> <br> <div class="panel panel-primary"> <div class="panel-body"> <h4 class="text-on-pannel text-primary"><strong class="text-uppercase"> <?php $sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $usertype=$rs['typevisit']; if($usertype == 'OPD'){ echo " Request for Consultation <input type='hidden' value='Initial Assessment' name='pagetype'>"; } else{ echo "Request for Admission <input type='hidden' value='Request for Admission' name='pagetype'>"; } } ?> </strong></h4> <table class='table table-bordered ' style='width:100%;' border='1'> <table class='table table-bordered ' style='width:100%;' border='1'> <?php $sql ="SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND typevisit='IPD' OR prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]' AND typevisit='Ipd_Emergency' "; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { { ?> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $sql21 ="SELECT * FROM ward WHERE wardid='$rs[Ward]'"; $qsql21 = mysqli_query($con,$sql21); if($rs11 = mysqli_fetch_array($qsql21)) { $sql22 ="SELECT * FROM bedindex WHERE bedid='$rs[Bed]'"; $qsql22 = mysqli_query($con,$sql22); while($rs12 = mysqli_fetch_array($qsql22)) { echo " <tr> <td width='50%'> Ward & Bed</td> <td width='50%'>$rs11[ward_type] - $rs11[ward_name] - <b>Bed no:</b> $rs12[bedname]</td></tr> "; } } } ?> <?php } } ?> <tr><td width='50%'> Admitted Under</td> <?php $sqlpatient1= "SELECT * FROM addaspatient WHERE prescriptionid='$_GET[prescriptionid]'"; $qsqlpatient1 = mysqli_query($con,$sqlpatient1); while($rr1=mysqli_fetch_array($qsqlpatient1)) { $sqldoctor= "SELECT * FROM site_users WHERE userno='$rr1[Admitted_Under]'"; $qsqldoctor = mysqli_query($con,$sqldoctor); while($rsdoctor = mysqli_fetch_array($qsqldoctor)) { echo"<td width='50%'> $rsdoctor[name]</td> "; } } ?></tr> <!-- Content Header (Page header) --> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { echo " <table class='table table-bordered ' style='width:100%;' border='1'> <tr> <td width='50%'> Type of Admission: </td> <td width='50%'>$rs[Type_of_Admission]</td> </tr> <tr> <td width='50%'> Reason for Admission : </td> <td width='50%'>$rs[Reason_for_Admission]</td> </tr> </table> "; } ?> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rt = mysqli_fetch_array($qsql)) { if(on==$rt[MLC]) { ?> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { echo " <h3 align='center'>MLC Checklist</h3> <table class='table table-bordered ' style='width:100%;' border='1'> <tr> <td width='50%'> MLC No: </td> <td width='50%'>$rs[MLC_No]</td> </tr> <tr> <td width='50%'> MLC Slip : </td> <td width='50%'>$rs[Upload_MLC_Slip]</td> </tr> </table> "; } ?> <?php } } ?> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rt = mysqli_fetch_array($qsql)) { if(on==$rt[Trauma]) { ?> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { echo " <h3 align='center'>Trauma Care Checklist</h3> <BR><BR> <h5 align='center'>Immediately after primary & secondary surveys</h5> <table class='table table-bordered ' style='width:100%;' border='1'> <tr> <td width='50%'> Is Further Airway Intervention Needed? : </td> <td width='50%'>$rs[further] </td> </tr> <tr> <td width='50%'>Is There A Tension Pneumo-Haemothorax ? : </td> <td width='50%'>$rs[Pneumo_Haemothorax] </td> </tr> <tr> <td width='50%'>IS The Pulse and Fluids Started ? : </td> <td width='50%'>$rs[Fluids_Started] </td> </tr> <tr> <td width='50%'>Large-bore IV placed and fluids started : </td> <td width='50%'>$rs[iv_fluids_started] </td> </tr> <tr> <td width='50%'>Full Survey For (and control of)External bleeding, Including: </td> <td width='50%'>$rs[Full_Survey] ,$rs[Perineum] ,$rs[Back] </td> </tr> <tr> <td width='50%'>Assessed For Pelvic Fracture by : </td> <td width='50%'>$rs[Pelvic_Fracture] </td> </tr> <tr> <td width='50%'>Assessed For Internal Bleeding By: </td> <td width='50%'>$rs[Internal_Bleeding] </td> </tr> <tr> <td width='50%'>Is Spinal Immobilization Needed? : </td> <td width='50%'>$rs[Spinal_Immobilization] </td> </tr> <tr> <td width='50%'>Neurovascular Status of all 4 limbs Checked? : </td> <td width='50%'>$rs[Neurovascular_Status] </td> </tr> <tr> <td width='50%'>IS the patient Hypothermic? :</td> <td width='50%'>$rs[Hypothermic] </td> </tr> <tr> <td width='50%'>Does the Patient Need(if no contraindication) :</td> <td width='50%'>$rs[contraindication], $rs[Nasogastric_Tube], $rs[Chest_Drain], $rs[None_Indicated], </td> </tr> <tr> <td width='50%'>Has the Patient been Given :</td> <td width='50%'>$rs[leaves_patient], $rs[Analgesics], $rs[Antibiotics], $rs[None_Indicated], </td> </tr> <tr> <td width='50%'>Have All tests and imaging been Reviewed :</td> <td width='50%'>$rs[tests_imaging] </td> </tr> <tr> <td width='50%'>Which serial Examinations Are Needed:</td> <td width='50%'>$rs[Examinations] </td> </tr> <tr> <td width='50%'>Plan of care discussed with :</td> <td width='50%'>$rs[care_discussed], $rs[Receiving_Unit], $rs[Primary_team], $rs[Other_Specialists], </td> </tr> <tr> <td width='50%'>Relevant Trauma Chart or Form Comleted? :</td> <td width='50%'>$rs[Trauma_Chart] </td> </tr> <tr> <td width='50%'>Trauma Slip :</td> <td width='50%'> <a href='http://easenup.healthcare/hco/uploads/$rs[Trauma_Slip]'>uploads/$rs[Trauma_Slip]</a> </td> </tr> </table> </fieldset> "; echo "</td></tr>"; } ?> <?php } } ?> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rt = mysqli_fetch_array($qsql)) { if(on==$rt[Code_Blue]) { ?> <h3 align='center'>Code Blue Checklist</h3> <table class='table table-bordered ' style='width:100%;' border='1'> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { if($rs[Establishes_unresponsiveness] == 'on'){ echo " <tr><td width='50%'>Establishes unresponsiveness (shake shoulders/call names) (1*Responder) (Licensed nurse leads code Until code blue team arrives): </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Establishes unresponsiveness (shake shoulders/call names) (1*Responder) (Licensed nurse leads code Until code blue team arrives): </td> <td width='50%'>No</td></tr>"; } if($rs[Drills_code] == 'on'){ echo " <tr><td width='50%'>Drills code (shouts for help & stays with pt.): </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Drills code (shouts for help & stays with pt.): </td> <td width='50%'>No</td></tr>"; } if($rs[Lower_Bed] == 'on'){ echo " <tr><td width='50%'>Lower Bed removes pillows : </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Lower Bed removes pillows : </td> <td width='50%'>No</td></tr>"; } if($rs[Universal_Precautions] == 'on'){ echo " <tr><td width='50%'>Exercise *Universal Precautions </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Exercise *Universal Precautions : </td> <td width='50%'>No</td></tr>"; } if($rs[initiate_compressions] == 'on'){ echo " <tr><td width='50%'>Evaluation : initiate compressions (at rate of 30:2 Rescue Breaths) :</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Evaluation : initiate compressions (at rate of 30:2 Rescue Breaths) : </td> <td width='50%'>No</td></tr>"; } if($rs[Airway_Assess] == 'on'){ echo " <tr><td width='50%'>Airway/Assess (if no response ventilates x2 Ambu bag):</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Airway/Assess (if no response ventilates x2 Ambu bag): </td> <td width='50%'>No</td></tr>"; } if($rs[Carotid_femoral] == 'on'){ echo " <tr><td width='50%'>Carotid/femoral pulse 5-10 sec:</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Carotid/femoral pulse 5-10 sec: </td> <td width='50%'>No</td></tr>"; } if($rs[Breathing_Bag] == 'on'){ echo " <tr><td width='50%'>Breathing – AMBU Bag / Mask placed in correct Position seal maintained, attached to 02@10-12 …. Provides 2 breaths per 30 compressions:</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Breathing – AMBU Bag / Mask placed in correct Position seal maintained, attached to 02@10-12 …. Provides 2 breaths per 30 compressions: </td> <td width='50%'>No</td></tr>"; } if($rs[Airway_placement] == 'on'){ echo " <tr><td width='50%'>Airway placement (Stabilizes indication &method for use ):</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Airway placement (Stabilizes indication &method for use ): </td> <td width='50%'>No</td></tr>"; } if($rs[Crash_cart] == 'on'){ echo " <tr><td width='50%'>Crash cart arrives :</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Crash cart arrives : </td> <td width='50%'>No</td></tr>"; } if($rs[Sick_board] == 'on'){ echo " <tr><td width='50%'>Sick board placed :</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Sick board placed : </td> <td width='50%'>No</td></tr>"; } if($rs[Applies_multifunction] == 'on'){ echo " <tr><td width='50%'>Applies multifunction electrode pads in correct Position (cleans skin / removes hair as needed) Connects multifunctional pads to therapy cable, Activates AED mode (orange area ) and follows AED :</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Applies multifunction electrode pads in correct Position (cleans skin / removes hair as needed) Connects multifunctional pads to therapy cable, Activates AED mode (orange area ) and follows AED : </td> <td width='50%'>No</td></tr>"; } if($rs[Monitor_PROMPTS] == 'on'){ echo " <tr><td width='50%'>Monitor PROMPTS:</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Monitor PROMPTS: </td> <td width='50%'>No</td></tr>"; } if($rs[Proceed_defibrillation] == 'on'){ echo " <tr><td width='50%'>Proceed with defibrillation if indicated by AED (If No shock advised and no sins of circulation begin person CPR):</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Proceed with defibrillation if indicated by AED (If No shock advised and no sins of circulation begin person CPR): </td> <td width='50%'>No</td></tr>"; } if($rs[Interprets_rhythm] == 'on'){ echo " <tr><td width='50%'>Interprets rhythm, assists med administration & procedure:</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Interprets rhythm, assists med administration & procedure: </td> <td width='50%'>No</td></tr>"; } if($rs[suction_equipment] == 'on'){ echo " <tr><td width='50%'>Set Up suction equipment:</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Set Up suction equipment: </td> <td width='50%'>No</td></tr>"; } if($rs[intubation_tray] == 'on'){ echo " <tr><td width='50%'>Set up intubation tray:</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Set up intubation tray: </td> <td width='50%'>No</td></tr>"; } if($rs[Establishes_Access] == 'on'){ echo " <tr><td width='50%'>Establishes IV Access and setup IV solution (s):</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Establishes IV Access and setup IV solution (s): </td> <td width='50%'>No</td></tr>"; } if($rs[Contain_patient] == 'on'){ echo " <tr><td width='50%'>Contain patient’s charts or delegates task:</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Contain patient’s charts or delegates task : </td> <td width='50%'>No</td></tr>"; } if($rs[med_tray] == 'on'){ echo " <tr><td width='50%'>Setup med tray & assists with medication administration :</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Setup med tray & assists with medication administration : </td> <td width='50%'>No</td></tr>"; } if($rs[Verbalizes_Method] == 'on'){ echo " <tr><td width='50%'>(Verbalizes Method to print information strip from lips Monitoring) :</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>(Verbalizes Method to print information strip from lips Monitoring) : </td> <td width='50%'>No</td></tr>"; } if($rs[Communicates_Family] == 'on'){ echo " <tr><td width='50%'>Communicates with Family :</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Communicates with Family : </td> <td width='50%'>No</td></tr>"; } if($rs[Complete_CodeBlue] == 'on'){ echo " <tr><td width='50%'>Complete Code Blue Record :</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Complete Code Blue Record : </td> <td width='50%'>No</td></tr>"; } if($rs[Secure_codestatement] == 'on'){ echo " <tr><td width='50%'>Secure code statement :</td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Secure code statement : </td> <td width='50%'>No</td></tr>"; } } ?> </table> <?php } } ?> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rt = mysqli_fetch_array($qsql)) { if($rt[cov]==on) { ?> <h3 align='center'>Covid 19 Checklist</h3> <table class='table table-bordered ' style='width:100%;' border='1'> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { if($rs[symptoms_fever] == 'on'){ echo " <tr><td width='50%'>Do you have symptoms such as fever, cough, sneezing, sore throat, fatigue, sense of smell, changes in taste, and body aches?: </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Do you have symptoms such as fever, cough, sneezing, sore throat, fatigue, sense of smell, changes in taste, and body aches?: </td> <td width='50%'>No</td></tr>"; } if($rs[difficulty_breathing] == 'on'){ echo " <tr><td width='50%'>Do you have difficulty of breathing?: </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Do you have difficulty of breathing?: </td> <td width='50%'>No</td></tr>"; } if($rs[country_days] == 'on'){ echo " <tr><td width='50%'>Have you travelled outside the country in the last 30 days?: </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Have you travelled outside the country in the last 30 days?: </td> <td width='50%'>No</td></tr>"; } if($rs[other_cities] == 'on'){ echo " <tr><td width='50%'>Have you traveled to other cities in India in 15 days?: </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Have you traveled to other cities in India in 15 days?: </td> <td width='50%'>No</td></tr>"; } if($rs[two_weeks] == 'on'){ echo " <tr><td width='50%'>Were you a Covid-19 positive patient in the last two weeks? or suspect in a case of covid-19 ?: </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Were you a Covid-19 positive patient in the last two weeks? or suspect in a case of covid-19 ?: </td> <td width='50%'>No</td></tr>"; } if($rs[health_facility] == 'on'){ echo " <tr><td width='50%'>Have you visited a health care facility in the past two weeks?: </td> <td width='50%'>Yes</td></tr>"; } else{ echo "<tr><td width='50%'>Have you visited a health care facility in the past two weeks?: </td> <td width='50%'>No</td></tr>"; } } ?> </table> <?php } } ?> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); if($rs = mysqli_fetch_array($qsql)) { if(on==$rs[Safe_childbirth_checklist]) { ?> <h5 align='center'>Safe Childbirth Checklist </h5> <table class='table table-bordered ' style='width:100%;' border='1'> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <tr> <td width='50%'>Does mother need referral :</td> <td width='50%'>$rs[mother_need_referral] </td> </tr> <tr> <td width='50%'>Partograph started? :</td> <td width='50%'>$rs[Partograph_started] </td> </tr> <tr> <td width='50%'>Does mother need to start: Antibiotics? :</td> <td width='50%'>$rs[start_Antibiotics] </td> </tr> <tr> <td width='50%'>Magnesium sulfate and antihypertensive treatment? :</td> <td width='50%'>$rs[antihypertensive_treatment] </td> </tr> <tr> <td width='50%'>Confirm supplies are available to clean hands and wear gloves for each vaginal exam :</td> <td width='50%'>$rs[vaginal_exam] </td> </tr> <tr> <td width='50%'>Encourage birth companion to be present at birth :</td> <td width='50%'>$rs[present_at_birth] </td> </tr> <tr> <td width='50%'>Confirm that mother or companion will call for help during labour if needed :</td> <td width='50%'>$rs[labour_needed] </td> </tr> "; } ?> </table> <?php } } ?> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { echo " <table class='table table-bordered ' style='width:100%;' border='1'> "; echo"<tr><td width='50%'> Referral By: </td><td width='50%'>$rs[referred_by]</td> </tr>"; if($rs[ID_Band_tied] == 'on'){ echo " <tr><td width='50%'> Patient Identification Band tied: </td> <td width='50%'>Yes</td></tr>"; } else{ echo ""; } if($rs[Rights_Responsibilities] == 'on'){ echo " <tr><td width='50%'> Patient Rights & Responsibilities explained: </td> <td width='50%'>Yes</td></tr>"; } else{ echo ""; } if($rs[surroundings_safety] == 'on'){ echo " <tr><td width='50%'> Patient Made aware of surroundings and safety measures: </td> <td width='50%'>Yes</td></tr>"; } else{ echo ""; } } ?> </table> <?php $sql ="SELECT * FROM request_for_admission WHERE prescriptionid='$_GET[prescriptionid]' AND patientid='$_GET[patientid]'"; $qsql = mysqli_query($con,$sql); while($rs = mysqli_fetch_array($qsql)) { $site_users ="SELECT * FROM site_users WHERE userno='$rs[entered_by]'"; $qsite_users = mysqli_query($con,$site_users); if($rsite_users = mysqli_fetch_array($qsite_users)) { echo"<h5><b> Created & Updated </b><h5> <table class='table table-bordered ' style='width:100%;' border='1'> <tr><td width=50%><b>By :</b>$rsite_users[name] </b><td width='50%'><b>At :</b> $rsite_users[updated_at] </tr>"; } } ?> </table> </div></div> </div> </div></div> </div> </div> </div> <!-- PAGE CONTENT ENDS --> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.page-content --> </div> </div><!-- /.main-content --> <?php include('../includes/footer.php'); ?> <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse"> <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i> </a> </div><!-- /.main-container --> <!-- basic scripts --> <!--[if !IE]> --> <script src="../assets/js/jquery-2.1.4.min.js"></script> <!-- <![endif]--> <!--[if IE]> <script src="../assets/js/jquery-1.11.3.min.js"></script> <![endif]--> <script type="text/javascript"> if('ontouchstart' in document.documentElement) document.write("<script src='../assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>"); </script> <script src="../assets/js/bootstrap.min.js"></script> <!-- page specific plugin scripts --> <script src="../assets/js/jquery.dataTables.min.js"></script> <script src="../assets/js/jquery.dataTables.bootstrap.min.js"></script> <script src="../assets/js/dataTables.buttons.min.js"></script> <script src="../assets/js/buttons.flash.min.js"></script> <script src="../assets/js/buttons.html5.min.js"></script> <script src="../assets/js/buttons.print.min.js"></script> <script src="../assets/js/buttons.colVis.min.js"></script> <script src="../assets/js/dataTables.select.min.js"></script> <!-- ace scripts --> <script src="../assets/js/ace-elements.min.js"></script> <script src="../assets/js/ace.min.js"></script> <!-- inline scripts related to this page --> <script> function printDiv(GFG) { var divToPrint=document.getElementById('GFG'); var newWin=window.open('','Print-Window'); newWin.document.open(); newWin.document.write('<html><body onload="window.print()">'+divToPrint.innerHTML+'</body></html>'); newWin.document.close(); setTimeout(function(){newWin.close();},10); // var divContents = document.getElementById("GFG").innerHTML; // var a = window.open('', '', 'height=500, width=500'); // a.document.write('<html><body >'); // //a.document.write('<body ><div class="container"><div class="row"><div class="col-sm-12"><table class="table" style="width:100%;"><tr><td><?php echo $ra['hsname'] ?></div><div><span style="font-size:18px"><?php echo $Rowhco['Street'] ?> | <?php echo $Rowhco['Locality'] ?></br><?php echo $ra['EmailID'] ?> | <?php echo $ra['numbers'] ?></p></span></td><td><img style="float:right;width: 15%;" src="../../uploads/<?php echo $Rowhco['Logo'] ?>" class="img-responsive img-fluid"/></td></tr></table></div></div></div><hr>'); // a.document.write(divContents); // a.document.write('</body></html>'); // a.document.close(); // a.print(); } </script> <style> .checkbox { position: relative; display: block; margin-top: 10px; margin-bottom: 10px; } </style> <style> .text-on-pannel { background: #fff none repeat scroll 0 0; height: auto; margin-left: 20px; padding: 3px 5px; position: absolute; margin-top: -47px; border: 1px solid #337ab7; border-radius: 8px; } .panel { /* for text on pannel */ margin-top: 27px !important; } .panel-body { padding-top: 30px !important; } .panel-primary { border-color: #116bb9; } .donate-now { list-style-type:none; margin:25px 0 0 0; padding:0; } .donate-now li { float:left; margin:0 5px 0 0; } .donate-now label { padding:5px; border:1px solid #CCC; cursor:pointer; } .donate-now label:hover { background:#DDD; } </style> </body> </html>