Exemplo n.º 1
0
echo "<Td>".$ro->coconutText("Age")."</tD><td>&nbsp;".$ro->getPatientRecord_age()."</tD>";
echo "<tD>&nbsp;</tD>";
echo "<Td>".$ro->coconutText("Room:")."</tD><td>".$ro->getRegistrationDetails_room()."</tD>";
echo "<td>Case:</td>";
echo "<td>".$ro->selectNow("registrationDetails","privateORhouse_case","registrationNo",$registrationNo)."</td>";
echo "</tr>";
*/
//echo "<tr>";
//echo "<td>".$ro->coconutText("Att.Doctor")."</tD><td>&nbsp;<font size=2>".$ro->getAttendingDoc($registrationNo,"Attending")."</font></td>";
//echo "<td></td>";
//echo "<td>".$ro->coconutText("Admitting Doc")."</td><tD>&nbsp;<font size=2>".$ro->getAttendingDoc($registrationNo,"Admitting")."</font></tD>";
//echo "</tr>";
echo "</table>";
echo "<table border=0>";
echo "<td>Address:&nbsp;</tD>";
echo "<tD>" . $ro->getPatientRecord_address() . "</tD>";
echo "</table>";
echo "<center>" . $ro->checkAllReturns_notification($registrationNo) . "<br>" . $ro->checkForDispense_notification($registrationNo);
echo "<table border=1 cellpadding=1 cellspacing=0 rules=all>";
echo "<tr>";
echo "<th>&nbsp;Particular&nbsp;</th>";
echo "<th>&nbsp;Actual&nbsp;</th>";
echo "<th>&nbsp;PhilHealth&nbsp;</th>";
echo "<th>&nbsp;Company&nbsp;</th>";
echo "<th>&nbsp;Cash&nbsp;</th>";
echo "</tr>";
echo "<tr>";
echo "<td>&nbsp;<font size=3>Room</font> &nbsp;</td>";
if ($ro->getTotal("total", "Room And Board", $registrationNo) > 0) {
    echo "<td>&nbsp;";
    echo number_format($ro->getTotal("total", "Room And Board", $registrationNo), 2);
echo "<tr>";
echo "<Td>".$ro->coconutText("Age")."</tD><td>&nbsp;".$ro->getPatientRecord_age()."</tD>";
echo "<tD>&nbsp;</tD>";
echo "<Td>".$ro->coconutText("Room:")."</tD><td>".$ro->getRegistrationDetails_room()."</tD>";
echo "<td>Case:</td>";
echo "<td>".$ro->selectNow("registrationDetails","privateORhouse_case","registrationNo",$registrationNo)."</td>";
echo "</tr>";
*/
//echo "<tr>";
//echo "<td>".$ro->coconutText("Att.Doctor")."</tD><td>&nbsp;<font size=2>".$ro->getAttendingDoc($registrationNo,"Attending")."</font></td>";
//echo "<td></td>";
//echo "<td>".$ro->coconutText("Admitting Doc")."</td><tD>&nbsp;<font size=2>".$ro->getAttendingDoc($registrationNo,"Admitting")."</font></tD>";
//echo "</tr>";
echo "<tr>";
echo "<td><span class='txtSize'>Address:</span>&nbsp;</tD>";
echo "<tD><span class='txtSize'>" . $ro->getPatientRecord_address() . "</span></tD>";
echo "</tr>";
echo "</table>";
/*
echo "<table border=0>";
echo "<td><span class='txtSize'>Address:</span>&nbsp;</tD>";
echo "<tD><span class='txtSize'>".$ro->getPatientRecord_address()."</span></tD>";
echo "</table>";
*/
echo "" . $ro->checkAllReturns_notification($registrationNo) . "<br>" . $ro->checkForDispense_notification($registrationNo);
echo "<table border=1 cellpadding=1 cellspacing=0 rules=all>";
echo "<tr>";
echo "<th>&nbsp;Particular&nbsp;</th>";
echo "<th>&nbsp;Actual&nbsp;</th>";
echo "<th>&nbsp;PhilHealth&nbsp;</th>";
echo "<th>&nbsp;Company&nbsp;</th>";
Exemplo n.º 3
0
echo "<tr>";
echo "<Td>".$ro->coconutText("Age")."</tD><td>&nbsp;".$ro->getPatientRecord_age()."</tD>";
echo "<tD>&nbsp;</tD>";
echo "<Td>".$ro->coconutText("Room:")."</tD><td>".$ro->getRegistrationDetails_room()."</tD>";
echo "<td>Case:</td>";
echo "<td>".$ro->selectNow("registrationDetails","privateORhouse_case","registrationNo",$registrationNo)."</td>";
echo "</tr>";
*/
//echo "<tr>";
//echo "<td>".$ro->coconutText("Att.Doctor")."</tD><td>&nbsp;<font size=2>".$ro->getAttendingDoc($registrationNo,"Attending")."</font></td>";
//echo "<td></td>";
//echo "<td>".$ro->coconutText("Admitting Doc")."</td><tD>&nbsp;<font size=2>".$ro->getAttendingDoc($registrationNo,"Admitting")."</font></tD>";
//echo "</tr>";
echo "<tr>";
echo "<td><span class='Arial11Black'>Address:</span>&nbsp;</tD>";
echo "<tD><span class='Arial11BlackBold'>" . $ro->getPatientRecord_address() . "</span></tD>";
echo "</tr>";
echo "<tr>";
echo "<td colspan='6'><div align='center'><span class='Arial11BlackBold'>" . date("M d, Y") . " " . date("H:i:s") . "</span></div></tD>";
echo "</tr>";
echo "</table>";
/*
echo "<table border=0>";
echo "<td><span class='txtSize'>Address:</span>&nbsp;</tD>";
echo "<tD><span class='txtSize'>".$ro->getPatientRecord_address()."</span></tD>";
echo "</table>";
*/
echo "" . $ro->checkAllReturns_notification($registrationNo) . "<br>" . $ro->checkForDispense_notification($registrationNo);
echo "<table border=1 cellpadding=1 cellspacing=0 rules=all>";
echo "<tr>";
echo "<td><div align='center' class='Arial11BlackBold'>&nbsp;PARTICULARS&nbsp;</di></td>";
Exemplo n.º 4
0
}
//echo "<br><font class='informationLabel'>Mother's Name:</font>&nbsp;".$ro->selectNow("patientRecord","mothersName","patientNo",$ro->getRegistrationDetails_patientNo());
//echo "<br><font class='informationLabel'>Father's Name:</font>&nbsp;".$ro->selectNow("patientRecord","fathersName","patientNo",$ro->getRegistrationDetails_patientNo());
if ($ro->selectNow("registrationDetails", "type", "registrationNo", $registrationNo) == "OPD") {
    echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Time Registered:</font>&nbsp;" . $ro4->formatTime($ro->getRegistrationDetails_timeRegistered());
    echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Date Registered:</font>&nbsp;" . $ro4->formatDate($ro->getRegistrationDetails_dateRegistered());
} else {
    echo "<br><font class='informationLabel'>Time Registered:</font>&nbsp;" . $ro4->formatTime($ro->getRegistrationDetails_timeRegistered());
    echo "<br><div class='col-xs-3 input-group'>\n\t\t\t\t<span class='input-group-addon'><i class='glyphicon glyphicon-time'></i> Admitted</span>\n\t\t\t\t<input type='text' class='form-control' id='timeAdmission' placeholder='click to add time'>\n\t\t\t\t<span class='input-group-btn'>\n\t\t\t\t\t<button id='saveTimeBtn' class='" . $buttonClass . "'>\n\t\t\t\t\t\tSave\n\t\t\t\t\t</button>\n\t\t\t\t</span>\n\t\t\t</div>";
    echo "<font class='informationLabel'>Date Registered:</font>&nbsp;" . $ro4->formatDate($ro->getRegistrationDetails_dateRegistered());
}
//echo "<br><font class='informationLabel'>Branch Registered:</font>&nbsp;".$ro->getRegistrationDetails_branch();
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Case Type:</font>&nbsp;<a href='#' style='text-decoration:none; color:black;'>" . $ro->selectNow("registrationDetails", "privateORhouse_case", "registrationNo", $registrationNo) . "</a>";
//selectNow($table,$cols,$identifier,$identifierData)
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Room:</font>&nbsp;" . $room[0];
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Address:</font>&nbsp;" . $ro->getPatientRecord_address();
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Email:</font>&nbsp;" . $ro->selectNow("patientRecord", "email", "patientNo", $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $registrationNo));
echo "<br>&nbsp;&nbsp;<font class='informationLabel'>Registered By:</font>&nbsp;" . $ro->getRegistrationDetails_registeredBy();
if ($ro->getRegistrationDetails_type() == "IPD") {
    if ($ro->selectNow("nbs", "motherRegistrationNo", "motherRegistrationNo", $registrationNo) != "") {
        echo "<br>" . $ro->coconutImages_return("mother.jpeg");
        $ro->getBabies($registrationNo);
        echo "<br><a href='/COCONUT/patientProfile/nbs/searchBaby.php?registrationNo={$registrationNo}&username={$username}' style='text-decoration:none;'><font class='informationLabel' color=red>[+1 Baby]</font></a>&nbsp;";
    } else {
        if ($ro->selectNow("nbs", "motherRegistrationNo", "babyRegistrationNo", $registrationNo) != "") {
            echo "<br> " . $ro->coconutImages_return("mother.jpeg") . "  - <font color=blue>" . $ro->selectNow("patientRecord", "lastName", "patientNo", $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $ro->selectNow("nbs", "motherRegistrationNo", "babyRegistrationNo", $registrationNo))) . ", " . $ro->selectNow("patientRecord", "firstName", "patientNo", $ro->selectNow("registrationDetails", "patientNo", "registrationNo", $ro->selectNow("nbs", "motherRegistrationNo", "babyRegistrationNo", $registrationNo))) . "</font>&nbsp;";
        } else {
            echo "<br><a href='/COCONUT/patientProfile/nbs/searchBaby.php?registrationNo={$registrationNo}&username={$username}' style='text-decoration:none;'><font class='informationLabel' color=blue>[Add Baby]</font></a>&nbsp;";
        }
    }
} else {
Exemplo n.º 5
0
echo "<font size=3>Cabrera St,Pagadian City</font>";
echo "<br><font size=2>Philipines</font>";
echo "<br><font size=2>Tel No.(062) 2143737</font>";
echo "<hr>";
echo "<br><b><font size=5>MEDICO LEGAL</font></b>";
$ro->coconutFormStart("post", "medicoLegal_edit1.php");
$ro->coconutHidden("registrationNo", $registrationNo);
echo "<br><br><br>";
echo "<table border=0 width='70%'>";
echo "<Tr>";
echo "<td width='70%'>Name:&nbsp;<input type='text' class='patientName' value='" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "'></td>";
echo "<td width='30%'>Age:&nbsp;<input type='text' class='patientAge' value='" . $ro->getPatientRecord_Age() . "'></td>";
echo "</tr>";
echo "</table>";
echo "<table border=0 width='70%'>";
echo "<td>Address:&nbsp;<input type='text' class='patientAddress' value='" . $ro->getPatientRecord_address() . "'></td>";
echo "</table>";
echo "<Br><br>";
echo "<table border=0 width='70%'>";
echo "<tr>";
echo "<td>DATE OF INCIDENCCE:&nbsp;<input type='text' autocomplete='off' name='dateOfIncidence' class='medicoLegalInformation' value='" . $ro->selectNow("medicoLegal", "dateOfIncidence", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td>TIME OF INCIDENCCE:&nbsp;<input type='text' autocomplete='off' name='timeOfIncidence' class='medicoLegalInformation' value='" . $ro->selectNow("medicoLegal", "timeOfIncidence", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td>DATE OF EXAMINATION:&nbsp;<input type='text' autocomplete='off' name='dateOfExamination' class='medicoLegalInformation' value='" . $ro->selectNow("medicoLegal", "dateOfExamination", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
echo "<tr>";
echo "<td>TIME OF EXAMINATION:&nbsp;<input type='text' autocomplete='off' name='timeOfExamination' class='medicoLegalInformation' value='" . $ro->selectNow("medicoLegal", "timeOfExamination", "registrationNo", $registrationNo) . "'></td>";
echo "</tr>";
Exemplo n.º 6
0
echo "</center>";
echo "<br>";
echo "<centeR>";
echo "<table border=0>";
echo "<tr>";
echo "<td><font size=1>Name:</font>&nbsp;</td>";
echo "<td><font size=1><b>" . $ro->getPatientRecord_lastName() . ", " . $ro->getPatientRecord_firstName() . "</b></font></td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td><font size=1>Date:</font></td>";
echo "<td><font size=1><b>" . date("M, d Y") . "</b></font></td>";
echo "</tr>";
echo "<tr>";
echo "<td><font size=2>Address:</font>&nbsp;</td>";
echo "<td><font size=2><b>" . $ro->getPatientRecord_address() . "</b></font></td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td>&nbsp;&nbsp;</td>";
echo "<td><font size=2>Age/Sex:</font></td>";
echo "<td><font size=2><b> " . $ro->getPatientRecord_age() . "/" . $ro->getPatientRecord_gender() . "</b></font></td>";
echo "</tr>";
echo "</table>";
echo "<table border=0>";
echo "<tr>";
echo "<td><font size=2>Diagnosis:</font></td>";
echo "<td><b>" . $ro->selectNow("SOAP", "assessment", "registrationNo", $registrationNo) . "</b></td>";
echo "</tr>";
echo "</table>";
echo "<table border=0 width='560px;'>";
echo "<tr>";