本文整理汇总了PHP中database2::getPatientRecord_phic方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::getPatientRecord_phic方法的具体用法?PHP database2::getPatientRecord_phic怎么用?PHP database2::getPatientRecord_phic使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database2
的用法示例。
在下文中一共展示了database2::getPatientRecord_phic方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
echo "<td>" . $ro->getRegistrationDetails_company() . " - {$hmoLimit} </td>";
echo "<td> </td>";
echo "<td></td>";
echo "<td></td>";
echo "</tr>";
} else {
echo "<tr>";
echo "<td></td>";
echo "<td></td>";
echo "</tr>";
}
if ($ro->selectNow("registrationDetails", "package", "registrationNo", $registrationNo) != "") {
$package = $ro->selectNow("registrationDetails", "package", "registrationNo", $registrationNo);
$splitPackage = preg_split("/\\_/", $package);
echo "<tr>";
if ($ro->getPatientRecord_phic() == "NO") {
echo "<Td>Package:</td><td> " . $splitPackage[1] . " - " . $splitPackage[2] . "</td>";
} else {
echo "<Td>Package:</td><td> " . $splitPackage[1] . " - " . $splitPackage[2] . "</td>";
}
echo "</tr>";
} else {
}
//echo "<tr>";
//echo "<Td>".$ro->coconutText("Company").": </td><td> ".$ro->getRegistrationDetails_company()."</td>";
//echo "<td> </tD>";
//echo "<Td>".$ro->coconutText("Fx Diagnosis:").": </td><td> ".$ro->getRegistrationDetails_finalDiagnosis()."</td>";
//echo "</tr>";
//echo "<tr>";
//echo "<Td>".$ro->coconutText("Room").": </td>";
//echo $ro->getPatientRoom($registrationNo);
示例2:
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/chargesCartPassword.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&room=" . $ro->getRegistrationDetails_room() . "&batchNo={$batchNo}' target='rightFrame'><font size=2>Charges Cart</font></a></li>";
} else {
//kpg ndi pharmacy or cashier ndi pde mag charge
echo $ro->coconutImages_return("locked1.jpeg") . "<font size=2 color=blue>[LOCKED ACCOUNT]</font><br><font size=2 color=red>" . $ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo) . " Limit of " . $ro->getRegistrationDetails_company() . " for this Patient is Already Consumed</font>";
}
}
} else {
//mas mababa pa ung total balance ng patient kaysa sa limit ng hmo
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/chargesCartPassword.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&room=" . $ro->getRegistrationDetails_room() . "&batchNo={$batchNo}' target='rightFrame'><font size=2>Charges Cart</font></a></li>";
}
} else {
//code sa walang limit n hmo
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/chargesCartPassword.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&room=" . $ro->getRegistrationDetails_room() . "&batchNo={$batchNo}' target='rightFrame'><font size=2>Charges Cart</font></a></li>";
}
} else {
if ($ro->getPatientRecord_phic() == "YES") {
if ($totalBalanceNow <= 7000) {
//kpg PHIC set LIMIT to 7000
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/chargesCartPassword.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&room=" . $ro->getRegistrationDetails_room() . "&batchNo={$batchNo}' target='rightFrame'><font size=2>Charges Cart</font></a></li>";
} else {
if ($ro->checkPermission($registrationNo) != "") {
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/chargesCartPassword.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&room=" . $ro->getRegistrationDetails_room() . "&batchNo={$batchNo}' target='rightFrame'><font size=2>Charges Cart</font></a></li>";
} else {
if ($ro->selectNow("registeredUser", "module", "username", $username) == "CASHIER" || $ro->selectNow("registeredUser", "module", "username", $username) == "PHARMACY") {
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/chargesCartPassword.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&room=" . $ro->getRegistrationDetails_room() . "&batchNo={$batchNo}' target='rightFrame'>" . $ro->coconutImages_return("locked1.jpeg") . "<font size=2 color=red>Charges Cart</font></a></li>";
} else {
echo $ro->coconutImages_return("locked1.jpeg") . "<font size=2 color=blue>[LOCKED ACCOUNT]</font><br><font size=2 color=red>7,000 Limit for this Patient is Already Consumed</font>";
}
}
}
} else {
示例3:
echo " <font class='informationLabel'>Registration#:</font> <font color=red>" . $registrationNo . "</font>";
if ($ro->getRegistrationDetails_type() == "OPD") {
echo "";
} else {
echo "<br> <font class='informationLabel'>Admission#:</font> <font color='blue'>" . $ro->selectNow("registrationDetails", "manual_registrationNo", "registrationNo", $ro->getRegistrationDetails_registrationNo()) . "</font>";
}
//echo "<br><font class='informationLabel'>System#:</font> ".$ro->getRegistrationDetails_patientNo();
//echo "<br><font class='informationLabel'>Registration#:</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> " . $ro4->formatDate($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'>Senior ID#:</font> " . $ro->selectNow("registrationDetails", "seniorID", "registrationNo", $registrationNo);
echo "<br> <font class='informationLabel'>PhilHealth:</font> " . $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> ".$ro->getPHICtype_patientRecord();
echo "<br> <font class='informationLabel'>Company:</font> " . $ro->getRegistrationDetails_company() . " <a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/Payments/companyPayment_selection.php?registrationNo={$registrationNo}&username={$username}' style='text-decoration:none;'><font color='red' size=2>[Payment]</font></a>";
if ($ro->selectNow("registrationDetails", "company1", "registrationNo", $registrationNo) != "") {
echo "<br> <font class='informationLabel'>Company1:</font> " . $ro->selectNow("registrationDetails", "company1", "registrationNo", $registrationNo);
} else {
}
if ($ro->selectNow("registrationDetails", "company2", "registrationNo", $registrationNo) != "") {
echo "<br> <font class='informationLabel'>Company2:</font> " . $ro->selectNow("registrationDetails", "company2", "registrationNo", $registrationNo);
} else {
}
//echo "<br><font class='informationLabel'>Mother's Name:</font> ".$ro->selectNow("patientRecord","mothersName","patientNo",$ro->getRegistrationDetails_patientNo());
//echo "<br><font class='informationLabel'>Father's Name:</font> ".$ro->selectNow("patientRecord","fathersName","patientNo",$ro->getRegistrationDetails_patientNo());
if ($ro->selectNow("registrationDetails", "type", "registrationNo", $registrationNo) == "OPD") {
echo "<br> <font class='informationLabel'>Time Registered:</font> " . $ro4->formatTime($ro->getRegistrationDetails_timeRegistered());
echo "<br> <font class='informationLabel'>Date Registered:</font> " . $ro4->formatDate($ro->getRegistrationDetails_dateRegistered());
示例4:
}
//echo "<img src='http://".$ro->getMyUrl()."/COCONUT/myImages/verified.jpeg'>";
echo "<font class='informationLabel'>Patient No:</font> " . $ro->getRegistrationDetails_patientNo();
if ($ro->getRegistrationDetails_type() != "OPD") {
echo "<br><font class='informationLabel'>Registration No:</font> <font color=red>Admission-" . $ro->getRegistrationDetails_registrationNo() . "</font>";
} else {
echo "<br><font class='informationLabel'>Registration No:</font> <font color='blue'>Outpatient-" . $ro->getRegistrationDetails_registrationNo() . "</font>";
}
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'>Senior ID#:</font> " . $ro->selectNow("registrationDetails", "seniorID", "registrationNo", $registrationNo);
echo "<br><font class='informationLabel'>PhilHealth:</font> " . $ro->getPatientRecord_phic();
echo "<br><font class='informationLabel'>Religion:</font> " . $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 {
if ($ro->selectNow("registrationDetails", "verified", "registrationNo", $registrationNo) != "" && $ro->selectNow("registrationDetails", "certified", "registrationNo", $registrationNo) != "") {
echo "<img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/verified.jpeg'>";
echo " ";
echo "<img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/certified.jpeg'>";
} else {
echo "";
}
}