<?php echo "<center><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='60%' height='20%'></center>"; //echo "<center><div style='border:0px solid #000000; width:700px; height:auto; border-color:black black black black;'>"; echo ""; //echo "<font size=5><b><a href='#' style='color:#000; text-decoration:none;'>".$ro->getReportInformation("hmoSOA_name")."</a></b></font>"; //echo "<br><font size=2>".$ro->getReportInformation("hmoSOA_address")."</font>"; echo "<center>"; echo "<table border=0>"; echo "<tr>"; echo "<td>Patient#: </td><td>" . $ro->getRegistrationDetails_patientNo() . "</td>"; echo "<td> Registration#: </td><td> " . $ro->getRegistrationDetails_registrationNo() . "</td>"; echo "<td> Room: " . $room1[0] . " </td>"; echo "</tr>"; echo "<tr>"; echo "<td>Name: </td><td> <a href='#' onClick='printF(printData)' style='text-decoration:none; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>"; echo "<td align='right'> " . $ro->coconutText("Physician") . " : </td><td> " . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>"; echo "<td> Case: " . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</td>"; echo "</tr>"; echo "<tr>"; echo "<Td>" . $ro->coconutText("Admitted") . ": </td><td> " . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</td>"; //echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>"; echo "<Td align='right'> " . $ro->coconutText("Discharged") . ": </td><td> " . $ro->getRegistrationDetails_dateUnregistered() . "@" . $ro->getRegistrationDetails_timeUnregistered() . "</td>"; echo "</tr>"; if ($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo) != "") { $hmoLimit = number_format($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo), 2); } else { if ($ro->selectNow("Company", "type", "companyName", $ro->getRegistrationDetails_company()) == "insurance") { //check kung insurance.. $hmoLimit = number_format(2000, 2); } else { $hmoLimit = "";
?> <font color=red>Print</font></a><Br><Br> <div id="printData"> <?php echo "<Center><font size=3>" . $ro->getReportInformation("hmoSOA_name") . "</font></center>"; echo "<center><font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font></center>"; echo "<Br>\n<center><b><font size=2>STATEMENT OF ACTUAL CHARGES</font></b></center>\n"; $actual = 0; $phic = 0; $company = 0; $excess = 0; echo "<font size=2>Name: " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</font>"; echo " "; echo "<font size=2>Doctor: " . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</font>"; echo "<Br>"; echo "<font size=2>Date: " . date("M d, Y") . "</font>"; echo "<Table border=1 cellpadding=1 cellspacing=0>"; echo "<tr>"; echo "<th><font size=2>HOSPITAL CHARGES</font></th>"; echo "<th><font size=2>ACTUAL</font></th>"; echo "<th><font size=2>PHILHEALTH</font></th>"; echo "<th><font size=2>COMPANY</font></th>"; echo "<th><font size=2>EXCESS</font></th>"; echo "</tr>"; echo "<tr>"; echo "<td> <font size=2>DIALYSIS</font></tD>"; $actual += $ro->getTotal_hdu("total", "DIALYSIS", $registrationNo); $phic += $ro->getTotal_hdu("phic", "DIALYSIS", $registrationNo); $company += $ro->getTotal_hdu("company", "DIALYSIS", $registrationNo);
<?php echo "<center><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='45%' height='12%'></center>"; //echo "<center><div style='border:0px solid #000000; width:700px; height:auto; border-color:black black black black;'>"; echo ""; //echo "<center><font size=5><b><a href='#' style='color:#000; text-decoration:none;'>".$ro->getReportInformation("hmoSOA_name")."</a></b></font>"; //echo "<br><font size=2>".$ro->getReportInformation("hmoSOA_address")."</font>"; echo "<center>"; echo "<table border=0>"; echo "<tr>"; echo "<td><span class='txtSize'>Patient#:</span> </td><td><span class='txtSize'>" . $ro->getRegistrationDetails_patientNo() . "</span></td>"; echo "<td> <span class='txtSize'>Registration#:</span> </td><td> <span class='txtSize'>" . $ro->getRegistrationDetails_registrationNo() . "</span></td>"; echo "<td> <span class='txtSize'>Room:</span> <span class='txtSize'>" . $room1[0] . "</span></td>"; echo "</tr>"; echo "<tr>"; echo "<td><span class='txtSize'>Name:</span> </td><td> <a href='#' style='text-decoration:none; font-size:12px; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>"; echo "<td align='left'> <span class='txtSize'>Physician:</span> </td><td> <span class='txtSize'>" . $ro->getAttendingDoc($registrationNo, "Attending") . "</span></td>"; echo "<td> <span class='txtSize'>Case:" . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</span></td>"; echo "</tr>"; echo "<tr>"; echo "<Td><span class='txtSize'>Admitted:</span> </td><td> <span class='txtSize'>" . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</span></td>"; //echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>"; echo "<Td align='left'> <span class='txtSize'>Discharged:</span> </td><td> <span class='txtSize'>" . $ro->getRegistrationDetails_dateUnregistered() . "@" . $ro->getRegistrationDetails_timeUnregistered() . "</span></td>"; echo "</tr>"; if ($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo) != "") { $hmoLimit = number_format($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo), 2); } else { if ($ro->selectNow("Company", "type", "companyName", $ro->getRegistrationDetails_company()) == "insurance") { //check kung insurance.. $hmoLimit = number_format(2000, 2); } else { $hmoLimit = "";
<?php include "../../myDatabase2.php"; $registrationNo = $_GET['registrationNo']; $dateCharge = $_GET['dateCharge']; $ro = new database2(); $ro->getPatientProfile($registrationNo); echo "<b>Name: </b>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName(); echo "<Br>"; echo "<b>Age/Sex: </b>" . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender(); echo "<br>"; echo "<b>D.O.B</b>: " . $ro->getPatientRecord_birthDate(); echo "<br>"; echo "<b>WARD: </b>" . $ro->getRegistrationDetails_room(); echo "<Br>"; echo "<b>Physician:</b> " . $ro->getAttendingDoc($registrationNo, "Attending"); echo "<br>"; echo "<b>Diagnosis:</b> " . $ro->getRegistrationDetails_IxDx(); echo "<Br><Br>"; $ro->printLabRequest($registrationNo, $dateCharge);
$hospitalBill_company = 0; $hospitalBill_gt = 0; $pf_cash = 0; $pf_phic = 0; $pf_company = 0; $pf_gt = 0; echo "<style type='text/css'>\n\n.editable{\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight: 15px;\n\twidth: 80px;\n\tborder-color:white white white white;\n\tfont-size:10px;\n\ttext-align:center;\n}\n\n</style>"; echo "<center><div style='border:0px solid #000000; width:700px; height:auto; border-color:black black black black;'>"; echo ""; echo "<font size=5><b><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/updateSOA.php?registrationNo={$registrationNo}' style='color:#000; text-decoration:none;'>" . $ro->getReportInformation("hmoSOA_name") . "</a></b></font>"; echo "<br><font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font>"; echo "<br><br><center>"; echo "<table>"; echo "<tr>"; echo "<td>Name: </td><td> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>"; echo "<td> </td><td>" . $ro->coconutText("Doctor") . "</td><td> " . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>"; echo "</tr>"; echo "<tr>"; echo "<Td>" . $ro->coconutText("Admitted") . ": </td><td> " . $ro->getRegistrationDetails_dateRegistered() . "</td>"; echo "<td> </td>"; //echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>"; echo "<Td>" . $ro->coconutText("Discharged") . ": </td><td> " . $ro->getRegistrationDetails_dateUnregistered() . "</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>"; $room = preg_split("/\\-/", $ro->getRegistrationDetails_room()); $roomRate = $ro->selectNow("room", "rate", "Description", $ro->getRegistrationDetails_room()); echo "<tr>";
<?php echo "<center><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/SOAoption/summary_short.php?registrationNo={$registrationNo}&username={$username}' target='_blank'><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='45%' height='12%'></a></center>"; //echo "<center><div style='border:0px solid #000000; width:700px; height:auto; border-color:black black black black;'>"; echo ""; //echo "<center><font size=5><b><a href='#' style='color:#000; text-decoration:none;'>".$ro->getReportInformation("hmoSOA_name")."</a></b></font>"; //echo "<br><font size=2>".$ro->getReportInformation("hmoSOA_address")."</font>"; echo "<center>"; echo "<table border=0>"; echo "<tr>"; echo "<td><span class='Arial11Black'>Patient#:</span> </td><td><span class='Arial11BlackBold'>" . $ro->getRegistrationDetails_patientNo() . "</span></td>"; echo "<td><span class='Arial11Black'> Registration#: </span></td><td><span class='Arial11BlackBold'> " . $ro->getRegistrationDetails_registrationNo() . "</span></td>"; echo "<td><span class='Arial11Black'> Room: </span><span class='Arial11BlackBold'>" . $room1[0] . "</span></td>"; echo "</tr>"; echo "<tr>"; echo "<td><span class='Arial11Black'>Name:</span> </td><td> <span class='Arial11BlackBold'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</span></td>"; echo "<td align='left'> <span class='Arial11Black'>Physician:</span> </td><td> <span class='Arial11BlackBold'>" . $ro->getAttendingDoc($registrationNo, "Attending") . "</span></td>"; echo "<td> <span class='Arial11Black'>Case: </span><span class='Arial11BlackBold'>" . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</span></td>"; echo "</tr>"; echo "<tr>"; echo "<Td><span class='Arial11Black'>Admitted:</span> </td><td> <span class='Arial11BlackBold'>" . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</span></td>"; //echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>"; echo "<Td align='left'> <span class='Arial11Black'>Discharged:</span> </td><td> <span class='Arial11BlackBold'>" . $ro->getRegistrationDetails_dateUnregistered() . "@" . $ro->getRegistrationDetails_timeUnregistered() . "</span></td>"; echo "</tr>"; if ($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo) != "") { $hmoLimit = number_format($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo), 2); } else { if ($ro->selectNow("Company", "type", "companyName", $ro->getRegistrationDetails_company()) == "insurance") { //check kung insurance.. $hmoLimit = number_format(2000, 2); } else { $hmoLimit = "";
$birthdate = $ro->selectNow("patientRecord", "Birthdate", "patientNo", $patientNo); $age = $ro->selectNow("patientRecord", "Age", "patientNo", $patientNo); $gender = $ro->selectNow("patientRecord", "Gender", "patientNo", $patientNo); $contactno = $ro->selectNow("patientRecord", "contactNo", "patientNo", $patientNo); $civilstatus = $ro->selectNow("patientRecord", "civilStatus", "patientNo", $patientNo); $phic = $ro->selectNow("patientRecord", "phic", "patientNo", $patientNo); $dateregistered = $ro->selectNow("registrationDetails", "dateRegistered", "patientNo", $patientNo); $timeregistered = $ro->selectNow("registrationDetails", "timeRegistered", "patientNo", $patientNo); $room = $ro->selectNow("registrationDetails", "room", "patientNo", $patientNo); $admittedby = $ro->selectNow("registrationDetails", "registeredBy", "patientNo", $patientNo); $type = $ro->selectNow("registrationDetails", "type", "patientNo", $patientNo); $dateunregistered = $ro->selectNow("registrationDetails", "dateUnregistered", "patientNo", $patientNo); $timeunregistered = $ro->selectNow("registrationDetails", "timeUnregistered", "patientNo", $patientNo); $finaldiagnosis = $ro->selectNow("registrationDetails", "finalDiagnosis", "patientNo", $patientNo); $company = $ro->selectNow("registrationDetails", "company", "patientNo", $patientNo); $attendingdoc = $ro->getAttendingDoc($registrationNo, "ATTENDING"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>In Patient Information</title> <style type="text/css"> .H1 { text-align: center; } #form1 table tr td { } .A {
$ro->coconutTableRowStop(); $ro->getDoctorsNewPlan($registrationNo); $ro->coconutTableStop(); /* echo "<table border='0px'>"; echo "<tr>"; echo "<td><font size=2>ADVISED:</font> </td>"; echo "<td style='width:500px; table-layout:fixed;'><font size=2>".$ro->selectNow("registrationDetails","advised","registrationNo",$registrationNo)."".$ro->showAdvisedFromCharges($registrationNo)."</font></td>"; echo "</tr>"; echo "</table>"; */ echo "<br>"; echo "<Table border='0' width='600px;'>"; echo "<Tr>"; echo "<td><font size=2>FF - UP DATE</font></td>"; echo "<td align='right'><a href='#'><font size=2>DR. " . $ro->getAttendingDoc($registrationNo, "Consultation") . "</font></a></td>"; echo "</tr>"; echo "<tr>"; echo "<Td><font size=2>" . $ro->selectNow("registrationDetails", "followUp", "registrationNo", $registrationNo) . "</font></tD>"; echo "<td align='right'><font size=2>Lic No.</font><input type='text' style='border-bottom:1px solid #000; border-top:0px; borde-right:0px; border-left:0px; width:185px;' value='" . $ro->selectNow("Doctors", "licenseNo", "Name", $ro->getAttendingDoc($registrationNo, "Consultation")) . "'></td>"; echo "</tr>"; echo "<tr>"; echo "<Td> </tD>"; echo "<td align='right'><font size=2>PTR No.</font><input type='text' style='border-bottom:1px solid #000; border-top:0px; borde-right:0px; border-left:0px; width:185px;' value='" . $ro->selectNow("Doctors", "ptrNo", "Name", $ro->getAttendingDoc($registrationNo, "Consultation")) . "'></td>"; echo "</tr>"; echo "</table>"; ?> </div>
$room = preg_split("/\\_/", $ro->getRegistrationDetails_room()); echo "<br>"; if ($ro->getRegistrationDetails_dateUnregistered() == "") { echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/discharged/discharge_new.php?registrationNo={$registrationNo}&protoType=Discharged&room=" . $ro->getRegistrationDetails_room() . "&username={$username}'><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/unlock.jpeg'></a> <font size=2 color=red><b>" . $ro->getRegistrationDetails_type() . "</b></font><br>"; } else { echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/discharged/discharged.php?registrationNo={$registrationNo}&protoType=Undischarged&room=&username={$username}'><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/locked1.jpeg'></a> <font size=2 color=red><b>" . $ro->getRegistrationDetails_type() . "</b></font><br>"; } //echo "<img src='http://".$ro->getMyUrl()."/COCONUT/myImages/verified.jpeg'>"; echo "<b><i><font color=blue size=5>" . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</font></i></b><br>"; echo "<font class='informationLabel'>Patient No:</font> " . $ro->getRegistrationDetails_patientNo(); if ($ro->getRegistrationDetails_type() != "OPD") { echo "<br><font class='informationLabel'>Registration No:</font> <font color=red>Admission-" . $ro->getRegistrationDetails_registrationNo() . "</font>"; } else { echo "<br><font class='informationLabel'>Registration No:</font> <font color='blue'>Outpatient-" . $ro->getRegistrationDetails_registrationNo() . "</font>"; } echo "<br><font class='informationLabel'>Attending:</font> <font color=blue>" . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</font>"; echo "<br><font class='informationLabel'>Age:</font> " . $ro->getPatientRecord_age(); echo "<br><font class='informationLabel'>Gender:</font> " . $ro->getPatientRecord_gender(); echo "<br><font class='informationLabel'>Civil Status:</font> " . $ro->getPatientRecord_civilStatus(); echo "<br><font class='informationLabel'>Birth Date:</font> " . $ro->getPatientRecord_Birthdate(); echo "<br><font class='informationLabel'>Contact No#:</font> " . $ro->getPatientRecord_contactNo(); echo "<br><font class='informationLabel'>Senior:</font> " . $ro->getPatientRecord_senior(); echo "<br><font class='informationLabel'>Senior ID#:</font> " . $ro->selectNow("registrationDetails", "seniorID", "registrationNo", $registrationNo); echo "<br><font class='informationLabel'>PhilHealth:</font> " . $ro->getPatientRecord_phic() . " <a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/Payments/phicPayment_selection.php?registrationNo={$registrationNo}&username={$username}' style='text-decoration:none;'><font color='red' size=2>[Payment]</font></a>"; echo "<br><font class='informationLabel'>Religion:</font> " . $ro->getPHICtype_patientRecord(); if ($ro->selectNow("registrationDetails", "verified", "registrationNo", $registrationNo) != "" && $ro->selectNow("registrationDetails", "certified", "registrationNo", $registrationNo) == "") { echo "<img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/verified.jpeg'>"; } else { if ($ro->selectNow("registrationDetails", "verified", "registrationNo", $registrationNo) == "" && $ro->selectNow("registrationDetails", "certified", "registrationNo", $registrationNo) != "") { echo "<img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/certified.jpeg'>"; } else {
echo "<Td> </tD>"; echo "<Td> </tD>"; echo "<Td> </tD>"; echo "<Td> </tD>"; echo "<Td> </tD>"; echo "<Td> </tD>"; echo "<Td> </tD>"; echo "<Td> </tD>"; echo "<Td> </tD>"; echo "<Td><b>ROOM:</b></tD>"; $romz = preg_split("/\\-/", $ro->getRegistrationDetails_room()); echo "<td>" . $romz[0] . "</td>"; echo "</tr>"; echo "<tr>"; echo "<Td><b>PHYSICIAN:</b> </tD>"; echo "<tD>" . $ro->getAttendingDoc($registrationNo, "Attending") . "</tD>"; echo "</tr>"; echo "</table>"; echo "<Br><Br><Br><Br>"; echo "<Table border=1 cellspacing=0>"; echo "<tr>"; echo "<th> HOSPITAL CHARGES </th>"; echo "<th> </th>"; echo "<th> </th>"; echo "<th> ACTUAL </th>"; echo "<th> MEDICARE </th>"; echo "<th> EXCESS </th>"; echo "</tr>"; echo "<tr>"; echo "<td> <b>A. ROOM</b> " . $ro->doubleSelectNow("patientCharges", "quantity", "registrationNo", $registrationNo, "description", $ro->selectNow("registrationDetails", "room", "registrationNo", $registrationNo)) . " DAYS AT " . $ro->selectNow("room", "rate", "Description", $ro->getRegistrationDetails_room()) . "</td>"; echo "<td> </td>";
<?php include "../../myDatabase2.php"; $registrationNo = $_GET['registrationNo']; $dateCharge = $_GET['dateCharge']; $ro = new database2(); $ro->getPatientProfile($registrationNo); echo "<Br>"; echo "<table border=0 width='70%'>"; echo "<Tr>"; echo "<td><b>Patient ID:</b> " . $ro->getRegistrationDetails_patientNo() . "</td>"; echo "<TD><b>Registration#:</b> {$registrationNo}</tD>"; echo "</tr>"; echo "<Tr>"; echo "<td><b>Patients Name:</b> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " " . $ro->getPatientRecord_middleName() . "</td>"; echo "<td><b>Age:</b> " . $ro->getPatientRecord_Age() . "</td>"; echo "</tr>"; echo "<tr>"; echo "<td><b>D.O.B:</b> " . $ro->getPatientRecord_birthDate() . "</td>"; echo "<tD><b>Sex:</b> " . $ro->getPatientRecord_Gender() . "</td>"; echo "</tr>"; echo "<tr>"; echo "<td><b>Physician:</b> " . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</td>"; echo "<td><b>Room:</b> " . $ro->getRegistrationDetails_room() . "</td>"; echo "</tr>"; echo "</table>"; echo "<br>"; $ro->printLabRequest($registrationNo, $dateCharge);