本文整理汇总了PHP中database2::getRegistrationDetails_patientNo方法的典型用法代码示例。如果您正苦于以下问题:PHP database2::getRegistrationDetails_patientNo方法的具体用法?PHP database2::getRegistrationDetails_patientNo怎么用?PHP database2::getRegistrationDetails_patientNo使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类database2
的用法示例。
在下文中一共展示了database2::getRegistrationDetails_patientNo方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
a.print();
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#: </td><td>" . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<td> Registration#: </td><td> " . $ro->getRegistrationDetails_registrationNo() . "</td>";
echo "<td> Room: " . $room1[0] . " </td>";
echo "</tr>";
echo "<tr>";
echo "<td>Name: </td><td> <a href='#' onClick='printF(printData)' style='text-decoration:none; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>";
echo "<td align='right'> " . $ro->coconutText("Physician") . " : </td><td> " . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>";
echo "<td> Case: " . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ": </td><td> " . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td align='right'> " . $ro->coconutText("Discharged") . ": </td><td> " . $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);
示例2:
.Arial12BlackBold {font-family: Arial;font-size: 12px;font-weight: bold;color: #000000;}
.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> </td><td><span class='Arial11BlackBold'>" . $ro->getRegistrationDetails_patientNo() . "</span></td>";
echo "<td><span class='Arial11Black'> Registration#: </span></td><td><span class='Arial11BlackBold'> " . $ro->getRegistrationDetails_registrationNo() . "</span></td>";
echo "<td><span class='Arial11Black'> Room: </span><span class='Arial11BlackBold'>" . $room1[0] . "</span></td>";
echo "</tr>";
echo "<tr>";
echo "<td><span class='Arial11Black'>Name:</span> </td><td> <span class='Arial11BlackBold'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</span></td>";
echo "<td align='left'> <span class='Arial11Black'>Physician:</span> </td><td> <span class='Arial11BlackBold'>" . $ro->getAttendingDoc($registrationNo, "Attending") . "</span></td>";
echo "<td> <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> </td><td> <span class='Arial11BlackBold'>" . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</span></td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td align='left'> <span class='Arial11Black'>Discharged:</span> </td><td> <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);
示例3:
color: #000000;
}
-->
</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> </td><td><span class='txtSize'>" . $ro->getRegistrationDetails_patientNo() . "</span></td>";
echo "<td> <span class='txtSize'>Registration#:</span> </td><td> <span class='txtSize'>" . $ro->getRegistrationDetails_registrationNo() . "</span></td>";
echo "<td> <span class='txtSize'>Room:</span> <span class='txtSize'>" . $room1[0] . "</span></td>";
echo "</tr>";
echo "<tr>";
echo "<td><span class='txtSize'>Name:</span> </td><td> <a href='#' style='text-decoration:none; font-size:12px; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>";
echo "<td align='left'> <span class='txtSize'>Physician:</span> </td><td> <span class='txtSize'>" . $ro->getAttendingDoc($registrationNo, "Attending") . "</span></td>";
echo "<td> <span class='txtSize'>Case:" . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</span></td>";
echo "</tr>";
echo "<tr>";
echo "<Td><span class='txtSize'>Admitted:</span> </td><td> <span class='txtSize'>" . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</span></td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td align='left'> <span class='txtSize'>Discharged:</span> </td><td> <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);
示例4:
}
}
}
} else {
}
/////////// LOCKED ACCOUNT KAPAG CONSUMED NA UNG LIMIT ////////////////////////
//temporary habang hindi ko p inimplement ung locked account
//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 "</ul>";
echo "<ul>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/soaOption.php?registrationNo={$registrationNo}&username={$username}' target='rightFrame'><font size=2>S.O.A</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/Doctor/doctorModule/soapListed.php?registrationNo={$registrationNo}&username={$username}' target='rightFrame'><font size=2>S.O.A.P</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/uploader/viewImages.php?registrationNo={$registrationNo}&username={$username}' target='rightFrame'><font size=2>Dicom</font></a></li>";
//echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/Results/Radiology/radioResult_list.php?registrationNo=$registrationNo&username=$username' target='rightFrame'><font size=2>Radio Results</font></a></li>";
//echo "<li><a href='http://".$ro->getMyUrl()."/COCONUT/patientNotes/viewNote.php?noteType=Comments&username=$username®istrationNo=".$ro->getRegistrationDetails_registrationNo()."' target='rightFrame'><font size=2>Comments</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/paidItems.php?status=UNPAID&username={$username}®istrationNo=" . $ro->getRegistrationDetails_registrationNo() . "' target='rightFrame'><font size=2>Unpaid</font></a></li>";
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/paidItems.php?status=PAID&username={$username}®istrationNo=" . $ro->getRegistrationDetails_registrationNo() . "' target='rightFrame'><font size=2>Paid</font></a></li>";
$asql = mysql_query("SELECT pendingDelete FROM patientCharges WHERE registrationNo='" . $ro->getRegistrationDetails_registrationNo() . "' AND pendingDelete LIKE 'PENDING_%%%%'");
$acount = mysql_num_rows($asql);
if ($acount == 0) {
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/deletedItemsPassword.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}' target='rightFrame'><font size=2>Pending Delete</font></a></li>";
} else {
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/deletedItemsPassword.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "&username={$username}' target='rightFrame'><font size=2 color=red>Pending Delete</font></a></li>";
}
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/oldRecord/showRecord.php?patientNo=" . $ro->getRegistrationDetails_patientNo() . "&username={$username}' target='rightFrame'><font size=2>Record's</font></a></li>";
if ($ro->selectNow("registeredUser", "module", "username", $username) == "LABORATORY") {
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/Laboratory/resultList/listOfLab.php?username={$username}®istrationNo=" . $ro->getRegistrationDetails_registrationNo() . "' target='rightFrame'><font size=2>Lab Result</font></a></li>";
} else {
}
echo "<li><a href='http://" . $ro->getMyUrl() . "/COCONUT/patientProfile/patientOR.php?registrationNo=" . $ro->getRegistrationDetails_registrationNo() . "' target='rightFrame'><font size=2>OR#</font></a></li>";
echo "</ul>";
示例5:
<?php
include "../../myDatabase2.php";
include "../../myDatabase4.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro4 = new database4();
$ro->getPatientProfile($registrationNo);
$ro->setPatientRecord($ro->getRegistrationDetails_patientNo());
$timePickerDefault = "";
$buttonClass = "";
echo "<script type='text/javascript' src='../js/jquery-2.1.4.min.js'></script>";
echo "<script type='text/javascript' src='../js/wickedpicker/dist/wickedpicker.min.js'></script>";
echo "<link rel='stylesheet' href='../../bootstrap-3.3.6/css/bootstrap.css'></link>";
echo "<link rel='stylesheet' href='../js/wickedpicker/dist/wickedpicker.min.css'></link>";
if ($ro->selectNow("registrationDetails", "timeAdmission", "registrationNo", $registrationNo) != "") {
$timePickerDefault = $ro->selectNow("registrationDetails", "timeAdmission", "registrationNo", $registrationNo);
$buttonClass = "btn btn-danger";
} else {
$timePickerDefault = $ro->selectNow("registrationDetails", "timeRegistered", "registrationNo", $registrationNo);
$buttonClass = "btn btn-success";
}
echo "\n\n<script>\n\t\$(document).ready(function(){\n\n\t\t\$('#thumbsup').hide();\n\n\t\t\$('#timeAdmission').wickedpicker({\n\t\t\tnow:'" . $timePickerDefault . "',\n\t\t\ttitle:'Time Admission',\n\t\t\ttwentyFour:true,\n\t\t});\n\n\t\t\$('#saveTimeBtn').click(function(){\n\n\t\t\tvar registrationNo = " . $registrationNo . ";\n\t\t\tvar timeAdmission = \$('#timeAdmission').val();\n\n\t\t\tvar data = {\n\t\t\t\tregistrationNo:registrationNo,\n\t\t\t\ttimeAdmission:timeAdmission\n\t\t\t};\n\n\t\t\t\$.post('timeAdmission.php',data,function(result){\n\t\t\t\t\$('#saveTimeBtn').hide();\n\t\t\t\t\$('#thumbsup').show();\n\t\t\t});\n\n\t\t});\n\n\t});\n</script>\n\n";
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->selectNow("registrationDetails", "mgh", "registrationNo", $registrationNo) == "") {
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> <font size=2 color=red><b>" . $ro->getRegistrationDetails_type() . "</b></font> <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 {
示例6:
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "casetype", $casetype);
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "LimitCASH", $cashLimit);
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "LimitHMO", $hmoLimit);
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "package", $package);
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "privateORhouse_case", $typeCase);
$ro->editNow("patientRecord", "patientNo", $patientNo, "manual_patientNo", $manual_patientNo);
$hmoType = $ro->selectNow("Company", "type", "companyName", $company);
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "companyType", $hmoType);
if (isset($_GET['CashLIMIT'])) {
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "LimitCASH", $CashLIMIT);
} else {
}
$ro->EditNow("patientRecord", "patientNo", $patientNo, "gender", $gender);
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "diet", $diet);
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "seniorID", $seniorNo);
$ro->EditNow("patientRecord", "patientNo", $ro->getRegistrationDetails_patientNo(), "mothersName", $mothersName);
$ro->EditNow("patientRecord", "patientNo", $ro->getRegistrationDetails_patientNo(), "fathersName", $fathersName);
if ($type == "OPD") {
// kung opd ang type
$ro->EditNow("room", "Description", $room, "status", "Vacant");
// gwen vacant ang room bago pa mag update as opd
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "room", "OPD_OPD");
//set room as opd
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "timeAdmission", "");
//$ro->deleteRoom($registrationNo);
$ro->removeRoom($registrationNo, $username);
} else {
if ($type == "ER") {
$ro->EditNow("room", "Description", $room, "status", "Vacant");
// gwen vacant ang room bago pa mag update as opd
$ro->EditNow("registrationDetails", "registrationNo", $registrationNo, "room", "ER_ER");
示例7:
<?php
include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$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> <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> <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> " . $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();
示例8:
<?php
include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
$patientNo = $ro->getRegistrationDetails_patientNo();
$ro->getPTNotes($patientNo, $registrationNo, $username);
示例9:
font-weight: bold;
color: #000000;
</style>
<a href="#" onClick="printF('printData')" style="text-decoration:none; color:black;">PRINT</a>
<div id='printData'>
<div>
<?php
echo "<center><img src='http://" . $ro->getMyUrl() . "/COCONUT/myImages/mendero.png' width='40%' height='10%'></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><font size=1>Patient#zzz:</font> </td><td>" . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<td> Registration#: </td><td> " . $ro->getRegistrationDetails_registrationNo() . "</td>";
echo "<td> Room: " . $room1[0] . " </td>";
echo "</tr>";
echo "<tr>";
echo "<td>Name: </td><td> <a href='#' onClick='printF(printData)' style='text-decoration:none; color:black;'>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</a></td>";
echo "<td align='right'> " . $ro->coconutText("Physician") . " : </td><td> " . $ro->getAttendingDoc($registrationNo, "Attending") . "</td>";
echo "<td> Case: " . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>" . $ro->coconutText("Admitted") . ": </td><td> " . $ro->getRegistrationDetails_dateRegistered() . "@" . $ro->getRegistrationDetails_timeRegistered() . "</td>";
//echo "<td>CaseType:</td><TD>".$ro->getRegistrationDetails_caseType()."</tD>";
echo "<Td align='right'> " . $ro->coconutText("Discharged") . ": </td><td> " . $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);
示例10:
<?php
include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$username = $_GET['username'];
$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> <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> <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> " . $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'>Attending:</font> <font color=blue>" . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</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();
示例11:
<?php
include "../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$birthPlace = $_GET['birthPlace'];
$nationality = $_GET['nationality'];
$pxOccu = $_GET['pxOccu'];
$fathersName = $_GET['fathersName'];
$mothersName = $_GET['mothersName'];
$address = $_GET['address'];
$contactNo1 = $_GET['contactNo1'];
$spouseName = $_GET['spouseName'];
$address1 = $_GET['address1'];
$contactNo2 = $_GET['contactNo2'];
$admissionType = $_GET['admissionType'];
$ssc = $_GET['ssc'];
$ws = $_GET['ws'];
$employerName = $_GET['employerName'];
$dataGivenBy = $_GET['dataGivenBy'];
$informantAddress = $_GET['informantAddress'];
$patientRelation = $_GET['patientRelation'];
$disposition = $_GET['disposition'];
$result = $_GET['result'];
$phicMember = $_GET['phicMember'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
$ro->admissionDischargedRecord($ro->getRegistrationDetails_patientNo(), $registrationNo, $birthPlace, $nationality, $pxOccu, $fathersName, $mothersName, $address, $contactNo1, $spouseName, $address1, $contactNo2, $admissionType, $ssc, $ws, $employerName, $dataGivenBy, $informantAddress, $patientRelation, $disposition, $result);
示例12:
<?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> " . $ro->getRegistrationDetails_patientNo() . "</td>";
echo "<TD><b>Registration#:</b> {$registrationNo}</tD>";
echo "</tr>";
echo "<Tr>";
echo "<td><b>Patients Name:</b> " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " " . $ro->getPatientRecord_middleName() . "</td>";
echo "<td><b>Age:</b> " . $ro->getPatientRecord_Age() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>D.O.B:</b> " . $ro->getPatientRecord_birthDate() . "</td>";
echo "<tD><b>Sex:</b> " . $ro->getPatientRecord_Gender() . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td><b>Physician:</b> " . $ro->getAttendingDoc($registrationNo, "ATTENDING") . "</td>";
echo "<td><b>Room:</b> " . $ro->getRegistrationDetails_room() . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->printLabRequest($registrationNo, $dateCharge);
示例13:
<?php
include "../../myDatabase2.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database2();
$ro->getPatientProfile($registrationNo);
echo "<table border=1 rules=all height='50px; width='100%;'>";
echo "<tr>";
echo "<td><font size=4><b>ADMISSION AND DISCHARGE RECORD</b></font></td>";
echo "<td> <font size=3><b>Patient's No:</b></font><br><center><font size=4>" . $ro->getRegistrationDetails_patientNo() . "</font></center></td>";
echo "</tr>";
echo "</table>";
示例14:
$ro->coconutHidden("itemNo",$itemNo);
$ro->coconutHidden("username",$username);
$ro->coconutFormStop();
*/
echo "<br><br><br>";
echo "<div style='float:left; width:100%; '>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/mobileSOAP.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("username", $username);
echo "<button style='border: none;\n\tbackground: #47a3da;\n\tcolor: #fff;\n\tpadding: 1.5em;\n\tdisplay: block;\n\twidth: 20%;\n\tcursor: pointer;\n\tmargin: -20px 0;\n\tfont-size: 0.9em;'> S.O.A.P </button>";
$ro->coconutFormStop();
echo "</div>";
echo "<div style='float:right; position:absolute; margin: 0 0 0 240px; width:100%;'>";
$ro->coconutFormStart("get", "http://" . $ro->getMyUrl() . "/COCONUT/android/doctor/soapHistory_handler.php");
$ro->coconutHidden("patientNo", $ro->getRegistrationDetails_patientNo());
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("username", $username);
echo "<button style='border: none;\n\tbackground: #47a3da;\n\tcolor: #fff;\n\tpadding: 1.5em;\n\tdisplay: block;\n\twidth: 20%;\n\tcursor: pointer;\n\tmargin: -20px 0;\n\tfont-size: 0.9em;'>Records</button>";
$ro->coconutFormStop();
echo "</div>";
/*
echo "<div style='float:right; position:absolute; margin: 0 0 0 240px; width:100%;'>";
$ro->coconutFormStart("get","http://".$ro->getMyUrl()."/COCONUT/android/doctor/viewHospitalCharges.php");
$ro->coconutHidden("registrationNo",$registrationNo);
echo "<button style='border: none;
background: #47a3da;
color: #fff;
padding: 1.5em;
display: block;