当前位置: 首页>>代码示例>>PHP>>正文


PHP database2::getPatientRecord_lastName方法代码示例

本文整理汇总了PHP中database2::getPatientRecord_lastName方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::getPatientRecord_lastName方法的具体用法?PHP database2::getPatientRecord_lastName怎么用?PHP database2::getPatientRecord_lastName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在database2的用法示例。


在下文中一共展示了database2::getPatientRecord_lastName方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<div id='printData' class='style1'>
<?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 {
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summary-jan_29_2015-tessieFormat.php

示例2:

</style>
<?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 {
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summary.php

示例3: date

$ro = new database2();
$ro->getPatientProfile($registrationNo);
/*
if(isset($_GET['submit']))
{

$result = $_GET['result'];

addLaboratoryResultInPatient($registrationNo,$itemNo,$chargesCode,$medtech,$date,$result);

}
*/
echo "<script type='text/javascript' src='/ckeditor/ckeditor.js'></script>";
echo "<table border=0 cellspacing=0 cellpadding=1 width='100%' >";
echo "<tr>";
echo "<td>&nbsp;<b>Name:</b>&nbsp;" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</td>";
echo "<td>&nbsp;<b>Age/Sex:</b>&nbsp;" . $ro->getPatientRecord_Age() . "/" . $ro->getPatientRecord_gender() . "</td>";
echo "<Td>&nbsp;<b>Date:</b>&nbsp;" . date("M d, Y") . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>&nbsp;<b>D.O.B:</b>&nbsp;" . $ro->getPatientRecord_birthDate() . "</td>";
echo "<Td>&nbsp;<b>WARD:</b>&nbsp;" . $ro->getRegistrationDetails_type() . "</td>";
echo "</tr>";
echo "</table>";
echo "</centeR>";
/*
if( $ro->selectNow("availableCharges","reagents","chargesCode",$chargesCode) != "" ) {
$reagentsz = preg_split ("/\-/", $ro->selectNow("availableCharges","reagents","chargesCode",$chargesCode) ); 
$ro->getReagentsWillBeUse($reagentsz[0]);
echo "<Br>";
$ro->getReagentsWillBeUse($reagentsz[1]);
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:resultFormTemplate.php

示例4:

<link rel="stylesheet" type="text/css" href="http://<?php 
echo $ro->getMyUrl();
?>
/COCONUT/myCSS/coconutCSS.css" />


<?php 
$ro->getPatientProfile($registrationNo);
echo "<form method='get' action='addPayment1.php'>";
$ro->coconutHidden("receiptType", "");
$ro->coconutHidden("collectionFor", "IPD");
echo "<input type=hidden name='registrationNo' value='{$registrationNo}'>";
echo "<input type=hidden name='username' value='{$username}'>";
echo "<br>";
echo "<font color=reD>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " </font>";
echo "<br><br><br><center><div style='border:1px solid #000000; width:600px; height:389px; border-color:black black black black;'>";
echo "<Br>";
echo "<Table border=0>";
echo "<tr>";
echo "<td><font class='labelz'>Payment For&nbsp;</font></tD>";
echo "<tD>";
echo "<select name='paymentFor' class='comboBox'>";
echo "<option value='HOSPITAL BILL'>HOSPITAL BILL</option>";
echo "<option value='DEPOSIT'>DEPOSIT</option>";
echo "<option value='BALANCE PAID'>BALANCE PAID</option>";
echo "<option value='REFUND'>REFUND</option>";
//$ro->showOption("Category","Category");
echo "</select>";
echo "</td>";
echo "</tr>";
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:addPayment.php

示例5:

<?php

include "../../myDatabase2.php";
$registrationNo = $_POST['registrationNo'];
$username = $_POST['username'];
$ro = new database2();
$ro->coconutDesign();
$ro->getPatientProfile($registrationNo);
echo "<br><br><br>";
$ro->coconutFormStart("post", "http://" . $ro->getMyUrl() . "/COCONUT/ER/finishER1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("username", $username);
$ro->coconutBoxStart_red("500", "100");
echo "<Br>";
echo "Remove " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " from the list?";
echo "<Br><Br>";
$ro->coconutButton("Yes");
$ro->coconutBoxStop();
$ro->coconutFormStop();
开发者ID:rickyx12,项目名称:protacio,代码行数:19,代码来源:finishER.php

示例6:

<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
echo "<div style='background:#47a3da; border-radius:10px; width:550px; height:50px;' >";
echo "<Br>";
echo "&nbsp;&nbsp;<font color='white'><b>Patient:</b></font> <font color='white'><i>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</i></font>";
echo "</div>";
echo "<Br><br>";
$ro->mobileHospitalCharges($registrationNo, "LABORATORY");
$ro->mobileHospitalCharges($registrationNo, "RADIOLOGY");
$ro->mobileHospitalCharges($registrationNo, "MEDICINE");
开发者ID:rickyx12,项目名称:protacio,代码行数:14,代码来源:viewHospitalCharges.php

示例7:

<?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);
开发者ID:rickyx12,项目名称:protacio,代码行数:28,代码来源:labFormPrint.php

示例8: date

$ro->getPatientProfile($registrationNo);
echo "<center>";
echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/planPreview_handler.php?registrationNo={$registrationNo}' style='color:black;'><font size=4><b>Protacio Hospital</b></font></a>";
echo "<Br>";
echo "<font size=3>Paranaque City</font>";
//echo "<br>";
//echo "<font size=1>Ledesma Street, Tacurong City, Sultan Kudarat</font>";
//echo "<br>";
//echo "<font size=1>TEL NO.(064) 200-3201  FAX NO.(064) 200-4472</font>";
echo "</center>";
echo "<br>";
echo "<centeR>";
echo "<table border=0>";
echo "<tr>";
echo "<td><font size=1>Name:</font>&nbsp;</td>";
echo "<td><font size=1><b>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</b></font></td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td><font size=1>Date:</font></td>";
echo "<td><font size=1><b>" . date("M, d Y") . "</b></font></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font size=2>Address:</font>&nbsp;</td>";
echo "<td><font size=2><b>" . $ro->getPatientRecord_address() . "</b></font></td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td><font size=2>Age/Sex:</font></td>";
echo "<td><font size=2><b> " . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "</b></font></td>";
echo "</tr>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:planPreview.php

示例9: substr

$timeOut_minutes1 = substr($timeOut[1], 0, 1);
$timeOut_minutes2 = substr($timeOut[1], 1, 1);
$pinNo = preg_split("/\\-/", $ro->getRegistrationDetails_PIN());
$pxPin1 = substr($pinNo[0], 0, 1);
$pxPin2 = substr($pinNo[0], 1, 1);
$pxPin3 = substr($pinNo[0], 2, 1);
$pxPin4 = substr($pinNo[0], 3, 1);
$pxPin5 = substr($pinNo[0], 4, 1);
$pxPin6 = substr($pinNo[0], 5, 1);
$pxPin7 = substr($pinNo[0], 6, 1);
$pxPin8 = substr($pinNo[0], 7, 1);
$pxPin9 = substr($pinNo[0], 8, 1);
$pxPin10 = substr($pinNo[0], 9, 1);
$pxPin11 = substr($pinNo[0], 10, 1);
$pxPin12 = substr($pinNo[0], 11, 1);
echo "\n\n<table width='860' border='0' align='center' cellpadding='0' cellspacing='0' bordercolor='#000000'>\n<tr>\n<td><div align='center' style='border:1px #000 solid;'><font size=3><b>PART II - PATIENT CONFINEMENT INFORMATION</b></font></font> </div></td>\n</tr>\n</table>\n\n\n<table width='860' border='0' align='center' cellpadding='0' cellspacing='0' bordercolor='#000000' >\n<td class='style1'><b>1.Name of Patient</b>&nbsp;<input type='text' value='                 " . $ro->getPatientRecord_lastName() . "            " . $ro->getPatientRecord_firstName() . ",           " . $ro->getPatientRecord_middleName() . "' class='pxName'><br><span style='margin:0 0 0 180px;'><font size=1>Last Name</font></span> <span style='margin:0 0 0 100px;'><font size=1>First Name</font></span> <span style='margin:0 0 0 100px;'><font size=1>Middle Name</font></span> <span style='margin:0 0 0 100px;'><font size=1>(example:Dela Cruz Jr  Juan,Sipag)</font></span> </tD>\n</tr>\n\n<tr>\n<td class='style1'><b>2.Was patient referred by another Health Care Institution (HCI)</b></td>\n</tr>\n<tr>\n<td>\n<input type='checkbox'><b>NO</b> \n<input type='checkbox'><b>YES</b> \n<input type='text' class='referringHCI' value=''>\n<input type='text' class='addressHCI' value=''>\n<br>\n<span style='margin:0 0 0 150px;'><font size=1>Name of Referring Health Care Institution</font></span>\n<span style='margin:0 0 0 50px;'><font size=1>Building Number and Street Name</font></span>\n<span style='margin:0 0 0 20px;'><font size=1>City/Municipality</font></span>\n<span style='margin:0 0 0 20px;'><font size=1>Province</font></span>\n<span style='margin:0 0 0 20px;'><font size=1>Zip Code</font></span>\n</td>\n</tr>\n\n<tr>\n<td class='style1'><b>3.Confinement Period</b> &nbsp;&nbsp;a.Date Admitted: <input type='text' class='panz' value='" . $monthIn_output1 . "' ><input type='text' class='panz1' value='" . $monthIn_output2 . "' >-<input type='text' class='panz' value='{$day1}' ><input type='text' class='panz1' value='{$day2}' >-<input type='text' class='panz' value='{$year1}' ><input type='text' class='panz1' value='{$year2}' ><input type='text' class='panz1' value='{$year3}' ><input type='text' class='panz1' value='{$year4}' > &nbsp;&nbsp;&nbsp;&nbsp;b.Time Admitted: <input type='text' class='panz' value='{$timeIn_hour2_12hrs}' ><input type='text' class='panz1' value='{$timeIn_hour1_12hrs}' >:<input type='text' class='panz' value='{$timeIn_minutes1}' ><input type='text' class='panz1' value='{$timeIn_minutes2}' > ";
if ($timeIn[0] < 12) {
    echo "<input type='radio' checked='true'>AM  <input type='radio'>PM";
} else {
    echo "<input type='radio'>AM  <input type='radio' checked='false'>PM";
}
echo "\n<br>\n<span style='margin:0 0 0 250px;'><font size=1>month</font></span>\n<span style='margin:0 0 0 20px;'><font size=1>day</font></span>\n<span style='margin:0 0 0 30px;'><font size=1>year</font></span>\n<span style='margin:0 0 0 170px;'><font size=1>hour</font></span>\n<span style='margin:0 0 0 25px;'><font size=1>min</font></span>\n</td>\n\n\n</tr>\n\n<tr>\n<td class='style1'><span style='margin:0 0 0 147px;'> a.Date Discharged: <input type='text' class='panz' value='{$monthOut_output1}' ><input type='text' class='panz1' value='{$monthOut_output2}' >-<input type='text' class='panz' value='{$dayOut_output1}' ><input type='text' class='panz1' value='{$dayOut_output2}' >-<input type='text' class='panz' value='{$yearOut_output1}' ><input type='text' class='panz1' value='{$yearOut_output2}' ><input type='text' class='panz1' value='{$yearOut_output3}' ><input type='text' class='panz1' value='{$yearOut_output4}' > &nbsp;&nbsp;&nbsp;&nbsp;b.Time Discharged: <input type='text' class='panz' value='{$timeOut_hour2_12hrs}'><input type='text' class='panz1' value='{$timeOut_hour1_12hrs}' >:<input type='text' class='panz' value='{$timeOut_minutes1}' ><input type='text' class='panz1' value='{$timeOut_minutes2}' >";
if ($timeOut[0] < 12) {
    echo "<input type='radio' checked='true'>AM  <input type='radio'>PM";
} else {
    echo "<input type='radio'>AM  <input type='radio' checked='false'>PM";
}
echo "\n<br>\n\n<span style='margin:0 0 0 265px;'><font size=1>month</font></span>\n<span style='margin:0 0 0 20px;'><font size=1>day</font></span>\n<span style='margin:0 0 0 30px;'><font size=1>year</font></span>\n<span style='margin:0 0 0 180px;'><font size=1>hour</font></span>\n<span style='margin:0 0 0 25px;'><font size=1>min</font></span>\n</td>\n\n\n</td>\n</tr>\n";
$improved = "";
if ($ro->selectNow("registrationDetails", "patientDisposition", "registrationNo", $registrationNo) == "improved") {
    $improved = "checked";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:cf2.php

示例10:

}
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'></font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'></font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'></font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Description</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Price</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>QTY</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Disc</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Total</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Time</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Date</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>User</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Status</font>&nbsp;</th>";
echo "<th bgcolor='#3b5998'>&nbsp;<font color=white class='head'>Payment</font>&nbsp;</th>";
echo "</tr>";
$ro->getPatientChargesByTitle($registrationNo, $module, $month, $day, $year, $fromTime_hour, $fromTime_minutes, $fromTime_seconds, $toTime_hour, $toTime_minutes, $toTime_seconds, $username, $module, $nod);
echo "</table>";
if ($module == "LABORATORY") {
    //echo "<br><br><a href='http://".$ro->getMyUrl()."/COCONUT/Laboratory/labRequest.php?registrationNo=$registrationNo&dateCharge=$dateCharge' target='_blank'><font color=red size=2><< Print Lab Request >></font></a>";
    echo "<br><br><a href='http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/labFormPrint.php?registrationNo={$registrationNo}&dateCharge={$dateCharge}' target='_blank'><font color=red size=2><< Print Lab Request >></font></a>";
} else {
}
if ($module == "PHARMACY") {
    echo "<Br><br><br>RETURNS<br>";
    $ro->showReturnz($registrationNo, $username, $module, $month, $day, $year, $fromTime_hour, $fromTime_minutes, $fromTime_seconds, $toTime_hour, $toTime_minutes, $toTime_seconds, $nod);
} else {
}
echo "<br><br>";
$ro->getPatientProfile($registrationNo);
echo "<form method='post' action='/COCONUT/currentPatient/patientInterface1.php' target='_blank'><input id='namez' style='border:1px solid #000; color:red;' type='submit' value='(" . $registrationNo . ") " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "'>\n<input type='hidden' name='registrationNo' value='{$registrationNo}'><input type='hidden' name='username' value='" . $username . "'></form>";
开发者ID:rickyx12,项目名称:protacio,代码行数:30,代码来源:patientDepartmentProfile.php

示例11:

<?php

include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
echo "Subsidiary Ledger<br>";
echo "<b>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</b>";
echo "<br>";
echo "<form method='post' action='/COCONUT/currentPatient/patientInterface1.php' target='_blank'><input id='namez' style='border:1px solid #000; color:red;' type='submit' value='View Profile'>\n<input type='hidden' name='registrationNo' value='{$registrationNo}'><input type='hidden' name='username' value='{$username}'></form>";
$ro->accounting_patientSubLedger($registrationNo);
开发者ID:rickyx12,项目名称:protacio,代码行数:12,代码来源:patientSubLedger.php

示例12: alert

<?php

include "../../../myDatabase2.php";
$itemNo = $_GET['itemNo'];
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$qty = $_GET['qty'];
$orNo = $_GET['orNo'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
if ($ro->doubleSelectNow("patientCharges", "quantity", "itemNo", $itemNo, "registrationNo", $registrationNo) < $qty) {
    echo "<script> alert('Pls Return a quantity that will not more than " . $ro->doubleSelectNow("patientCharges", "quantity", "itemNo", $itemNo, "registrationNo", $registrationNo) . "'); window.back();</script>";
} else {
    if ($ro->selectNow("patientCharges", "quantity", "itemNo", $itemNo) == $qty) {
        $ro->editNow("patientCharges", "itemNo", $itemNo, "status", "DELETED_" . $username . "[" . date("Y-m-d") . "@" . date("H:i:s") . "]-(return)");
    } else {
        $deductedQTY = $ro->selectNow("patientCharges", "quantity", "itemNo", $itemNo) - $qty;
        $discountedPriceEachItem = $ro->selectNow("patientCharges", "cashPaid", "itemNo", $itemNo) / $ro->selectNow("patientCharges", "quantity", "itemNo", $itemNo);
        $discountEachItem = $ro->selectNow("patientCharges", "discount", "itemNo", $itemNo) / $ro->selectNow("patientCharges", "quantity", "itemNo", $itemNo);
        $ro->editNow("patientCharges", "itemNo", $itemNo, "total", $discountedPriceEachItem * $deductedQTY);
        $ro->editNow("patientCharges", "itemNo", $itemNo, "discount", $discountEachItem * $deductedQTY);
        $ro->editNow("patientCharges", "itemNo", $itemNo, "cashPaid", $discountedPriceEachItem * $deductedQTY);
        $ro->editNow("patientCharges", "itemNo", $itemNo, "quantity", $deductedQTY);
    }
    $ro->returnInventory_pharmacy($itemNo, $registrationNo, $ro->selectNow("patientCharges", "description", "itemNo", $itemNo), $qty, date("Y-m-d") . "@" . date("H:i:s"), $username);
    $ro->addVoidPayment($registrationNo . "_" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName(), $itemNo . "_" . $ro->selectNow("patientCharges", "description", "itemNo", $itemNo), $ro->selectNow("patientCharges", "cashPaid", "itemNo", $itemNo), date("H:i:s"), date("Y-m-d"), $username, $orNo);
    $newQTY = $ro->selectNow("inventory", "quantity", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo)) + $qty;
    $ro->editNow("inventory", "inventoryCode", $ro->selectNow("patientCharges", "chargesCode", "itemNo", $itemNo), "quantity", $newQTY);
}
$ro->gotoPage("http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_handler.php?registrationNo={$registrationNo}&username={$username}");
开发者ID:rickyx12,项目名称:mendero,代码行数:30,代码来源:returnItem1.php

示例13:

$reconcileNo = $_GET['reconcileNo'];
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
$ro->coconutDesign();
echo "<Br><Br><Br>";
$ro->coconutFormStart("get", "reconcileDetails_editNow.php");
$ro->coconutHidden("reconcileNo", $reconcileNo);
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutBoxStart("500", "200");
echo "<Br>";
echo "<table border=0>";
echo "<Tr>";
echo "<Td>Patient&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox_readonly("patient", $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName());
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<Td>Ref No#:&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("refno", $ro->doubleSelectNow("phicReconcile", "refno", "registrationNo", $registrationNo, "reconcileNo", $reconcileNo));
echo "</td>";
echo "</tr>";
echo "<Tr>";
echo "<Td>Amount&nbsp;</tD>";
echo "<td>";
$ro->coconutTextBox("amount", $ro->doubleSelectNow("phicReconcile", "amount", "registrationNo", $registrationNo, "reconcileNo", $reconcileNo));
echo "</td>";
echo "</tr>";
$datePd = preg_split("/\\_/", $ro->doubleSelectNow("phicReconcile", "date", "registrationNo", $registrationNo, "reconcileNo", $reconcileNo));
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:reconcileDetails_edit.php

示例14:

<?php

include "../../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
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\n</style>";
$ro->getPatientProfile($registrationNo);
echo "<center><font size=4>" . $ro->getReportInformation("hmoSOA_name") . "</font></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><Br><Br><br>";
echo "<table border=0 cellspacing=0>";
echo "<tr>";
echo "<td><b>PATIENT:</b></td>";
echo "<tD>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</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>&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>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:hmoSOA_04112014.php

示例15:

<?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);
开发者ID:rickyx12,项目名称:protacio,代码行数:20,代码来源:labRequest.php


注:本文中的database2::getPatientRecord_lastName方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。