getAdmittedPatientList();
$showList="";
while($arr=$list->fetchArray()){
$pid=$arr["pid"];
$showList=$showList."
".$pid." | ".$arr["ward"]."-".$arr["bed"]." | ".$arr["name"]." | ".$arr["diagnosis"]." |
";
}
$reqs=$db->getRequisitionList();
$showReqs="";
while($arr=$reqs->fetchArray()){
$pid=$arr["pid"];
if(!empty($arr["form"])){
if($arr["form"]=="report-cs"){
$test="".$arr["test"]."";
}
else{
$test="".$arr["test"]."";
}
}
else{
$test="".$arr["test"]."";
}
$showReqs=$showReqs."".$test." | ".$arr["sample"]." | ".$arr["room"]." | ".date("M j", $arr["time"])." | ".$pid." |
| ".$arr["addl"]." |
";
}
?>
View Info
Requisition List
Test Needed | Sample | Place | Date | Patient ID |