<?php include "../../../myDatabase.php"; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "pf_ipd.php"); $ro->coconutBoxStart("500", "100"); echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("From Date") . "</td>"; echo "<td>"; $ro->coconutComboBoxStart_short("fromDate_month"); echo "<option value='Jan'>Jan</option>"; echo "<option value='Feb'>Feb</option>"; echo "<option value='Mar'>Mar</option>"; echo "<option value='Apr'>Apr</option>"; echo "<option value='May'>May</option>"; echo "<option value='Jun'>Jun</option>"; echo "<option value='Jul'>Jul</option>"; echo "<option value='Aug'>Aug</option>"; echo "<option value='Sep'>Sep</option>"; echo "<option value='Oct'>Oct</option>"; echo "<option value='Nov'>Nov</option>"; echo "<option value='Dec'>Dec</option>"; $ro->coconutComboBoxStop(); echo " - "; $ro->coconutComboBoxStart_short("fromDate_day"); for ($x = 1; $x < 32; $x++) { if ($x < 9) { echo "<option value='0{$x}'>0{$x}</option>";
//$ro->showVacantRoom($ro->getRegistrationDetails_branch()); //echo "</select>"; //echo "</td>"; //echo "</tr>"; if ($ro->getRegistrationDetails_company() != "") { /* echo "<tr>"; echo "<td>".$ro->coconutText("Cash Limit:")."</td>"; echo "<td>"; $ro->coconutTextBox("cashLimit",$ro->getRegistrationDetails_limitCASH()); echo "</td>"; echo "<tr>"; */ $ro->coconutHidden("cashLimit", ""); echo "<tr>"; echo "<td>" . $ro->coconutText("HMO Limit:") . "</td>"; echo "<td>"; $ro->coconutTextBox("hmoLimit", $ro->getRegistrationDetails_limitHMO()); echo "</td>"; echo "<tr>"; } else { $ro->coconutHidden("cashLimit", ""); $ro->coconutHidden("hmoLimit", ""); } echo "<input type=hidden name='room' value='" . $ro->getRegistrationDetails_room() . "'>"; } else { echo "<input type=hidden name='room' value='" . $ro->getRegistrationDetails_room() . "'>"; echo "<input type=hidden name='cashLimit' value=''>"; echo "<input type=hidden name='hmoLimit' value=''>"; } if ($ro->selectNow("registeredUser", "module", "username", $username) == "PHARMACY" || $ro->selectNow("registeredUser", "module", "username", $username) == "BILLING" || $ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER") {
<?php include "../../myDatabase.php"; $username = $_GET['username']; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "addFloor1.php"); $ro->coconutHidden("username", $username); echo "<Br><br>"; $ro->coconutBoxStart("500", "100"); echo "<Br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Floor") . "</td>"; echo "<Td>"; $ro->coconutTextBox("floor", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Branch") . "</td>"; echo "<td>"; $ro->coconutComboBoxStart_long("branch"); $ro->showOption("branch", "branch"); $ro->coconutComboBoxStop(); echo "</td>"; echo "</tr>"; echo "</table>"; $ro->coconutButton("Proceed"); $ro->coconutFormStop(); $ro->coconutBoxStop();
$ro->getPatientProfile($registrationNo); $ro->coconutDesign(); $ro->coconutHeading("User Verification", "COCONUT/NURSING/initializeNursing.php"); unset($_SESSION['registrationNo']); session_destroy(); echo "<Br>"; echo "<center>"; $ro->coconutImages("lock2.jpeg"); echo " <font size=2 color=red>Pls Login first to access the Profile of " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " in " . $ro->getRegistrationDetails_room() . " </font>"; echo "<br>"; $ro->coconutFormStart("post", "verifyUser1.php"); $ro->coconutHidden("registrationNo", $registrationNo); $ro->coconutBoxStart("500", "150"); echo "<br><table border=0>"; echo "<tr>"; echo "<Td>" . $ro->coconutText("Username") . "</tD>"; echo "<td>"; $ro->coconutTextBox("username", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Password") . "</td>"; echo "<td>"; echo "<input type=password name='password' class='txtBox' value=''>"; echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Module") . "</td>"; echo "<td>"; $ro->coconutComboBoxStart_long("module"); echo "<option value='NURSING'>Nursing Service</option>";
<li><a href="#" class='odd'><font color=yellow>Request to Admin</font><span class="arrow"></span></a></li> <li> </li> </ol> <?php $ro->coconutUpperMenuStart(); $ro->coconutUpperMenuStop(); echo "<br><br>"; $ro->coconutFormStart("post", "requestForm_login.php"); $ro->coconutBoxStart("500", "210"); echo "<script src='http://" . $ro->getMyUrl() . "/jquery.js'></script>"; echo "\n\n<script>\n \$(document).ready(function () {\n \$('#price,#qty').keyup(function () {\n ComputeCosts();\n }\n);\n });\n\n function ComputeCosts() {\n var qty1 = Number(\$('#qty').val());\n var price1 = Number(\$('#price').val());\n var totalz = price1 * qty1;\n \$('#total').val(totalz);\n }\n</script>\n\n"; echo "<Br>"; echo "<table border=0>"; echo "<tr>"; echo "<Td>" . $ro->coconutText("Description") . "</td>"; echo "<td>"; $ro->coconutTextBox("description", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<Td>" . $ro->coconutText("QTY") . "</td>"; echo "<td>"; $ro->coconutTextBox_short("qty", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<Td>" . $ro->coconutText("Price") . "</td>"; echo "<td>"; $ro->coconutTextBox_short("price", ""); echo "</td>";
<?php include "../../../myDatabase.php"; $username = $_GET['username']; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "selectType1.php"); $ro->coconutHidden("username", $username); $ro->coconutBoxStart("500", "100"); echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Type") . "</td>"; echo "<td>"; $ro->coconutComboBoxStart_long("type"); echo "<option value='OPD'>OPD</option>"; echo "<option value='I\tPD'>IPD</option>"; echo "</td>"; echo "</tr>"; echo "</table>"; echo "<br><br>"; $ro->coconutButton("Proceed"); $ro->coconutComboBoxStop(); $ro->coconutBoxStop(); $ro->coconutFormStop();
<?php include "../../myDatabase.php"; $ro = new database(); $ro->coconutDesign(); echo "<br><Br><br><br>"; $ro->coconutBoxStart("600", "130"); echo "<center><br>"; $ro->coconutFormStart("get", "admissionKit1.php"); echo $ro->coconutText("From Date: "); $ro->coconutComboBoxStart_short("month"); echo "<option value='01'>Jan</option>"; echo "<option value='02'>Feb</option>"; echo "<option value='03'>Mar</option>"; echo "<option value='04'>Apr</option>"; echo "<option value='05'>May</option>"; echo "<option value='06'>Jun</option>"; echo "<option value='07'>Jul</option>"; echo "<option value='08'>Aug</option>"; echo "<option value='09'>Sep</option>"; echo "<option value='10'>Oct</option>"; echo "<option value='11'>Nov</option>"; echo "<option value='12'>Dec</option>"; $ro->coconutComboBoxStop(); echo " "; $ro->coconutComboBoxStart_short("day"); for ($x = 1; $x <= 31; $x++) { if ($x < 10) { echo "<option value='0{$x}'>0{$x}</option>"; } else { echo "<option value='{$x}'>{$x}</option>";
$function = $_GET['function']; $description = $_GET['description']; $value = $_GET['value']; $id = $_GET['id']; $username = $_GET['username']; $ro = new database(); $ro->coconutDesign(); echo "<br><br>"; $ro->coconutBoxStart("600", "180"); echo "<Br>"; $ro->coconutFormStart("get", "editMisc.php"); $ro->coconutHidden("id", $id); $ro->coconutHidden("username", $username); echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Function") . "</td>"; echo "<td><input type='text' name='function' value='{$function}' class='txtBox' readonly></td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Description") . "</td>"; echo "<td><textarea class='txtArea' name='description'>{$description}</textarea></td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Value") . "</td>"; if ($function == "anotherPrice") { echo "<Td>"; $ro->coconutComboBoxStart_short("val"); echo "<option value='{$value}'>{$value}</option>"; echo "<option value='IPD'>IPD</option>"; echo "<option value='OPD'>OPD</option>"; $ro->coconutComboBoxStop();
$medicine = $_GET['medicine']; $supplies = $_GET['supplies']; $room = $_GET['supplies']; $pf = $_GET['pf']; $suppliesOnly = $_GET['suppliesOnly']; $username = $_GET['username']; $ro = new database(); $ro->coconutDesign(); echo "<Br><Br>"; $ro->coconutFormStart("get", "editCasetype1.php"); $ro->coconutHidden("username", $username); $ro->coconutBoxStart("500", "280"); echo "<center><br><br>"; echo "<Table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Casetype") . " </td>"; echo "<td>"; $ro->coconutTextBox("casetype", $casetype); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Medicine") . " </td>"; echo "<td>"; $ro->coconutTextBox("medicine", $medicine); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Supplies") . " </td>"; echo "<td>"; $ro->coconutTextBox("supplies", $supplies); echo "</td>";
include "../../myDatabase.php"; $registrationNo = $_GET['registrationNo']; $itemNo = $_GET['itemNo']; $description = $_GET['description']; $quantity = $_GET['quantity']; $username = $_GET['username']; $show = $_GET['show']; $desc = $_GET['desc']; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "verifyDelete_success.php"); $ro->coconutBoxStart("600", "470"); echo "<Br>"; echo "<Table border=0 width='40%'>"; echo "<Tr>"; echo "<Td>" . $ro->coconutText("Username") . ": </tD>"; echo "<td>" . $ro->coconutTextBox_return("staff_username", "") . "</td>"; echo "</tr>"; echo "<Tr>"; echo "<Td>" . $ro->coconutText("Password") . ": </tD>"; echo "<td>" . $ro->coconutPasswordBox_return("staff_password", "") . "</td>"; echo "</tr>"; echo "</table>"; echo "<Br><font color=red>Reason</font><br>"; echo "<textarea name='reason' style='width:90%; height:70%; border:1px solid #000;'></textarea>"; $ro->coconutButton("Proceed"); $ro->coconutHidden("registrationNo", $registrationNo); $ro->coconutHidden("itemNo", $itemNo); $ro->coconutHidden("description", $description); $ro->coconutHidden("quantity", $quantity); $ro->coconutHidden("username", $username);
if ($ro->getTotal("phic", "PROFESSIONAL FEE", $registrationNo) > 0) { $pf_phic += $ro->getPatient_phic(); } else { } if ($ro->getTotal("company", "PROFESSIONAL FEE", $registrationNo) > 0) { $pf_company += $ro->getPatient_company(); } else { } if ($ro->getTotal("cashUnpaid", "PROFESSIONAL FEE", $registrationNo) > 0) { $pf_cash += $ro->getPatient_cashUnpaid(); } else { } /*****************************************************/ /************* DISCOUNT ******************************/ $patientDiscount = 0; if ($ro->getRegistrationDetails_discount() != "") { $patientDiscount = $ro->getRegistrationDetails_discount(); } else { $patientDiscount = "0.00"; } /*****************************************************/ /***************** PAYMENT **************************/ $ro->getPaymentHistory_showUp_returnPaid_setter($registrationNo); /****************************************************/ $gross = $hospitalBill_cash - $ro->getPaymentHistory_showUp_returnPaid(); $grandTotal = $gross - $ro->getRegistrationDetails_discount() + $pf_cash; $content = "\n<div align='center' style='border:0px solid #000000; width:700px; height:auto; border-color:black black black black;' >\n<font size=5><b>" . $ro->getReportInformation("hmoSOA_name") . "</b></font>\n<br><font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font>\n<br><br>\n</div>\n<table >\n<tr>\n<td><b>" . $ro->coconutText("Name") . ":</b> </td><td> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>\n<td> </td><td>" . $ro->coconutText("Reg#") . "</td><td> {$registrationNo}</td>\n</tr>\n\n<tr>\n<Td><b>" . $ro->coconutText("PHIC") . ":</b> </td><td> " . $ro->getPatientRecord_phic() . "</td>\n<td> </td>\n<td><b>CaseType:</b></td><TD>" . $ro->getRegistrationDetails_caseType() . "</tD>\n</tr>\n\n<tr>\n<Td><b>" . $ro->coconutText("Company") . ":</b> </td><td> " . $ro->getRegistrationDetails_company() . "</td>\n<td> </tD>\n<Td><b>" . $ro->coconutText("Fx Diagnosis:") . ":</b> </td><td> " . $ro->getRegistrationDetails_finalDiagnosis() . "</td>\n</tr>\n\n<tr>\n<Td><b>" . $ro->coconutText("Admitted") . ":</b> </td><td> " . $ro->getRegistrationDetails_dateRegistered() . "</td>\n<td> </td>\n<Td><b>" . $ro->coconutText("Discharged") . ":</b> </td><td> " . $ro->getRegistrationDetails_dateUnregistered() . "</td>\n</tr>\n\n<tr>\n<Td><b>" . $ro->coconutText("Age") . ":</b></tD><td> " . $ro->getPatientRecord_age() . "</tD>\n<tD> </tD>\n<Td><b>" . $ro->coconutText("Room:") . "</b></tD><td>" . $ro->getRegistrationDetails_room() . "</tD>\n</tr>\n\n<tr>\n<td><b>" . $ro->coconutText("Att.Doctor") . ":</b></tD><td> <font size=2>" . $ro->getAttendingDoc($registrationNo, "Attending") . "</font></td>\n<td></td>\n<td><b>" . $ro->coconutText("Admitting Doc") . ":</b></td><tD> <font size=2>" . $ro->getAttendingDoc($registrationNo, "Admitting") . "</font></tD>\n</tr>\n</table>\n\n<table>\n<td><b>Address:</b> </tD>\n<tD>" . $ro->getPatientRecord_address() . "</tD>\n</table>\n\n<br><br>\n\n<table border=1 cellpadding=1 cellspacing=0>\n<tr>\n<th> Particular </th>\n<th> Actual </th>\n<th> PhilHealth </th>\n<th> Company </th>\n<th> Cash </th>\n</tr>\n\n<tr>\n<td> Medicine </td>\n<Td> {$medActual}</td>\n<td> {$medPHIC}</td>\n<td> {$medCompany}</td>\n<td> {$medCash}</td>\n</tr>\n\n\n<Tr>\n<td> Supplies</td>\n<td> {$supActual}</td>\n<td> {$supPHIC}</td>\n<td> {$supCompany}</td>\n<Td> {$supCash}</td>\n</tr>\n\n<Tr>\n<td> Laboratory</td>\n<td> {$labActual}</td>\n<td> {$labPHIC}</td>\n<td> {$labCompany}</td>\n<Td> {$labCash}</td>\n</tr>\n\n<Tr>\n<td> Radiology</td>\n<td> {$radActual}</td>\n<td> {$radPHIC}</td>\n<td> {$radCompany}</td>\n<Td> {$radCash}</td>\n</tr>\n\n<Tr>\n<td> Nursing Charges</td>\n<td> {$nsChargesActual}</td>\n<td> {$nsChargesPHIC}</td>\n<td> {$nsChargesCompany}</td>\n<Td> {$nsChargesCash}</td>\n</tr>\n\n<Tr>\n<td> Miscellaneous</td>\n<td> {$miscActual}</td>\n<td> {$miscPHIC}</td>\n<td> {$miscCompany}</td>\n<Td> {$miscCash}</td>\n</tr>\n\n<Tr>\n<td> Others</td>\n<td> {$othersActual}</td>\n<td> {$othersPHIC}</td>\n<td> {$othersCompany}</td>\n<Td> {$othersCash}</td>\n</tr>\n\n<Tr>\n<td> OR/DR/ER Fee</td>\n<td> {$orActual}</td>\n<td> {$orPHIC}</td>\n<td> {$orCompany}</td>\n<Td> {$orCash}</td>\n</tr>\n\n<Tr>\n<td> Rehab</td>\n<td> {$rehabActual}</td>\n<td> {$rehabPHIC}</td>\n<td> {$rehabCompany}</td>\n<Td> {$rehabCash}</td>\n</tr>\n\n<Tr>\n<td><font size=2>Room @ " . $ro->getQTY_room($registrationNo) . " day(s)</font> </td>\n<td> {$roomActual}</td>\n<td> {$roomPHIC}</td>\n<td> {$roomCompany}</td>\n<Td> {$roomCash}</td>\n</tr>\n\n<Tr>\n<td> <b>Hospital Bill</b></tD>\n<td> <b>" . number_format($hospitalBill_gt, 2) . "</b></tD>\n<td> <b>" . number_format($hospitalBill_phic, 2) . "</b></tD>\n<td> <b>" . number_format($hospitalBill_company, 2) . "</b></tD>\n<td> <b>" . number_format($hospitalBill_cash, 2) . "</b></tD>\n</tr>\n\n<Tr>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n</tr>\n\n<tr>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n</tr>\n\n" . $ro->getPatientDoc_soa2pdf($registrationNo) . "\n\n<tr>\n<td> <b>Professional Fee</b></tD>\n<td> <b>" . number_format($pf_gt, 2) . "</b></tD>\n<td> <b>" . number_format($pf_phic, 2) . "</b></tD>\n<td> <b>" . number_format($pf_company, 2) . "</b></tD>\n<td> <b>" . number_format($pf_cash, 2) . "</b></tD>\n</tr>\n\n\n<Tr>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n</tr>\n\n<tr>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n</tr>\n\n\n<tr>\n<td> <b>Total</b></tD>\n<td> <b>" . number_format($hospitalBill_gt + $pf_gt, 2) . "</b></tD>\n<td> <b>" . number_format($hospitalBill_phic + $pf_phic, 2) . "</b></tD>\n<td> <b>" . number_format($hospitalBill_company + $pf_company, 2) . "</b></tD>\n<td> <b>" . number_format($hospitalBill_cash + $pf_cash, 2) . "</b></tD>\n</tr>\n\n\n<tr>\n<td> <b>Discount</b></tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> <b>" . number_format($patientDiscount, 2) . "</b></tD>\n</tr>\n\n<tr>\n<td> <b>Grand Total</b></tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> <b>" . number_format($grandTotal, 2) . "</b></tD>\n</tr>\n\n<tr>\n<td> <b>Payments</b></tD>\n<td> </tD>\n<td> </tD>\n<td> </tD>\n<td> <b>" . number_format($ro->getPaymentHistory_showUp_returnPaid(), 2) . "</b></tD>\n</tr>\n\n<tr>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n</tr>\n\n\n<tr>\n<td> <b>BALANCE</b></td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> <b> " . number_format($hospitalBill_cash + $pf_cash - $ro->getPaymentHistory_showUp_returnPaid(), 2) . " </b></td>\n</tr>\n\n</table>\n\n<br><br><br><br>\n<hr>\n<br><br>\n\n<Table>\n\n<td style='width:90%;'>\n<font size=2><u>MYNARD A. BAJO</u><Br><b>Billing Officer</b></font>\n</td>\n\n\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n\n\n\n\n\n<td>\n<font size=2><u>HAZEL S. CASTIGADOR</u><Br><b>Medical Clerk</b></font>\n</td>\n\n\n<tr>\n<td> </td>\n</tr>\n<tr>\n<td> </td>\n</tr>\n<tr>\n<td> </td>\n</tr>\n<tr>\n<td> </td>\n</tr>\n<tr>\n<td> </td>\n</tr>\n\n<tr>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n<td> </td>\n\n<tD> \n<font size=2>Certified Correct:<br></font>\n<br>\n<font size=2><u>MARIBETH B. SANDIG</u><Br><b>Hospital Administrator</b></font>\n</tD>\n</tr>\n</table>\n\n<br><br><br><br><br><br><br>\n\n\n\n\n\n"; $pdfFile = "/opt/lampp/htdocs/SOA_" . $ro->getPatientRecord_lastName() . "_" . $ro->getPatientRecord_firstName() . "-" . $registrationNo . ".pdf"; $html2pdf->WriteHTML($content); $html2pdf->Output($pdfFile); //echo "<table border=1>".$ro->getPatientDoc_soa2pdf($registrationNo)."</table>"
echo " <input type=text name='year' class='shortField' value='" . date("Y") . "'>"; echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td><font class='labelz'>To Date </font></td>"; echo "<td>\n<select name='month1' class='comboBoxShort'> \n<option value='01'>Jan</option>\n<option value='02'>Feb</option>\n<option value='03'>Mar</option>\n<option value='04'>Apr</option>\n<option value='05'>May</option>\n<option value='06'>Jun</option>\n<option value='07'>Jul</option>\n<option value='08'>Aug</option>\n<option value='09'>Sep</option>\n<option value='10'>Oct</option>\n<option value='11'>Nov</option>\n<option value='12'>Dec</option>\n</select>"; echo " <select name='day1' class='comboBoxShort'>"; for ($x = 1; $x < 32; $x++) { if ($x < 10) { echo "<option value='0{$x}'>0{$x}</option>"; } else { echo "<option value='{$x}'>{$x}</option>"; } } echo "</select>"; echo " <input type=text name='year1' class='shortField' value='" . date("Y") . "'>"; echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Payee") . "</td>"; echo "<Td>"; echo "<select name='payee' class='comboBox'>"; echo "<option value=''></option>"; $ro->showOption("supplier", "supplierName"); echo "</select>"; echo "</td>"; echo "</tr>"; echo "</table>"; echo "<br><input type=submit value='Proceed' style='border:1px solid #000; background-color:#3b5998; color:white;' >"; echo "</div>"; echo "</form>";
<?php include "../../../myDatabase.php"; $ro = new database(); $ro->coconutDesign(); echo "<Br><br><br>"; $ro->coconutBoxStart("500", "150"); echo "<br>"; $ro->coconutFormStart("get", "inputLabTest1.php"); echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Lab Test") . "</td>"; echo "<Td>"; $ro->coconutComboBoxStart_long("labTest"); echo "<option value='clinicalChemistry'>Clinical Chemistry</option>"; echo "<option value='hematology'>Hematology</option>"; echo "<option value='hbsagQualitative'>HBsAG - Qualitative</option>"; echo "<option value='stoolAnalysis'>Stool Analysis</option>"; echo "<option value='urinalysis'>Urinalysis</option>"; $ro->coconutComboBoxStop(); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Description") . "</td>"; echo "<td>" . $ro->coconutTextBox_return("desc", "") . "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Normal Values") . "</td>"; echo "<td>" . $ro->coconutTextBox_return("normalValues", "") . "</td>"; echo "</tr>"; echo "</table>";
<?php include "../../myDatabase.php"; $username = $_GET['username']; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "transmitted.php"); $ro->coconutBoxStart("600", "170"); echo "<Br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("From Date") . "</td>"; echo "<td>"; $ro->coconutComboBoxStart_short("fromMonth"); echo "<option value='01'>Jan</option>"; echo "<option value='02'>Feb</option>"; echo "<option value='03'>Mar</option>"; echo "<option value='04'>Apr</option>"; echo "<option value='05'>May</option>"; echo "<option value='06'>Jun</option>"; echo "<option value='07'>Jul</option>"; echo "<option value='08'>Aug</option>"; echo "<option value='09'>Sep</option>"; echo "<option value='10'>Oct</option>"; echo "<option value='11'>Nov</option>"; echo "<option value='12'>Dec</option>"; $ro->coconutComboBoxStop(); echo "</td>"; echo "<td>"; $ro->coconutComboBoxStart_short("fromDay"); for ($x = 1; $x < 32; $x++) {
<?php include "../../myDatabase.php"; $module = $_GET['module']; $ro = new database(); $ro->coconutDesign(); echo "<center>"; $ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/specialRoom/update.php"); $ro->coconutHidden("type", $module); echo "<font color=red size=2>{$module}</font>"; $ro->coconutBoxStart("500", "100"); echo "<br>"; echo $ro->coconutText("Branch") . " "; $ro->coconutComboBoxStart_long("branch"); $ro->showOption("branch", "branch"); $ro->coconutComboBoxStop(); echo "<br><br>"; $ro->coconutButton("Proceed"); $ro->coconutBoxStop(); $ro->coconutFormStop();
$hospitalBill_cash = 0; $hospitalBill_phic = 0; $hospitalBill_company = 0; $hospitalBill_gt = 0; $pf_cash = 0; $pf_phic = 0; $pf_company = 0; $pf_gt = 0; echo "<center><div style='border:0px solid #000000; width:700px; height:auto; border-color:black black black black;'>"; echo ""; echo "<font size=5><b>" . $ro->getReportInformation("hmoSOA_name") . "</b></font>"; echo "<br><font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font>"; echo "<br><br><center>"; echo "<table>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Name") . ": </td><td> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>"; echo "<td> </td><td>" . $ro->coconutText("Reg#") . "</td><td> {$registrationNo}</td>"; echo "</tr>"; echo "<tr>"; echo "<Td>" . $ro->coconutText("PHIC") . ": </td><td> " . $ro->getPatientRecord_phic() . "</td>"; echo "<td> </td>"; echo "<td>CaseType:</td><TD>" . $ro->getRegistrationDetails_caseType() . "</tD>"; echo "</tr>"; echo "<tr>"; echo "<Td>" . $ro->coconutText("Company") . ": </td><td> " . $ro->getRegistrationDetails_company() . "</td>"; echo "<td> </tD>"; echo "<Td>" . $ro->coconutText("Fx Diagnosis:") . ": </td><td> " . $ro->getRegistrationDetails_finalDiagnosis() . "</td>"; echo "</tr>"; echo "<tr>"; echo "<Td>" . $ro->coconutText("Admitted") . ": </td><td> " . $ro->getRegistrationDetails_dateRegistered() . "</td>"; echo "<td> </td>";
$noteMessage = $_GET['noteMessage']; $registrationNo = $_GET['registrationNo']; $noteNo = $_GET['noteNo']; $noteType = $_GET['noteType']; $noteBy = $_GET['noteBy']; echo "\n\n<style type='text/css'>\n.message {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight:329px;\n\twidth: 570px;\n\tpadding:4px 4px 4px 2px;\n}\n\n</style>\n\n"; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("post", "editNote1.php"); $ro->coconutHidden("registrationNo", $registrationNo); $ro->coconutHidden("noteNo", $noteNo); $ro->coconutBoxStart("650", "463"); echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Note By") . "</td>"; echo "<td>"; $ro->coconutTextBox("noteBy", $noteBy); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Note Type") . "</td>"; echo "<td>"; $ro->coconutTextBox_readonly("noteType", $noteType); echo "</td>"; echo "</tr>"; echo "</table>"; echo $ro->coconutText("<font color=red>Message</font>"); echo "<Br>"; echo "\n<textarea name='noteMessage' class='message'>\n{$noteMessage}\n</textarea>"; echo "<br><br>";
if ($x < 10) { echo "<option value='0{$x}'>0{$x}</option>"; } else { echo "<option value='{$x}'>{$x}</option>"; } } echo "</select>"; echo " <input type=text name='toYear' class='shortField' value='" . date("Y") . "'>"; echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td><font class='labelz'>Type</font></td>"; echo "<Td><select name='type' class='comboBoxShort'>\n<option value='IPD'>IPD</option>\n<option value='OPD'>OPD</option>\n</select></td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Dept") . "</td>"; echo "<td>"; $ro->coconutComboBoxStart_long("dept"); echo "<option value=''></option>"; echo "<option value='main'>Admission</option>"; echo "<option value='ER'>ER</option>"; echo "<option value='PHARMACY'>PHARMACY</option>"; echo "<option value='RADIOLOGY'>RADIOLOGY</option>"; echo "<option value='LABORATORY'>LABORATORY</option>"; $ro->coconutComboBoxStop(); echo "</td>"; echo "</tr>"; echo "</table>"; echo "<br><input type=submit value='Proceed' style='border:1px solid #000; background-color:#3b5998; color:white;' >"; echo "</div>"; echo "</form>";
$itemNo = $_GET['itemNo']; $branch = $_GET['branch']; $ro = new database(); $ro->coconutDesign(); $ro->coconutFormStart("get", "labTest.php"); $ro->coconutHidden("labTest", $labTest); $ro->coconutHidden("description", $description); $ro->coconutHidden("registrationNo", $registrationNo); $ro->coconutHidden("itemNo", $itemNo); $ro->coconutHidden("branch", $branch); echo "<br><br>"; $ro->coconutBoxStart("500", "150"); echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Log No:") . "</td>"; echo "<td>"; $ro->coconutTextBox("logNo", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Med Tech") . "</td>"; echo "<td>"; $ro->coconutTextBox("medTech", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>" . $ro->coconutText("Pathologist") . "</td>"; echo "<td>"; $ro->coconutTextBox("pathologist", ""); echo "</td>";