<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> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>"; echo "<td><b>Date:</b> " . $ro->selectNow("radioSavedReport", "date", "itemNo", $itemNo) . "</td>"; echo "</tr>"; echo "<tr>"; echo "<td><b>Age/Sex</b> " . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "</td>"; echo "<td>Physician: <b>" . $ro->selectNow("radioSavedReport", "physician", "itemNo", $itemNo) . "</b></td>"; echo "</tr>"; echo "<tr>"; echo "<td><b>Room:</b> " . $ro->getRegistrationDetails_room() . "</td>"; echo "<td>Examination: <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>"; $ro->coconutButton("edit"); $ro->coconutFormStop(); ?>
$ro->coconutFormStart("get", "medicalCertificate1.php"); echo "<table border=0>"; echo "<tr>"; echo "<td width='45%'> <B><font size=3>TO WHOM IT MAY CONCERN:</font></b></td>"; echo "<td width='40%'> </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>"; echo "<input type=text name='d2' class='underLine3'>"; echo "<br>"; echo "<input type=text name='d3' class='underLine3'>"; echo "<br><Br>"; echo "<table border=0>";
include "../../myDatabase1.php"; $registrationNo = $_GET['registrationNo']; $ro = new database1(); $ro->getPatientProfile($registrationNo); $ro->setPatientRecord($ro->getRegistrationDetails_patientNo()); echo "\r\n<style type='text/css'>\r\n.informationLabel {\r\nfont-size:15px;\r\nfont-weight:bold;\r\n}\r\n\r\n.initialDiagnosis {\r\n\tborder: 1px solid #CCC;\r\n\tcolor: #000;\r\n\theight:80px;\r\n\twidth: 350px;\r\n\tpadding:4px 4px 4px 2px;\r\n}\r\n\r\n\r\n</style>"; $room = preg_split("/\\_/", $ro->getRegistrationDetails_room()); echo "<br>"; if ($ro->getRegistrationDetails_dateUnregistered() == "") { echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/discharged/discharged.php?registrationNo={$registrationNo}&protoType=Discharged&room=" . $ro->getRegistrationDetails_room() . "'><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='><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/locked1.jpeg'></a> <font size=2 color=red><b>" . $ro->getRegistrationDetails_type() . "</b></font><br>"; } echo "<font class='informationLabel'>Patient No:</font> " . $ro->getRegistrationDetails_patientNo(); echo "<br><font class='informationLabel'>Registration No:</font> " . $ro->getRegistrationDetails_registrationNo(); 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'>PhilHealth:</font> " . $ro->getPatientRecord_phic(); echo "<br><font class='informationLabel'>PhilHealth Type:</font> " . $ro->getPHICtype_patientRecord(); echo "<br><font class='informationLabel'>Company:</font> " . $ro->getRegistrationDetails_company(); echo "<br><font class='informationLabel'>Time Registered:</font> " . $ro->getRegistrationDetails_timeRegistered(); echo "<br><font class='informationLabel'>Date Registered:</font> " . $ro->getRegistrationDetails_dateRegistered(); echo "<br><font class='informationLabel'>Branch Registered:</font> " . $ro->getRegistrationDetails_branch(); echo "<br><font class='informationLabel'>Case Type:</font> <a href='#' style='text-decoration:none; color:black;'>" . $ro->getRegistrationDetails_caseType() . "</a>"; echo "<br><font class='informationLabel'>Package:</font> <a href='#' style='text-decoration:none; color:black;'>" . $ro->getRegistrationDetails_package() . "</a>"; echo "<br><font class='informationLabel'>Room:</font> " . $room[0]; echo "<br><font class='informationLabel'>Address:</font> " . $ro->getPatientRecord_address();
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>"; echo "<tr>"; echo "<td>Date Discharged: <input type='text' value='" . $ro->getRegistrationDetails_dateUnregistered() . "' class='dateDischarged'> </td>"; echo "</tr>"; $ro->clinicalCoverSheet_atteding($registrationNo); echo "<tr>";
//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>"; echo "</table>"; echo "</center>";
} </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> " . $ro->getRegistrationDetails_patientNo() . "</td>"; echo "<td><b>AGE:</b> " . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "</td>"; echo "</tr>"; echo "<tr>"; echo "<td><b>PERFORMED: </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>"; echo "<br><br><br><br>"; echo "<u>" . $ro->selectNow("radioSavedReport", "physician", "itemNo", $itemNo) . "</u><br> " . $ro->selectNow("Doctors", "Specialization1", "Name", $ro->selectNow("radioSavedReport", "physician", "itemNo", $itemNo)) . ""; //$ro->coconutButton("Proceed"); $ro->coconutFormStop(); ?>