本文整理汇总了PHP中database1::getPatientRecord_lastName方法的典型用法代码示例。如果您正苦于以下问题:PHP database1::getPatientRecord_lastName方法的具体用法?PHP database1::getPatientRecord_lastName怎么用?PHP database1::getPatientRecord_lastName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database1
的用法示例。
在下文中一共展示了database1::getPatientRecord_lastName方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fopen
<?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 "";
}
示例2: date
<?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#: " . $registrationNo . " Batch#: " . $dispensedNo;
echo "<br>";
echo "Name: " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName();
echo "<br>";
echo "Date Print: " . date("M d, Y");
echo "<br>";
echo "PhilHealth: " . $ro->getPatientRecord_phic();
echo "<br><br>";
$ro->getBatchMeds($registrationNo, $dispensedNo);
示例3:
$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> " . $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>";
示例4:
echo "<td width='10%'><input type='text' class='underLine' value='" . $registrationNo . "'><br> <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%'> <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>";
示例5:
$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");
示例6:
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>";
示例7:
<?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: <input type='text' class='patientName' value='" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "'></td>";
echo "<td width='30%'>Age: <input type='text' class='patientAge' value='" . $ro->getPatientRecord_Age() . "'></td>";
echo "</tr>";
echo "</table>";
echo "<table border=0 width='70%'>";
echo "<td>Address: <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: <input type='text' autocomplete='off' name='dateOfIncidence' class='medicoLegalInformation' value=''></td>";
echo "</tr>";
echo "<tr>";
echo "<td>TIME OF INCIDENCCE: <input type='text' autocomplete='off' name='timeOfIncidence' class='medicoLegalInformation' value=''></td>";
echo "</tr>";
echo "<tr>";
示例8:
//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>";
示例9: date
$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: " . date("M d, Y") . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
echo " I , _________________________________________________ hereby voluntarily and willingly authorized <br> Dr. <b><u>__" . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "__</u></b> to treat and to admit __<b><u>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</u></b>__ <br> 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>";
示例10:
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> " . $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>";