Пример #1
0
<?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>";
Пример #2
0
    //$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") {
Пример #3
0
<?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();
Пример #4
0
$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 "&nbsp;<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>";
Пример #5
0
  <li><a href="#" class='odd'><font color=yellow>Request to Admin</font><span class="arrow"></span></a></li>
    <li>&nbsp;&nbsp;</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>";
Пример #6
0
<?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();
Пример #7
0
<?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:&nbsp;");
$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 "&nbsp;";
$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>";
Пример #8
0
$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();
Пример #9
0
$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") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("casetype", $casetype);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Medicine") . "&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("medicine", $medicine);
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Supplies") . "&nbsp;</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") . ":&nbsp;</tD>";
echo "<td>" . $ro->coconutTextBox_return("staff_username", "") . "</td>";
echo "</tr>";
echo "<Tr>";
echo "<Td>" . $ro->coconutText("Password") . ":&nbsp;</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);
Пример #11
0
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>&nbsp;</td><td>&nbsp;" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>\n<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>" . $ro->coconutText("Reg#") . "</td><td>&nbsp;{$registrationNo}</td>\n</tr>\n\n<tr>\n<Td><b>" . $ro->coconutText("PHIC") . ":</b>&nbsp;</td><td>&nbsp;" . $ro->getPatientRecord_phic() . "</td>\n<td>&nbsp;</td>\n<td><b>CaseType:</b></td><TD>" . $ro->getRegistrationDetails_caseType() . "</tD>\n</tr>\n\n<tr>\n<Td><b>" . $ro->coconutText("Company") . ":</b>&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_company() . "</td>\n<td>&nbsp;</tD>\n<Td><b>" . $ro->coconutText("Fx Diagnosis:") . ":</b>&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_finalDiagnosis() . "</td>\n</tr>\n\n<tr>\n<Td><b>" . $ro->coconutText("Admitted") . ":</b>&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateRegistered() . "</td>\n<td>&nbsp;</td>\n<Td><b>" . $ro->coconutText("Discharged") . ":</b>&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateUnregistered() . "</td>\n</tr>\n\n<tr>\n<Td><b>" . $ro->coconutText("Age") . ":</b></tD><td>&nbsp;" . $ro->getPatientRecord_age() . "</tD>\n<tD>&nbsp;</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>&nbsp;<font size=2>" . $ro->getAttendingDoc($registrationNo, "Attending") . "</font></td>\n<td></td>\n<td><b>" . $ro->coconutText("Admitting Doc") . ":</b></td><tD>&nbsp;<font size=2>" . $ro->getAttendingDoc($registrationNo, "Admitting") . "</font></tD>\n</tr>\n</table>\n\n<table>\n<td><b>Address:</b>&nbsp;</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>&nbsp;Particular&nbsp;</th>\n<th>&nbsp;Actual&nbsp;</th>\n<th>&nbsp;PhilHealth&nbsp;</th>\n<th>&nbsp;Company&nbsp;</th>\n<th>&nbsp;Cash&nbsp;</th>\n</tr>\n\n<tr>\n<td>&nbsp;Medicine&nbsp;</td>\n<Td>&nbsp;{$medActual}</td>\n<td>&nbsp;{$medPHIC}</td>\n<td>&nbsp;{$medCompany}</td>\n<td>&nbsp;{$medCash}</td>\n</tr>\n\n\n<Tr>\n<td>&nbsp;Supplies</td>\n<td>&nbsp;{$supActual}</td>\n<td>&nbsp;{$supPHIC}</td>\n<td>&nbsp;{$supCompany}</td>\n<Td>&nbsp;{$supCash}</td>\n</tr>\n\n<Tr>\n<td>&nbsp;Laboratory</td>\n<td>&nbsp;{$labActual}</td>\n<td>&nbsp;{$labPHIC}</td>\n<td>&nbsp;{$labCompany}</td>\n<Td>&nbsp;{$labCash}</td>\n</tr>\n\n<Tr>\n<td>&nbsp;Radiology</td>\n<td>&nbsp;{$radActual}</td>\n<td>&nbsp;{$radPHIC}</td>\n<td>&nbsp;{$radCompany}</td>\n<Td>&nbsp;{$radCash}</td>\n</tr>\n\n<Tr>\n<td>&nbsp;Nursing Charges</td>\n<td>&nbsp;{$nsChargesActual}</td>\n<td>&nbsp;{$nsChargesPHIC}</td>\n<td>&nbsp;{$nsChargesCompany}</td>\n<Td>&nbsp;{$nsChargesCash}</td>\n</tr>\n\n<Tr>\n<td>&nbsp;Miscellaneous</td>\n<td>&nbsp;{$miscActual}</td>\n<td>&nbsp;{$miscPHIC}</td>\n<td>&nbsp;{$miscCompany}</td>\n<Td>&nbsp;{$miscCash}</td>\n</tr>\n\n<Tr>\n<td>&nbsp;Others</td>\n<td>&nbsp;{$othersActual}</td>\n<td>&nbsp;{$othersPHIC}</td>\n<td>&nbsp;{$othersCompany}</td>\n<Td>&nbsp;{$othersCash}</td>\n</tr>\n\n<Tr>\n<td>&nbsp;OR/DR/ER Fee</td>\n<td>&nbsp;{$orActual}</td>\n<td>&nbsp;{$orPHIC}</td>\n<td>&nbsp;{$orCompany}</td>\n<Td>&nbsp;{$orCash}</td>\n</tr>\n\n<Tr>\n<td>&nbsp;Rehab</td>\n<td>&nbsp;{$rehabActual}</td>\n<td>&nbsp;{$rehabPHIC}</td>\n<td>&nbsp;{$rehabCompany}</td>\n<Td>&nbsp;{$rehabCash}</td>\n</tr>\n\n<Tr>\n<td><font size=2>Room @ " . $ro->getQTY_room($registrationNo) . " day(s)</font> </td>\n<td>&nbsp;{$roomActual}</td>\n<td>&nbsp;{$roomPHIC}</td>\n<td>&nbsp;{$roomCompany}</td>\n<Td>&nbsp;{$roomCash}</td>\n</tr>\n\n<Tr>\n<td>&nbsp;<b>Hospital Bill</b></tD>\n<td>&nbsp;<b>" . number_format($hospitalBill_gt, 2) . "</b></tD>\n<td>&nbsp;<b>" . number_format($hospitalBill_phic, 2) . "</b></tD>\n<td>&nbsp;<b>" . number_format($hospitalBill_company, 2) . "</b></tD>\n<td>&nbsp;<b>" . number_format($hospitalBill_cash, 2) . "</b></tD>\n</tr>\n\n<Tr>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n</tr>\n\n<tr>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n</tr>\n\n" . $ro->getPatientDoc_soa2pdf($registrationNo) . "\n\n<tr>\n<td>&nbsp;<b>Professional Fee</b></tD>\n<td>&nbsp;<b>" . number_format($pf_gt, 2) . "</b></tD>\n<td>&nbsp;<b>" . number_format($pf_phic, 2) . "</b></tD>\n<td>&nbsp;<b>" . number_format($pf_company, 2) . "</b></tD>\n<td>&nbsp;<b>" . number_format($pf_cash, 2) . "</b></tD>\n</tr>\n\n\n<Tr>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n</tr>\n\n<tr>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n</tr>\n\n\n<tr>\n<td>&nbsp;<b>Total</b></tD>\n<td>&nbsp;<b>" . number_format($hospitalBill_gt + $pf_gt, 2) . "</b></tD>\n<td>&nbsp;<b>" . number_format($hospitalBill_phic + $pf_phic, 2) . "</b></tD>\n<td>&nbsp;<b>" . number_format($hospitalBill_company + $pf_company, 2) . "</b></tD>\n<td>&nbsp;<b>" . number_format($hospitalBill_cash + $pf_cash, 2) . "</b></tD>\n</tr>\n\n\n<tr>\n<td>&nbsp;<b>Discount</b></tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;<b>" . number_format($patientDiscount, 2) . "</b></tD>\n</tr>\n\n<tr>\n<td>&nbsp;<b>Grand Total</b></tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;<b>" . number_format($grandTotal, 2) . "</b></tD>\n</tr>\n\n<tr>\n<td>&nbsp;<b>Payments</b></tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;</tD>\n<td>&nbsp;<b>" . number_format($ro->getPaymentHistory_showUp_returnPaid(), 2) . "</b></tD>\n</tr>\n\n<tr>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n</tr>\n\n\n<tr>\n<td>&nbsp;<b>BALANCE</b></td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;<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>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</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>&nbsp;</td>\n</tr>\n<tr>\n<td>&nbsp;</td>\n</tr>\n<tr>\n<td>&nbsp;</td>\n</tr>\n<tr>\n<td>&nbsp;</td>\n</tr>\n<tr>\n<td>&nbsp;</td>\n</tr>\n\n<tr>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n<td>&nbsp;</td>\n\n<tD>&nbsp;&nbsp;\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>"
Пример #12
0
echo "&nbsp;<input type=text name='year' class='shortField' value='" . date("Y") . "'>";
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font class='labelz'>To Date&nbsp;</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 "&nbsp;<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 "&nbsp;<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>";
Пример #13
0
<?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>";
Пример #14
0
<?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++) {
Пример #15
0
<?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") . "&nbsp;&nbsp;";
$ro->coconutComboBoxStart_long("branch");
$ro->showOption("branch", "branch");
$ro->coconutComboBoxStop();
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Пример #16
0
$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") . ":&nbsp;</td><td>&nbsp;" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>";
echo "<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>" . $ro->coconutText("Reg#") . "</td><td>&nbsp;{$registrationNo}</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("PHIC") . ":&nbsp;</td><td>&nbsp;" . $ro->getPatientRecord_phic() . "</td>";
echo "<td>&nbsp;</td>";
echo "<td>CaseType:</td><TD>" . $ro->getRegistrationDetails_caseType() . "</tD>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Company") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_company() . "</td>";
echo "<td>&nbsp;</tD>";
echo "<Td>" . $ro->coconutText("Fx Diagnosis:") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_finalDiagnosis() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateRegistered() . "</td>";
echo "<td>&nbsp;</td>";
Пример #17
0
$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>";
Пример #18
0
    if ($x < 10) {
        echo "<option value='0{$x}'>0{$x}</option>";
    } else {
        echo "<option value='{$x}'>{$x}</option>";
    }
}
echo "</select>";
echo "&nbsp;<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>";
Пример #19
0
$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>";