Beispiel #1
0
<?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#:&nbsp;</td><td>" . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<td>&nbsp;&nbsp;Registration#:&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_registrationNo() . "</td>";
echo "<td>&nbsp;Room:&nbsp;" . $room1[0] . " </td>";
echo "</tr>";
echo "<tr>";
echo "<td>Name:&nbsp;</td><td>&nbsp;<a href='#' onClick='printF(printData)' style='text-decoration:none; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>";
echo "<td align='right'>&nbsp;&nbsp;" . $ro->coconutText("Physician") . " : </td><td>&nbsp;" . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>";
echo "<td>&nbsp;Case: " . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td align='right'>&nbsp;&nbsp;" . $ro->coconutText("Discharged") . ":&nbsp;</td><td>&nbsp;" . $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 = "";
Beispiel #2
0
?>
 <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:&nbsp;" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</font>";
echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
echo "<font size=2>Doctor:&nbsp;" . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</font>";
echo "<Br>";
echo "<font size=2>Date:&nbsp;" . 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>&nbsp;<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>&nbsp;</td><td><span class='txtSize'>" . $ro->getRegistrationDetails_patientNo() . "</span></td>";
echo "<td>&nbsp;&nbsp;<span class='txtSize'>Registration#:</span>&nbsp;</td><td>&nbsp;<span class='txtSize'>" . $ro->getRegistrationDetails_registrationNo() . "</span></td>";
echo "<td>&nbsp;<span class='txtSize'>Room:</span>&nbsp;<span class='txtSize'>" . $room1[0] . "</span></td>";
echo "</tr>";
echo "<tr>";
echo "<td><span class='txtSize'>Name:</span>&nbsp;</td><td>&nbsp;<a href='#' style='text-decoration:none; font-size:12px; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>";
echo "<td align='left'>&nbsp;&nbsp;<span class='txtSize'>Physician:</span> </td><td>&nbsp;<span class='txtSize'>" . $ro->getAttendingDoc($registrationNo, "Attending") . "</span></td>";
echo "<td>&nbsp;<span class='txtSize'>Case:" . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</span></td>";
echo "</tr>";
echo "<tr>";
echo "<Td><span class='txtSize'>Admitted:</span>&nbsp;</td><td>&nbsp;<span class='txtSize'>" . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</span></td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td align='left'>&nbsp;&nbsp;<span class='txtSize'>Discharged:</span>&nbsp;</td><td>&nbsp;<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 = "";
Beispiel #4
0
<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$dateCharge = $_GET['dateCharge'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
echo "<b>Name:&nbsp;</b>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName();
echo "<Br>";
echo "<b>Age/Sex:&nbsp;</b>" . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender();
echo "<br>";
echo "<b>D.O.B</b>:&nbsp;" . $ro->getPatientRecord_birthDate();
echo "<br>";
echo "<b>WARD:&nbsp;</b>" . $ro->getRegistrationDetails_room();
echo "<Br>";
echo "<b>Physician:</b>&nbsp;" . $ro->getAttendingDoc($registrationNo, "Attending");
echo "<br>";
echo "<b>Diagnosis:</b>&nbsp;" . $ro->getRegistrationDetails_IxDx();
echo "<Br><Br>";
$ro->printLabRequest($registrationNo, $dateCharge);
Beispiel #5
0
$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:&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("Doctor") . "</td><td>&nbsp;" . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateRegistered() . "</td>";
echo "<td>&nbsp;</td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td>" . $ro->coconutText("Discharged") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateUnregistered() . "</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>";
$room = preg_split("/\\-/", $ro->getRegistrationDetails_room());
$roomRate = $ro->selectNow("room", "rate", "Description", $ro->getRegistrationDetails_room());
echo "<tr>";
Beispiel #6
0
<?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>&nbsp;</td><td><span class='Arial11BlackBold'>" . $ro->getRegistrationDetails_patientNo() . "</span></td>";
echo "<td><span class='Arial11Black'>&nbsp;&nbsp;Registration#:&nbsp;</span></td><td><span class='Arial11BlackBold'>&nbsp;" . $ro->getRegistrationDetails_registrationNo() . "</span></td>";
echo "<td><span class='Arial11Black'>&nbsp;Room:&nbsp;</span><span class='Arial11BlackBold'>" . $room1[0] . "</span></td>";
echo "</tr>";
echo "<tr>";
echo "<td><span class='Arial11Black'>Name:</span>&nbsp;</td><td>&nbsp;<span class='Arial11BlackBold'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</span></td>";
echo "<td align='left'>&nbsp;&nbsp;<span class='Arial11Black'>Physician:</span> </td><td>&nbsp;<span class='Arial11BlackBold'>" . $ro->getAttendingDoc($registrationNo, "Attending") . "</span></td>";
echo "<td>&nbsp;<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>&nbsp;</td><td>&nbsp;<span class='Arial11BlackBold'>" . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</span></td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td align='left'>&nbsp;&nbsp;<span class='Arial11Black'>Discharged:</span>&nbsp;</td><td>&nbsp;<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 = "";
Beispiel #7
0
$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 {
Beispiel #8
0
$ro->coconutTableRowStop();
$ro->getDoctorsNewPlan($registrationNo);
$ro->coconutTableStop();
/*
echo "<table border='0px'>";
echo "<tr>";
echo "<td><font size=2>ADVISED:</font>&nbsp;</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>&nbsp;</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>&nbsp;&nbsp;<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>&nbsp;&nbsp;<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>&nbsp;" . $ro->getRegistrationDetails_patientNo();
if ($ro->getRegistrationDetails_type() != "OPD") {
    echo "<br><font class='informationLabel'>Registration No:</font>&nbsp;<font color=red>Admission-" . $ro->getRegistrationDetails_registrationNo() . "</font>";
} else {
    echo "<br><font class='informationLabel'>Registration No:</font>&nbsp;<font color='blue'>Outpatient-" . $ro->getRegistrationDetails_registrationNo() . "</font>";
}
echo "<br><font class='informationLabel'>Attending:</font>&nbsp;<font color=blue>" . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</font>";
echo "<br><font class='informationLabel'>Age:</font>&nbsp;" . $ro->getPatientRecord_age();
echo "<br><font class='informationLabel'>Gender:</font>&nbsp;" . $ro->getPatientRecord_gender();
echo "<br><font class='informationLabel'>Civil Status:</font>&nbsp;" . $ro->getPatientRecord_civilStatus();
echo "<br><font class='informationLabel'>Birth Date:</font>&nbsp;" . $ro->getPatientRecord_Birthdate();
echo "<br><font class='informationLabel'>Contact No#:</font>&nbsp;" . $ro->getPatientRecord_contactNo();
echo "<br><font class='informationLabel'>Senior:</font>&nbsp;" . $ro->getPatientRecord_senior();
echo "<br><font class='informationLabel'>Senior ID#:</font>&nbsp;" . $ro->selectNow("registrationDetails", "seniorID", "registrationNo", $registrationNo);
echo "<br><font class='informationLabel'>PhilHealth:</font>&nbsp;" . $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>&nbsp;" . $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 {
Beispiel #10
0
echo "<Td>&nbsp;</tD>";
echo "<Td>&nbsp;</tD>";
echo "<Td>&nbsp;</tD>";
echo "<Td>&nbsp;</tD>";
echo "<Td>&nbsp;</tD>";
echo "<Td>&nbsp;</tD>";
echo "<Td>&nbsp;</tD>";
echo "<Td>&nbsp;</tD>";
echo "<Td>&nbsp;</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>&nbsp;</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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HOSPITAL CHARGES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th>";
echo "<th>&nbsp;</th>";
echo "<th>&nbsp;</th>";
echo "<th>&nbsp;&nbsp;ACTUAL&nbsp;&nbsp;</th>";
echo "<th>&nbsp;&nbsp;MEDICARE&nbsp;&nbsp;</th>";
echo "<th>&nbsp;&nbsp;EXCESS&nbsp;&nbsp;</th>";
echo "</tr>";
echo "<tr>";
echo "<td>&nbsp;<b>A.&nbsp;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>&nbsp;</td>";
Beispiel #11
0
<?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>&nbsp;" . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<TD><b>Registration#:</b>&nbsp;{$registrationNo}</tD>";
echo "</tr>";
echo "<Tr>";
echo "<td><b>Patients Name:</b>&nbsp;" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " " . $ro->getPatientRecord_middleName() . "</td>";
echo "<td><b>Age:</b>&nbsp;" . $ro->getPatientRecord_Age() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>D.O.B:</b>&nbsp;" . $ro->getPatientRecord_birthDate() . "</td>";
echo "<tD><b>Sex:</b>&nbsp;" . $ro->getPatientRecord_Gender() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>Physician:</b>&nbsp;" . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</td>";
echo "<td><b>Room:</b>&nbsp;" . $ro->getRegistrationDetails_room() . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->printLabRequest($registrationNo, $dateCharge);