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


PHP database2::getRegistrationDetails_registrationNo方法代码示例

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


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

示例1:

	a.close();
}
</script>
<a href="#" onClick="printF('printData')" style="text-decoration:none; color:black;">PRINT</a>
<div id='printData'>
<?php 
echo "<center><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='60%' height='20%'></center>";
//echo "<center><div style='border:0px solid #000000; width:700px; height:auto; border-color:black black black black;'>";
echo "";
//echo "<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>Patient#:&nbsp;</td><td>" . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<td>&nbsp;&nbsp;Registration#:&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_registrationNo() . "</td>";
echo "<td>&nbsp;Room:&nbsp;" . $room1[0] . " </td>";
echo "</tr>";
echo "<tr>";
echo "<td>Name:&nbsp;</td><td>&nbsp;<a href='#' onClick='printF(printData)' style='text-decoration:none; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>";
echo "<td align='right'>&nbsp;&nbsp;" . $ro->coconutText("Physician") . " : </td><td>&nbsp;" . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>";
echo "<td>&nbsp;Case: " . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td align='right'>&nbsp;&nbsp;" . $ro->coconutText("Discharged") . ":&nbsp;</td><td>&nbsp;" . $ro->getRegistrationDetails_dateUnregistered() . "@" . $ro->getRegistrationDetails_timeUnregistered() . "</td>";
echo "</tr>";
if ($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo) != "") {
    $hmoLimit = number_format($ro->selectNow("registrationDetails", "LimitHMO", "registrationNo", $registrationNo), 2);
} else {
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summaryCompany.php

示例2:

}
-->
</style>
<a href="#" onClick="printF('printData')" style="text-decoration:none; color:black;">PRINT</a>
<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 {
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summary-jan_29_2015-tessieFormat.php

示例3:

$endoscopy_company = 0;
$pulse_oximeter_company = 0;
$pf_company = 0;
$room_company = 0;
echo "<style type='text/css'>\na { text-decoration:none; color:black; }\ntr:hover { background-color:yellow;color:black;}\n\n</style>";
echo "<center><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='50%' height='25%'></center>";
echo "<br><center><div style='border:0px solid #000000; width:825px; height:auto; border-color:black black black black;'>";
//echo "<font size=4><b>".$ro->getReportInformation("hmoSOA_name")."</b></font><br>";
//echo "<font size=2>".$ro->getReportInformation("hmoSOA_address")."</font><br>";
//echo "<font size=2>".$ro->getRegistrationDetails_branch()."</font><br>";
echo "<table border=0>";
echo "<tr>";
echo "<td><font class='labelz'><b>Name:</b></font></td><td><font size=2>" . $ro->getPatientRecord_completeName() . "</font></td>";
echo "<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>";
echo "<Td><font class='labelz'><b>Registration#:</b></font></td>";
echo "<td><font size=2>" . $ro->getRegistrationDetails_registrationNo() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td><font class='labelz'><B>Age:</b></td>";
echo "<Td><font size=2>" . $ro->getPatientRecord_age() . " yrs Old</font></td>";
echo "<Td>&nbsp;</td>";
echo "<td><font class='labelz'><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Senior:</b></font></td>";
echo "<td><font size=2>" . $ro->getPatientRecord_senior() . "</font></td>";
echo "</tr>";
echo "<tr>";
echo "<Td><font class='labelz'><b>Company:</b></font></td>";
echo "<td><font size=2>" . $ro->getRegistrationDetails_company() . "</font></tD>";
echo "<td><font class='labelz'>Diagnosis:</font></td>";
echo "<tD><font class='labelz'>" . $ro->soap_assessmentz() . " &nbsp;&nbsp; " . $ro->selectNow("registrationDetails", "finalDiagnosis", "registrationNo", $registrationNo) . "</font></tD>";
echo "</tr>";
echo "</table>";
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:newDetailed_package.php

示例4:

    }
} else {
    if ($ro->getRegistrationDetails_dateUnregistered() == "") {
        echo "&nbsp;&nbsp;<img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/unlock.jpeg'>&nbsp;&nbsp;<font size=2 color=red><b>" . $ro->getRegistrationDetails_type() . "</b></font>&nbsp;&nbsp;<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/discharged/dischargedHistory.php?registrationNo={$registrationNo}' style='text-decoration:none;'><font size=1 color='blue'>View Discharged History</font></a><br>";
    } else {
        echo "&nbsp;&nbsp;<img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/locked1.jpeg'>&nbsp;&nbsp;<font size=2 color=red><b>" . $ro->getRegistrationDetails_type() . "</b></font>&nbsp;&nbsp;<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/discharged/dischargedHistory.php?registrationNo={$registrationNo}' style='text-decoration:none;'><font size=1 color='blue' >View Discharged History</font></a><br>";
    }
}
//echo "<img src='http://".$ro->getMyUrl()."/COCONUT/myImages/verified.jpeg'>";
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Px Count:</font>&nbsp;<font color=red>" . $ro->selectNow("registrationDetails", "pxCount", "registrationNo", $registrationNo) . "</font><br />";
echo "&nbsp;&nbsp;<font class='informationLabel'>PIN#:</font>&nbsp;<font color=red>" . $ro->selectNow("patientRecord", "manual_patientNo", "patientNo", $ro->getRegistrationDetails_patientNo()) . "</font><br>";
echo "&nbsp;&nbsp;<font class='informationLabel'>Registration#:</font>&nbsp;<font color=red>" . $registrationNo . "</font>";
if ($ro->getRegistrationDetails_type() == "OPD") {
    echo "";
} else {
    echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Admission#:</font>&nbsp;<font color='blue'>" . $ro->selectNow("registrationDetails", "manual_registrationNo", "registrationNo", $ro->getRegistrationDetails_registrationNo()) . "</font>";
}
//echo "<br><font class='informationLabel'>System#:</font>&nbsp;".$ro->getRegistrationDetails_patientNo();
//echo "<br><font class='informationLabel'>Registration#:</font>&nbsp;".$ro->getRegistrationDetails_registrationNo();
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Age:</font>&nbsp;" . $ro->getPatientRecord_age();
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Gender:</font>&nbsp;" . $ro->getPatientRecord_gender();
//echo "<br><font class='informationLabel'>Civil Status:</font>&nbsp;".$ro->getPatientRecord_civilStatus();
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Birth Date:</font>&nbsp;" . $ro4->formatDate($ro->getPatientRecord_Birthdate());
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Contact No#:</font>&nbsp;" . $ro->getPatientRecord_contactNo();
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Senior:</font>&nbsp;" . $ro->getPatientRecord_senior();
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Senior ID#:</font>&nbsp;" . $ro->selectNow("registrationDetails", "seniorID", "registrationNo", $registrationNo);
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>PhilHealth:</font>&nbsp;" . $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>&nbsp;".$ro->getPHICtype_patientRecord();
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Company:</font>&nbsp;" . $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>&nbsp;&nbsp;<font class='informationLabel'>Company1:</font>&nbsp;" . $ro->selectNow("registrationDetails", "company1", "registrationNo", $registrationNo);
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:patientProfile_right.php

示例5:

.Arial12BlackBoldNoDeco {font-family: Arial;font-size: 12px;font-weight: bold;color: #000000;}
.Arial14Black {font-family: Arial;font-size: 14px;color: #000000;}
.Arial14BlackBold {font-family: Arial;font-size: 14px;font-weight: bold;color: #000000;}
-->
</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 {
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:summary.php

示例6: fopen

$ro->getBatchNo();
$myFile = $ro->getReportInformation("homeRoot")."/COCONUT/trackingNo/batchNo.dat";
$fh = fopen($myFile, 'r');
$batchNo = fread($fh, 100);
fclose($fh);
*/
$batchNo = $ro->selectNow("trackingNo", "value", "name", "batchNo");
echo "\n\n<style type='text/css'>\na \n{ \ntext-decoration:none;\ncolor:black;\nfont-weight:bold;\n }\nul { list-style-type:none; }\ndisplay: block;\n</style>\n\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>\n\n<font size=2 color=red>" . htmlentities($ro->getPatientRecord_lastName()) . " " . htmlentities($ro->getPatientRecord_firstName()) . " " . htmlentities($ro->getPatientRecord_middleName()) . "</font>\n\n<hr>";
}
echo "<ul>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_right.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}' 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 "";
}
*/
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientCharges.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&show=All&desc=' target='rightFrame'><font size=2>Charges</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=PROFESSIONAL FEE&username={$username}&show=&desc=' target='rightFrame'><font size=2>Doctor</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=LABORATORY&username={$username}&show=&desc=' target='rightFrame'><font size=2>Laboratory</font></a></li>";
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:patientProfile_left.php

示例7:

$username = $_GET['username'];
$ro = new database2();
$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() . "&username={$username}'><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/unlock.jpeg'></a>&nbsp;&nbsp;<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=&username={$username}'><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/locked1.jpeg'></a>&nbsp;&nbsp;<font size=2 color=red><b>" . $ro->getRegistrationDetails_type() . "</b></font><br>";
}
//echo "<img src='http://".$ro->getMyUrl()."/COCONUT/myImages/verified.jpeg'>";
echo "<font class='informationLabel'>Patient No:</font>&nbsp;" . $ro->getRegistrationDetails_patientNo();
if ($ro->getRegistrationDetails_type() != "OPD") {
    echo "<br><font class='informationLabel'>Registration No:</font>&nbsp;<font color=red>Admission-" . $ro->getRegistrationDetails_registrationNo() . "</font>";
} else {
    echo "<br><font class='informationLabel'>Registration No:</font>&nbsp;<font color='blue'>Outpatient-" . $ro->getRegistrationDetails_registrationNo() . "</font>";
}
echo "<br><font class='informationLabel'>Age:</font>&nbsp;" . $ro->getPatientRecord_age();
echo "<br><font class='informationLabel'>Gender:</font>&nbsp;" . $ro->getPatientRecord_gender();
echo "<br><font class='informationLabel'>Civil Status:</font>&nbsp;" . $ro->getPatientRecord_civilStatus();
echo "<br><font class='informationLabel'>Birth Date:</font>&nbsp;" . $ro->getPatientRecord_Birthdate();
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'>Senior ID#:</font>&nbsp;" . $ro->selectNow("registrationDetails", "seniorID", "registrationNo", $registrationNo);
echo "<br><font class='informationLabel'>PhilHealth:</font>&nbsp;" . $ro->getPatientRecord_phic();
echo "<br><font class='informationLabel'>Religion:</font>&nbsp;" . $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 {
开发者ID:rickyx12,项目名称:protacio,代码行数:31,代码来源:patientProfile_right_07102014.php

示例8:

$ro = new database2();
$ro->getPatientProfile($registrationNo);
$ro->setPatientRecord($ro->getRegistrationDetails_patientNo());
echo "\n<style type='text/css'>\n.informationLabel {\nfont-size:15px;\nfont-weight:bold;\n}\n\n.initialDiagnosis {\n\tborder: 1px solid #CCC;\n\tcolor: #000;\n\theight:80px;\n\twidth: 350px;\n\tpadding:4px 4px 4px 2px;\n}\n\n\n</style>";
$room = preg_split("/\\_/", $ro->getRegistrationDetails_room());
echo "<br>";
if ($ro->getRegistrationDetails_dateUnregistered() == "") {
    echo "<a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/discharged/discharge_new.php?registrationNo={$registrationNo}&protoType=Discharged&room=" . $ro->getRegistrationDetails_room() . "&username={$username}'><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/unlock.jpeg'></a>&nbsp;&nbsp;<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=&username={$username}'><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/locked1.jpeg'></a>&nbsp;&nbsp;<font size=2 color=red><b>" . $ro->getRegistrationDetails_type() . "</b></font><br>";
}
//echo "<img src='http://".$ro->getMyUrl()."/COCONUT/myImages/verified.jpeg'>";
echo "<b><i><font color=blue size=5>" . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</font></i></b><br>";
echo "<font class='informationLabel'>Patient No:</font>&nbsp;" . $ro->getRegistrationDetails_patientNo();
if ($ro->getRegistrationDetails_type() != "OPD") {
    echo "<br><font class='informationLabel'>Registration No:</font>&nbsp;<font color=red>Admission-" . $ro->getRegistrationDetails_registrationNo() . "</font>";
} else {
    echo "<br><font class='informationLabel'>Registration No:</font>&nbsp;<font color='blue'>Outpatient-" . $ro->getRegistrationDetails_registrationNo() . "</font>";
}
echo "<br><font class='informationLabel'>Attending:</font>&nbsp;<font color=blue>" . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</font>";
echo "<br><font class='informationLabel'>Age:</font>&nbsp;" . $ro->getPatientRecord_age();
echo "<br><font class='informationLabel'>Gender:</font>&nbsp;" . $ro->getPatientRecord_gender();
echo "<br><font class='informationLabel'>Civil Status:</font>&nbsp;" . $ro->getPatientRecord_civilStatus();
echo "<br><font class='informationLabel'>Birth Date:</font>&nbsp;" . $ro->getPatientRecord_Birthdate();
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'>Senior ID#:</font>&nbsp;" . $ro->selectNow("registrationDetails", "seniorID", "registrationNo", $registrationNo);
echo "<br><font class='informationLabel'>PhilHealth:</font>&nbsp;" . $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>&nbsp;" . $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'>";
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:patientProfile_right.php

示例9: fopen

$username = $_GET['username'];
$ro = new database2();
$ro->getBatchNo();
$myFile = $ro->getReportInformation("homeRoot") . "/COCONUT/trackingNo/batchNo.dat";
$fh = fopen($myFile, 'r');
$batchNo = fread($fh, 100);
fclose($fh);
echo "\n\n<style type='text/css'>\na \n{ \ntext-decoration:none;\ncolor:black;\nfont-weight:bold;\n }\nul { list-style-type:none; }\ndisplay: block;\n</style>\n\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>\n\n<font size=2 color=red>" . htmlentities($ro->getPatientRecord_lastName()) . " " . htmlentities($ro->getPatientRecord_firstName()) . " " . htmlentities($ro->getPatientRecord_middleName()) . "</font>\n\n<hr>";
}
echo "<ul>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientProfile_right.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}' 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 "";
}
*/
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientCharges.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}&show=All&desc=' target='rightFrame'><font size=2>Charges</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=PROFESSIONAL FEE&username={$username}&show=&desc=' target='rightFrame'><font size=2>Doctor</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientChargesTitle.php?registrationNo={$registrationNo}&title=LABORATORY&username={$username}&show=&desc=' target='rightFrame'><font size=2>Laboratory</font></a></li>";
开发者ID:rickyx12,项目名称:mendero,代码行数:31,代码来源:patientProfile_left.php


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