<?php

include "../myDatabase.php";
$ro = new database();
$ro->coconutDesign();
$ro->coconutFormStart("get", "networkConfiguration1.php");
echo "<center><br><br><Br><font size=3>Network &nbsp;</font><br>";
$ro->coconutBoxStart("400", "130");
echo "<br><br>";
$ro->coconutTextBox("ip", $ro->getMyUrl());
echo "<br><br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
Exemple #2
0
//$ro->coconutTextBox("phicMed_allowedLimit",$ro->getCurrentPHIC_check($registrationNo,"MEDICINE"));
//$ro->coconutTextBox("phicMed_excess",$ro->getCurrentPHIC_check($registrationNo,"MEDICINE") - $ro->getPHIClimit_medicine());
//$ro->coconutButton("Generate");
$ro->coconutFormStop();
echo "</td>";
echo "<tr>";
echo "<td>";
$ro->coconutFormStart("get", "phicFuller_getReady.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("casetype", $casetype);
$ro->coconutHidden("case", "ordinaryCase");
$ro->coconutHidden("type", "medicine");
$ro->coconutHidden("cash", $ro->getTotal("cashUnpaid", "", $registrationNo));
//$ro->coconutTextBox("phicMed_allowedLimit",$ro->getCurrentPHIC_check($registrationNo,"MEDICINE"));
//$ro->coconutTextBox("phicMed_excess",$ro->getCurrentPHIC_check($registrationNo,"MEDICINE") - $ro->getPHIClimit_medicine());
$ro->coconutButton("Ordinary Case (MEDICINE)");
$ro->coconutFormStop();
echo "</td>";
echo "<td>";
$ro->coconutFormStart("get", "phicFuller_getReady.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("casetype", $casetype);
$ro->coconutHidden("case", "caseRate");
$ro->coconutHidden("type", "medicine");
$ro->coconutHidden("cash", $ro->getTotal("cashUnpaid", "", $registrationNo));
//$ro->coconutTextBox("phicMed_allowedLimit",$ro->getCurrentPHIC_check($registrationNo,"MEDICINE"));
//$ro->coconutTextBox("phicMed_excess",$ro->getCurrentPHIC_check($registrationNo,"MEDICINE") - $ro->getPHIClimit_medicine());
$ro->coconutButton("Case Rate (MEDICINE)");
$ro->coconutFormStop();
echo "</td>";
echo "</tr>";
Exemple #3
0
<font color=blue><b>Answer:</b></font>&nbsp;Magbibigay pa po, pwede lang po ma view agad ang result sa station kahit hindi pa na deliver ang hard copy pag test done na

</font>
<br><br><centeR>
<?php 
//$ro->coconutImages("backup.jpg")
?>
</center>
<br><br>
<form method="post" action="passwordComment.php">

<textarea rows="6" cols="80" style="border:1px solid #000;" name="comment"></textarea>
<br><br>
<?php 
echo "<center>";
$ro->coconutButton("Send Comment");
?>
</form>

<?php 
$ro->getGuestComment();
//ippkta Lhat ng comment from d guest
?>

</div>

<div id="list1" class="link-list" style="border:0px solid #000; height:auto; border-color:white black white white; 
        width:10.2em;
        position:fixed;
        top:0;
        font-size:80%;
Exemple #4
0
echo "</tr>";
//$ro->getPaymentHistory_showUp_returnPaid_setter($registrationNo);
//$netTotal = (  ($gross - $disc) - $ro->getPaymentHistory_showUp_returnPaid() );
//if( $netTotal < 0 ) $netTotal=0;
if ($ro->checkIfPackageExist($registrationNo) > 0) {
    echo "<Tr>";
    echo "<td>&nbsp;<font color=red>Balance</font></tD>";
    echo "<td>&nbsp;</tD>";
    echo "<td>&nbsp;</tD>";
    echo "<td>&nbsp;</tD>";
    echo "<td>&nbsp;<font color=red>0.00</font>&nbsp;</tD>";
    echo "</tr>";
} else {
    echo "<Tr>";
    echo "<td>&nbsp;<font color=red>Balance</font></tD>";
    echo "<td>&nbsp;</tD>";
    echo "<td>&nbsp;</tD>";
    echo "<td>&nbsp;</tD>";
    echo "<td>&nbsp;<font color=red>" . number_format($grandTotalz - $ro->sumPartial($registrationNo), 2) . "</font>&nbsp;</tD>";
    echo "</tr>";
}
echo "</table>";
echo "<br>";
echo "<font size=2>Payment's</font>";
$ro->getPaymentHistory_showUp($registrationNo);
echo "<br><br>\n<Table border=0>\n<td>\n__________________________<br><font size=2>Signature over Printed Name</font><br><font size=3>Relationship to Patient:___________________________</font><br><font size=3>Contact No#:_______________________________</font>\n</tD>\n<tD width='40%'>&nbsp;</tD>\n\n\n</table>\n<Br><hr><Br><br>\n<Table>\n<tD>\n<font size=2><u>MYNARD A. BAJO</u><Br><b>Billing Officer</b></font>\n</tD>\n<td width='40%'>&nbsp;</tD>\n\n<tD>\n\n\n<font size=2><u>HAZEL S. CASTIGADOR</u><Br><b>Medical Clerk</b></font>\n</tD>\n</table>\n<Br>\n\n<Table>\n<tD>&nbsp;&nbsp;\n<font size=2>Certified Correct:<br></font>\n<br>\n<font size=2><u>MARIBETH B. SANDIG</u><Br><b>Hospital Administrator</b></font>\n</tD>\n<td>&nbsp;</tD>\n\n</table>\n\n\n<br>";
$ro->coconutBoxStop();
$ro->coconutFormStart("get", "soa2pdf.php");
$ro->coconutButton("Export to PDF");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutFormStop();
<?php

include "../../../myDatabase.php";
$registrationNo = $_GET['registrationNo'];
$ro = new database();
$ro->getPatientProfile($registrationNo);
$ro->coconutFormStart("get", "registrationCensusDelete1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<Br><Br><br><br><br><Br>";
$ro->coconutBoxStart_red("600", "120");
echo "<br>\t";
echo "<font size=3 color=red>You are about to delete the record of " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " <br>with a registration No#: " . $registrationNo . " and register by " . $ro->getRegistrationDetails_registeredBy() . "</font>";
echo "<br><br>";
$ro->coconutButton("Delete");
$ro->coconutBoxStop();
$ro->coconutFormStop();
$ro->coconutHidden("remarks", $remarks);
$ro->coconutHidden("morphology", $morphology);
$ro->coconutBoxStart("500", "160");
echo "<br>";
echo "<table border=0>";
echo "<tr>";
echo "<Td>Username&nbsp;</td>";
echo "<td>";
$ro->coconutTextBox("username", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<Td>Password&nbsp;</td>";
echo "<td>" . $ro->coconutPasswordBox_return("password", "") . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Proceed");
$ro->coconutBoxStop();
$ro->coconutFormStop();
$ro->coconutFormStart("post", "logBeforeResultDummy.php");
$ro->coconutHidden("registrationNo", $registrationNo);
$ro->coconutHidden("itemNo", $itemNo);
$ro->coconutHidden("chargesCode", $chargesCode);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("date", $date);
$ro->coconutHidden("result", $result);
$ro->coconutHidden("remarks", $remarks);
$ro->coconutHidden("morphology", $morphology);
$ro->coconutButton("TESTING");
$ro->coconutFormStop();
$dept = $_GET['dept'];
$ro = new database();
$ro->getPatientProfile($registrationNo);
mysql_connect($ro->myHost(), $ro->getUser(), $ro->getPass());
mysql_select_db($ro->getDB());
$asql = mysql_query("SELECT * FROM patientCharges WHERE registrationNo='{$registrationNo}' AND status NOT LIKE 'DELETED_%%%%'");
$acount = mysql_num_rows($asql);
if ($acount != 0) {
    $ro->coconutFormStart("get", "selectShift_registered.php?username={$username}");
    $ro->coconutHidden("registrationNo", $registrationNo);
    $ro->coconutHidden("username", $username);
    echo "<Br><Br><br><br><br><Br>";
    $ro->coconutBoxStart_red("600", "120");
    echo "<br>\t";
    echo "<font size=3 color=red>Unable to delete " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " with a registration No#: " . $registrationNo . ".<br>You must delete all charges before you can delete this patient.</font>";
    echo "<br><br>";
    $ro->coconutButton("Back");
    $ro->coconutBoxStop();
    $ro->coconutFormStop();
} else {
    $ro->coconutFormStart("post", "registrationCensusDelete1.php?registrationNo={$registrationNo}&username={$username}&fromMonth={$fromMonth}&fromDay={$fromDay}&fromYear={$fromYear}&toMonth={$toMonth}&toDay={$toDay}&toYear={$toYear}&type={$type}&dept={$dept}");
    echo "<Br><Br><br><br><br><Br>";
    $ro->coconutBoxStart_red("600", "148");
    echo "<br>\t";
    echo "<font size=3 color=red>You are about to delete the record of " . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . " <br>with a registration No#: " . $registrationNo . " and register by " . $ro->getRegistrationDetails_registeredBy() . "</font>";
    echo "<br><br>Enter Authorized Username and Password to Delete Patient<br>";
    echo "<input type='text' name='uname' placeholder='Username' autocomplete='off' value='' size='10' /><input type='password' name='delpass' placeholder='Password' autocomplete='off' value='' size='10' /><br /><br />";
    $ro->coconutButton("Delete");
    $ro->coconutBoxStop();
    $ro->coconutFormStop();
}
Exemple #8
0
$ro->coconutTextBox("indication", "");
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>";
echo "QTY:&nbsp;";
echo "</td>";
echo "<td>";
$ro->coconutTextBox_short("qty", "");
echo "</td>";
echo "</tr>";
echo "<tr>\n<td></tD>\n<td></td>\n</tr>";
echo "<tr>";
echo "<Td>&nbsp;</td>";
echo "<td>";
$ro->coconutButton("Add Medicine");
echo "</td>";
echo "</tr>";
echo "</table>";
$ro->coconutFormStop();
echo "<Br><br><Br>";
$ro->coconutFormStart("get", "advised.php");
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<table border=0>";
echo "<tr>";
echo "<td>Advised</td>";
echo "<Td>" . $ro->coconutTextBox_return("advised", $ro->selectNow("registrationDetails", "advised", "registrationNo", $registrationNo)) . "</tD>";
echo "</tr>";
echo "<tr>";
echo "<tr>";
echo "<td>FF Up Date</td>";
Exemple #9
0
<?php

include "../../../myDatabase.php";
$stockCardNo = $_GET['stockCardNo'];
$startLetter = $_GET['startLetter'];
$ro = new database();
$ro->coconutDesign();
echo "Description:&nbsp;<b>" . $ro->selectNow("inventoryStockCard", "description", "stockCardNo", $stockCardNo) . "</b>";
echo "<br>";
echo "Generic:&nbsp;<b>" . $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo) . "</b>";
$ro->coconutFormStart("get", "rename1.php");
$ro->coconutHidden("stockCardNo", $stockCardNo);
$ro->coconutHidden("startLetter", $startLetter);
echo "<Br><br>";
echo "New Description:";
$ro->coconutTextBox("description", $ro->selectNow("inventoryStockCard", "description", "stockCardNo", $stockCardNo));
echo "<br><bR>";
echo "New Generic Name";
$ro->coconutTextBox("genericName", $ro->selectNow("inventoryStockCard", "genericName", "stockCardNo", $stockCardNo));
echo "<br><br>";
$ro->coconutButton("Rename");
$ro->coconutFormStop();
Exemple #10
0
$ro->coconutDesign();
echo "<Br><br><br>";
$ro->coconutBoxStart("500", "150");
echo "<br>";
$ro->coconutFormStart("get", "inputLabTest1.php");
echo "<table border=0>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Lab Test") . "</td>";
echo "<Td>";
$ro->coconutComboBoxStart_long("labTest");
echo "<option value='clinicalChemistry'>Clinical Chemistry</option>";
echo "<option value='hematology'>Hematology</option>";
echo "<option value='hbsagQualitative'>HBsAG - Qualitative</option>";
echo "<option value='stoolAnalysis'>Stool Analysis</option>";
echo "<option value='urinalysis'>Urinalysis</option>";
$ro->coconutComboBoxStop();
echo "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Description") . "</td>";
echo "<td>" . $ro->coconutTextBox_return("desc", "") . "</td>";
echo "</tr>";
echo "<tr>";
echo "<td>" . $ro->coconutText("Normal Values") . "</td>";
echo "<td>" . $ro->coconutTextBox_return("normalValues", "") . "</td>";
echo "</tr>";
echo "</table>";
echo "<br>";
$ro->coconutButton("Submit");
$ro->coconutFormStop();
$ro->coconutBoxStop();
Exemple #11
0
<?php

include "../../myDatabase.php";
$cashierPaid = $_GET['cashierPaid'];
$totalPaid = $_GET['totalPaid'];
$username = $_GET['username'];
$serverTime = $_GET['serverTime'];
$chargeStatus = $_GET['chargeStatus'];
$paymentType = $_GET['paymentType'];
$orNO = $_GET['orNO'];
$ro = new database();
echo "<br><br>";
$ro->coconutBoxStart_red("500", "130");
echo "<br>";
echo "<font color=red>Are you sure you want to fully paid this patient?</font>";
echo "<br><Br>";
$ro->coconutFormStart("get", "paymentManager.php");
$ro->coconutHidden("cashierPaid", $cashierPaid);
$ro->coconutHidden("totalPaid", $totalPaid);
$ro->coconutHidden("username", $username);
$ro->coconutHidden("serverTime", $serverTime);
$ro->coconutHidden("chargeStatus", $chargeStatus);
$ro->coconutHidden("paymentType", $paymentType);
$ro->coconutHidden("orNO", $orNO);
$ro->coconutButton("Yes");
$ro->coconutFormStop();
$ro->coconutBoxStop();
Exemple #12
0
<?php

include "../../myDatabase.php";
$noteType = $_GET['noteType'];
$userName = $_GET['username'];
$registrationNo = $_GET['registrationNo'];
$ro = new database();
$ro->coconutDesign();
echo "<Center><Br><br>";
$ro->coconutFormStart("post", "addNote.php?noteType={$noteType}&username={$userName}&registrationNo={$registrationNo}");
$ro->coconutButton("Add Comments");
$ro->coconutFormStop();
$ro->showNotes($registrationNo, $noteType);
?>