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


PHP database1::may_naibayad_naba_ang_patient方法代码示例

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


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

示例1:

echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=OTHERS&username={$username}&show=&desc=' target='rightFrame'><font size=2>Others</font></a></li>";
if ($ro->getRegistrationDetails_room() != "OPD_OPD") {
    // enable room
    echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=Room And Board&username={$username}&show=&desc=' target='rightFrame'><font size=2>Room</font></a></li>";
} else {
    //disable room
    echo "";
}
echo "</ul>";
echo "<ul>";
if ($ro->getRegistrationDetails_type() == "IPD" && $ro->selectNow("reportHeading", "information", "reportName", "Credit Limit") == "Activate" && $ro->selectNow("registrationDetails", "LimitCASH", "registrationNo", $registrationNo) != "") {
    //setter pra sa allowed credit limit ng ipd
    //$ro->viewCreditLimit_setter($registrationNo,"PATIENT","cashUnpaid",$username);
    //current balance ng patient
    //$current = $ro->getCurrentCredit($registrationNo,$ro->viewCreditLimit_setter_limitTo(),$ro->viewCreditLimit_setter_limitVia()) - $ro->getCurrentPaid($registrationNo,$ro->viewCreditLimit_setter_limitTo(),$ro->viewCreditLimit_setter_limitVia());
    if ($ro->selectNow("registrationDetails", "LimitCASH", "registrationNo", $registrationNo) > $ro->may_naibayad_naba_ang_patient($registrationNo)) {
        //enable charges
        //echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/availableCharges/searchCharges.php?registrationNo=".$ro->getRegistrationDetails_registrationNo()."&username=$username&room=".$ro->getRegistrationDetails_room()."&batchNo=$batchNo' target='rightFrame'><font size=2>Add Charges</font></a></li>";
        //echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/Doctor/searchDoctor.php?registrationNo=".$ro->getRegistrationDetails_registrationNo()."&username=$username&room=".$ro->getRegistrationDetails_room()."&batchNo=$batchNo' target='rightFrame'><font size=2>Add Doctor</font></a></li>";
        //echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/availableMedicine/searchMedicine.php?registrationNo=".$ro->getRegistrationDetails_registrationNo()."&username=$username&inventoryFrom=PHARMACY&room=".$ro->getRegistrationDetails_room()."&batchNo=$batchNo' target='rightFrame'><font size=2>Add Medicine</font></a></li>";
        //echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/availableSupplies/searchSupplies.php?registrationNo=".$ro->getRegistrationDetails_registrationNo()."&username=$username&inventoryFrom=CSR&batchNo=$batchNo' target='rightFrame'><font size=2>Add Supplies</font></a></li>";
        //echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/patientProfile/ECART/cartHandler.php?registrationNo=".$ro->getRegistrationDetails_registrationNo()."&username=$username&room=".$ro->getRegistrationDetails_room()."&batchNo=$batchNo' target='rightFrame'><font size=2>Charges Cart</font></a></li>";
        echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/ECART/cartHandler.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&room=" . $ro->getRegistrationDetails_room() . "&batchNo={$batchNo}' target='rightFrame'><font size=2>Charges Cart</font></a></li>";
    } else {
        //disable charges
        echo "<li><a href='#'><font size=1 color=red>Limit Exceeded</font> <img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/locked1.jpeg'></a></li>";
    }
} else {
    //kung wLang creditLimit as "PATIENT" don't execute the creditLimit otherwise tuLuy Lng ang charging
    //echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/availableCharges/searchCharges.php?registrationNo=".$ro->getRegistrationDetails_registrationNo()."&username=$username&room=".$ro->getRegistrationDetails_room()."&batchNo=$batchNo' target='rightFrame'><font size=2>Add Charges</font></a></li>";
    //echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/Doctor/searchDoctor.php?registrationNo=".$ro->getRegistrationDetails_registrationNo()."&username=$username&room=".$ro->getRegistrationDetails_room()."&batchNo=$batchNo' target='rightFrame'><font size=2>Add Doctor</font></a></li>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:patientProfile_left_oct_4_2012.php

示例2:

echo "<br><font class='informationLabel'>Contact No#:</font>&nbsp;" . $ro->getPatientRecord_contactNo();
echo "<br><font class='informationLabel'>Senior:</font>&nbsp;" . $ro->getPatientRecord_senior();
echo "<br><font class='informationLabel'>PhilHealth:</font>&nbsp;" . $ro->getPatientRecord_phic();
echo "<br><font class='informationLabel'>PhilHealth Type:</font>&nbsp;" . $ro->getPHICtype_patientRecord();
echo "<br><font class='informationLabel'>Company:</font>&nbsp;" . $ro->getRegistrationDetails_company();
echo "<br><font class='informationLabel'>Time Registered:</font>&nbsp;" . $ro->getRegistrationDetails_timeRegistered();
echo "<br><font class='informationLabel'>Date Registered:</font>&nbsp;" . $ro->getRegistrationDetails_dateRegistered();
echo "<br><font class='informationLabel'>Branch Registered:</font>&nbsp;" . $ro->getRegistrationDetails_branch();
echo "<br><font class='informationLabel'>Case Type:</font>&nbsp;<a href='#' style='text-decoration:none; color:black;'>" . $ro->getRegistrationDetails_caseType() . "</a>";
echo "<br><font class='informationLabel'>Package:</font>&nbsp;<a href='#' style='text-decoration:none; color:black;'>" . $ro->getRegistrationDetails_package() . "</a>";
echo "<br><font class='informationLabel'>Room:</font>&nbsp;" . $room[0];
echo "<br><font class='informationLabel'>Address:</font>&nbsp;" . $ro->getPatientRecord_address();
echo "<br><font class='informationLabel'>Registered By:</font>&nbsp;" . $ro->getRegistrationDetails_registeredBy();
if ($ro->selectNow("reportHeading", "information", "reportName", "Credit Limit") == "Activate" and $ro->selectNow("registrationDetails", "type", "registrationNo", $registrationNo) == "IPD") {
    echo "<br><font class='informationLabel' color=blue>Allowed Balance:</font>&nbsp;" . number_format($ro->selectNow("registrationDetails", "LimitCASH", "registrationNo", $registrationNo), 2);
    echo "<br><font class='informationLabel' color=red>Current Balance:</font>&nbsp;" . number_format($ro->may_naibayad_naba_ang_patient($registrationNo), 2);
} else {
}
if ($ro->getRegistrationDetails_dateUnregistered() != "") {
    echo "<br><font class='informationLabel'>Time Discharged:</font>&nbsp;" . $ro->getRegistrationDetails_timeUnregistered();
    echo "<br><font class='informationLabel'>Discharged:</font>&nbsp;" . $ro->getRegistrationDetails_dateUnregistered();
} else {
    echo "";
}
echo "<br><br><font size=2 color=red><b>VITAL SIGN</b></font>";
echo "<br><font class='informationLabel'>Height:</font>&nbsp;" . $ro->getRegistrationDetails_height();
echo "<br><font class='informationLabel'>Weight:</font>&nbsp;" . $ro->getRegistrationDetails_weight();
echo "<br><font class='informationLabel'>Blood Pressure:</font>&nbsp;" . $ro->getRegistrationDetails_bloodPressure();
echo "<br><font class='informationLabel'>Temperature:</font>&nbsp;" . $ro->getRegistrationDetails_temperature();
echo "<br><br><font class='informationLabel'>Chief Complaint:</font><br><textarea class='initialDiagnosis' readonly>" . $ro->getRegistrationDetails_initialDiagnosis() . "</textarea>";
echo "<br><br><font class='informationLabel'>Initial Diagnosis:</font><br><textarea class='initialDiagnosis' readonly>" . $ro->getRegistrationDetails_IxDx() . "</textarea>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:patientProfile_right_oct_4_2012.php


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