<?php

include "../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database1();
$ro->getBatchNo();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/batchNo.dat";
$fh = fopen($myFile, 'r');
$batchNo = fread($fh, 100);
fclose($fh);
echo "\r\n\r\n<style type='text/css'>\r\na \r\n{ \r\ntext-decoration:none;\r\ncolor:black;\r\nfont-weight:bold;\r\n }\r\nul { list-style-type:none; }\r\ndisplay: block;\r\n</style>\r\n\r\n";
$ro->getPatientProfile($registrationNo);
if ($ro->selectNow("registeredUser", "module", "username", $ro->getRegistrationDetails_registeredBy()) == "MI") {
    echo "<br><hr><font size=2 color=blue>" . $ro->getPatientRecord_lastName() . " " . $ro->getPatientRecord_firstName() . " " . $ro->getPatientRecord_middleName() . ".</font><hr>";
} else {
    echo "<br><hr><font size=2 color=red>" . $ro->getPatientRecord_lastName() . " " . $ro->getPatientRecord_firstName() . " " . $ro->getPatientRecord_middleName() . "</font><hr>";
}
echo "<ul>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_right.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "' target='rightFrame'><font size=2>Information</font></a></li>";
if ($ro->getRegistrationDetails_caseType() != "") {
    echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/phicLimit/show_phicLimit.php?registrationNo={$registrationNo}&casetype=" . $ro->getRegistrationDetails_caseType() . "' target='rightFrame'><font size=2>Credit Limit</font></a></li>";
} else {
    echo "";
}
/*
if($ro->getRegistrationDetails_room() != "OPD_OPD") {
echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/patientProfile/creditLimit/viewCreditLimit.php?registrationNo=$registrationNo&username=$username' target='rightFrame'><font size=2>Credit Limit</font></a></li>";
}else {
echo "";
}
Esempio n. 2
0
<?php

include "../../../myDatabase1.php";
$registrationNo = $_GET['registrationNo'];
$dispensedNo = $_GET['dispensedNo'];
$ro = new database1();
$ro->getPatientProfile($registrationNo);
echo "<center><b><font size=4>" . $ro->getReportInformation("hmoSOA_name") . "</font></b></center>";
echo "<center><b><font size=2>" . $ro->getReportInformation("hmoSOA_address") . "</font></b></center>";
echo "<center><font size=2>Tel No. (062) 2143237</font></center>";
echo "<br>";
echo "Reg#:&nbsp;" . $registrationNo . "&nbsp;&nbsp;&nbsp;&nbsp;Batch#:&nbsp;" . $dispensedNo;
echo "<br>";
echo "Name:&nbsp;" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName();
echo "<br>";
echo "Date Print:&nbsp;" . date("M d, Y");
echo "<br>";
echo "PhilHealth:&nbsp;" . $ro->getPatientRecord_phic();
echo "<br><br>";
$ro->getBatchMeds($registrationNo, $dispensedNo);
Esempio n. 3
0
$description = $_POST['description'];
$ro = new database1();
?>


<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>

<?php 
echo "\n<style type='text/css'>\n\n.txtArea {\n\tborder: 1px solid #000;\n\tcolor: #000;\n\theight: auto;\n\twidth:900px;\n\tpadding:4px 4px 4px 5px;\n\tfont-size:20px;\n}\n\n</style>\n";
$ro->getPatientProfile($registrationNo);
$ro->coconutFormStart("get", "radioReport_update.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
echo "<table border=0 width='160%'>";
echo "<tr>";
echo "<td><b>Name:</b>&nbsp;" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>";
echo "<td><b>Date:</b>&nbsp;" . $ro->selectNow("radioSavedReport", "date", "itemNo", $itemNo) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>Age/Sex</b>&nbsp;" . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "</td>";
echo "<td>Physician:&nbsp;<b>" . $ro->selectNow("radioSavedReport", "physician", "itemNo", $itemNo) . "</b></td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>Room:</b>&nbsp;" . $ro->getRegistrationDetails_room() . "</td>";
echo "<td>Examination:&nbsp;<b>{$description}</b></td>";
echo "</tr>";
echo "</table>";
echo "<textarea id='report' name='radioReport' class='txtArea'>";
echo $ro->doubleSelectNow("radioSavedReport", "radioReport", "registrationNo", $registrationNo, "itemNo", $itemNo);
echo "</textarea>";
echo "<br><br>";
Esempio n. 4
0
echo "<td width='10%'><input type='text' class='underLine'  value='" . $registrationNo . "'><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font size=2>(Registration Number)</font></td>";
echo "</tr>";
echo "</table>";
echo "<br><Br>";
echo "<center>";
$ro->coconutFormStart("get", "medicalCertificate1.php");
echo "<table border=0>";
echo "<tr>";
echo "<td width='45%'>&nbsp;<B><font size=3>TO WHOM IT MAY CONCERN:</font></b></td>";
echo "<td width='40%'>&nbsp;</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<td>THIS IS TO CERTIFY THAT <input type=text class='underLine' value='" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "'></td>";
echo "</tr>";
echo "</table>";
echo "<table border=0>";
echo "<tr>";
echo "<td><font size=2>AGE</font> <input type=text class='underLine' value='" . $ro->getPatientRecord_age() . "    Years Old'> <font size=2>WAS EXAMINED AND TREATED/CONFINED IN </font></td>";
echo "</tr>";
echo "</table>";
echo "<table border=0>";
echo "<tr>";
echo "<td><font size=2>THIS HOSPITAL FROM <input type=text class='underLine2' value='" . $ro->getRegistrationDetails_dateRegistered() . "'></font>\n<font size=2>TO</font>\n<input type=text class='underLine2' value='" . $ro->getRegistrationDetails_dateUnregistered() . "' >\n</td>";
echo "</tr>";
echo "<tr>";
echo "<td><font size=2>WITH THE FOLLOWING FINDINGS AND OR DIAGNOSIS:</font><input type='text' name='d1' class='underline2'></td>";
echo "</tr>";
echo "</table>";
Esempio n. 5
0
$itemNo = $_GET['itemNo'];
$description = $_GET['description'];
$branch = $_GET['branch'];
$ro = new database1();
$ro->coconutDesign();
echo "<br><br><br>";
$ro->getPatientProfile($registrationNo);
if ($ro->selectNow("radioSavedReport", "itemNo", "itemNo", $itemNo) != "") {
    echo "{$description} <font color=red> is For Approval of " . $ro->selectNow("radioSavedReport", "physician", "itemNo", $itemNo) . "</font>";
} else {
    //$ro->coconutFormStart("get","radioReport.php");
    echo "<form method='get' action='radioReport.php' target='_blank'>";
    $ro->coconutHidden("registrationNo", $registrationNo);
    $ro->coconutHidden("itemNo", $itemNo);
    $ro->coconutHidden("description", $description);
    echo "<center><font color=red>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</font>";
    $ro->coconutBoxStart("500", "145");
    echo "<br>";
    echo "<table border=0>";
    echo "<tr>";
    echo "<td>Report</td>";
    echo "<td>";
    $ro->coconutComboBoxStart_long("report");
    $ro->showOption_radio();
    $ro->coconutComboBoxStop();
    echo "</td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td>Doctor</td>";
    echo "<td>";
    $ro->coconutComboBoxStart_long("doctor");
Esempio n. 6
0
echo "<br>";
echo "<font size=2><b>Ledesma St,Tacurong City,Sultan Kudarat,Philipines,9800</b></font>";
echo "<br>";
echo "<font size=2>TEL NO.(064) 200-3201 FAX NO.(064) 200-4472</font>";
echo "<br><br><br><Br>";
echo "<font size=4>Clinical Cover Sheet</font>";
echo "<br><br><br><br>";
echo "<table border=0 width=55% cellspacing=0>";
echo "<tr>";
echo "<td>Reg No: <input type='text' value='{$registrationNo}' class='registrationNo'> </td>";
echo "<td align='right'>Case No: <input type='text' value='' class='registrationNo'> </td>";
echo "</tr>";
echo "</table>";
echo "<table border=0 width=55% >";
echo "<tr>";
echo "<td>Name: <input type='text' value='" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "' class='patientName'> </td>";
echo "</tr>";
echo "</table>";
echo "<table border=0 width=55% cellspacing=0>";
echo "<tr>";
echo "<td>Age: <input type='text' value='" . $ro->getPatientRecord_age() . "' class='registrationNo'> </td>";
echo "<td>Sex: <input type='text' value='" . $ro->getPatientRecord_gender() . "' class='registrationNo'> </td>";
echo "</tr>";
echo "</table>";
echo "<table border=0 width=55% >";
echo "<tr>";
echo "<td>Address: <input type='text' value='" . $ro->getPatientRecord_address() . "' class='address'> </td>";
echo "</tr>";
echo "<tr>";
echo "<td>Date Admitted: <input type='text' value='" . $ro->getRegistrationDetails_dateRegistered() . "' class='dateAdmitted'> </td>";
echo "</tr>";
Esempio n. 7
0
<?php 
echo "<style type='text/css'>";
echo "\r\n.patientName{\r\n\tborder: 1px solid #000;\r\n\tcolor: #000;\r\n\theight: 28px;\r\n\twidth: 340px;\r\n\tborder-color:white white black white;\r\n\tfont-size:17px;\r\n\r\n}\r\n\r\n.patientAge{\r\n\tborder: 1px solid #000;\r\n\tcolor: #000;\r\n\theight: 28px;\r\n\twidth: 120px;\r\n\tborder-color:white white black white;\r\n\tfont-size:17px;\r\n\r\n}\r\n\r\n.patientAddress{\r\n\tborder: 1px solid #000;\r\n\tcolor: #000;\r\n\theight: 28px;\r\n\twidth: 80%;\r\n\tborder-color:white white black white;\r\n\tfont-size:17px;\r\n\r\n}\r\n\r\n.medicoLegalInformation{\r\n\tborder: 1px solid #000;\r\n\tcolor: #000;\r\n\theight: 28px;\r\n\twidth: 50%;\r\n\tborder-color:white white black white;\r\n\tfont-size:17px;\r\n\r\n}\r\n\r\n.medicoLegalInformation1{\r\n\tborder: 1px solid #000;\r\n\tcolor: #000;\r\n\theight: 28px;\r\n\twidth: 60%;\r\n\tborder-color:white white black white;\r\n\tfont-size:17px;\r\n\r\n}\r\n\r\n.txtBox {\r\n\tborder: 1px solid #000;\r\n\tcolor: #000;\r\n\theight: 130px;\r\n\twidth: 80%;\r\n\tpadding:4px 4px 4px 5px;\r\n}\r\n\r\n";
echo "</style>";
echo "<form method='post' action='medicoLegal_insert.php'>";
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<center>";
echo "<font size=3>Cabrera St,Pagadian City</font>";
echo "<br><font size=2>Philipines</font>";
echo "<br><font size=2>Tel No.(062) 2143737</font>";
echo "<hr>";
echo "<br><b><font size=5>MEDICO LEGAL</font></b>";
echo "<br><br><br>";
echo "<table border=0 width='70%'>";
echo "<Tr>";
echo "<td width='70%'>Name:&nbsp;<input type='text' class='patientName' value='" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "'></td>";
echo "<td width='30%'>Age:&nbsp;<input type='text' class='patientAge' value='" . $ro->getPatientRecord_Age() . "'></td>";
echo "</tr>";
echo "</table>";
echo "<table border=0 width='70%'>";
echo "<td>Address:&nbsp;<input type='text' class='patientAddress' value='" . $ro->getPatientRecord_address() . "'></td>";
echo "</table>";
echo "<Br><br>";
echo "<table border=0 width='70%'>";
echo "<tr>";
echo "<td>DATE OF INCIDENCCE:&nbsp;<input type='text' autocomplete='off' name='dateOfIncidence' class='medicoLegalInformation' value=''></td>";
echo "</tr>";
echo "<tr>";
echo "<td>TIME OF INCIDENCCE:&nbsp;<input type='text' autocomplete='off' name='timeOfIncidence' class='medicoLegalInformation' value=''></td>";
echo "</tr>";
echo "<tr>";
Esempio n. 8
0
//echo "<center><font size=4><b>MENDERO MEDICAL CENTER</b></font></center>";
//echo "<center><b><font size=3><b>LABORATORY DEPARTMENT</b></font></b></center>";
//echo "<center><font size=3>Consolacion, Cebu City</font></center>";
//echo "<center><font size=3>Tel No. 062-2143237</font></center>";
echo "<br><br><br><Br><br><Br><Br><Br>";
echo "<center>";
echo "<table border=0 cellspacing=0 cellpadding=1 width='100%' >";
echo "<tr>";
echo "<td><B>Patient ID:</b></td>";
echo "<td><input type='text' class='linez' value='" . $ro->getRegistrationDetails_patientNo() . "'></td>";
echo "<td><B>Date:</b></td>";
echo "<td><input type='text' class='linez' value='" . $ro->selectNow("labSavedResult", "date", "itemNo", $itemNo) . "@" . $ro->selectNow("labSavedResult", "time", "itemNo", $itemNo) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>Name:</b></td>";
echo "<td><input type='text' class='linez' value='" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " " . $ro->getPatientRecord_middleName() . "'></td>";
echo "<td><b>Age/Sex:</b></td>";
echo "<td><input type='text' class='linez' value='" . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<Td><b>Date of Birth:</td>";
echo "<td></b><input type='text' class='linez' value='" . $ro->getPatientRecord_birthDate() . "'></tD>";
echo "<td><b>Status:</td>";
echo "<td></b><input type='text' class='linez' value='" . $ro->getPatientRecord_civilStatus() . "'></tD>";
echo "</tr>";
echo "<tr>";
echo "<Td><b>Physician:</b></td>";
echo "<td><input type='text' class='linez' value='" . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "'></tD>";
echo "<Td><b>Room:</b></td>";
echo "<td> <input type='text' class='linez' value='" . $ro->getRegistrationDetails_room() . "'></tD>";
echo "</tr>";
Esempio n. 9
0
$ro = new database1();
$ro->getPatientProfile($registrationNo);
echo "<center><b><font size=5>" . $ro->getReportInformation("hmoSOA_name") . "</font></b></center>";
echo "<center><font size=3>" . $ro->getReportInformation("hmoSOA_address") . "</font></center>";
echo "<center><font size=2>Tel No. (062) 2143237</font></center>";
echo "<br>";
echo "<center>CONSENT FOR ADMISSION</center>";
echo "<br><br><br>";
echo "<Table border=0 width='100%'>";
echo "<tr>";
echo "<td width='70%'></td>";
echo "<td width='85%'>Date:&nbsp;" . date("M d, Y") . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;&nbsp;, _________________________________________________ hereby voluntarily and willingly authorized <br> &nbsp; Dr. <b><u>__" . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "__</u></b>&nbsp; to treat and to admit __<b><u>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</u></b>__ <br>&nbsp; at PAGADIAN CITY MEDICAL CENTER.";
echo "<br><br>";
echo "<Table border=0 width='100%'>";
echo "<tr>";
echo "<td width='70%'></td>";
echo "<td width='85%'>_________________________________________<br><font size=2>Signature Over Printed Name</font></td>";
echo "</tr>";
echo "<tr>";
echo "<td width='70%'></td>";
echo "<td width='85%'></td>";
echo "</tr>";
echo "<tr>";
echo "<td width='70%'></td>";
echo "<td width='85%'></td>";
echo "</tr>";
echo "<tr>";
Esempio n. 10
0
	a.document.write(document.getElementById(printData).innerHTML.replace(/<a\/?[^>]+>/gi, ''));
	a.document.close();
	a.focus();
	a.print();
	a.close();
}
</script>
<a href="#" onClick="printF('printData')" style="text-decoration:none; color:black;"><font color=red>PRINT</font></a>
<div id='printData'>

<?php 
echo "<center><a href='http://" . $ro->getMyUrl() . "/COCONUT/Reports/radiologyReport/radioReport_output_doctor.php?registrationNo={$registrationNo}&itemNo={$itemNo}&description={$description}'><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='40%;' height='20%'></a></center>";
echo "<br>";
echo "<table border=0 width='100%;'>";
echo "<Tr>";
echo "<td><b>NAME:</b> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>";
echo "<tD align='left'><b>DATE:</b> " . $ro->selectNow("radioSavedReport", "date", "itemNo", $itemNo) . "</tD>";
echo "</tr>";
echo "<tr>";
echo "<td><b>PATIENT NO:</b>&nbsp;" . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<td><b>AGE:</b> " . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>PERFORMED:&nbsp;</b> " . $ro->selectNow("radioSavedReport", "performed", "itemNo", $itemNo) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><B>PROCEDURE:</b> " . $ro->selectNow("patientCharges", "description", "itemNo", $itemNo) . "</td>";
echo "</tr>";
echo "</table>";
echo "</center>";
echo "<font size=4>" . $ro->selectNow("radioSavedReport", "radioReport", "itemNo", $itemNo) . "</font>";