ประวัติมารับบริการ
-
prepare($sql3);
if($stmt3) {
$stmt3->bind_param("s", $hn);
$stmt3->execute();
$res3 = $stmt3->get_result();
while ($row3 = $res3->fetch_assoc()) {
$is_active = ($vdate == $row3['vstdate']) ? 'active' : '';
$nn_val = ($row3['an'] != NULL) ? $row3['an'] : $row3['vn'];
$link = "patient.php?hn=" . base64_encode($hn) . "&vdate=" . base64_encode($row3['vstdate']) . "&nn=" . base64_encode($nn_val);
echo "
- ";
echo "" . thai_date2($row3['vstdate']) . "";
echo ""; if ($row3['an'] != NULL) { echo 'Admit'; } if ($row3['vn'] == $nn || $row3['an'] == $nn) { if ($nn != '') { echo 'View'; } } echo ""; echo " ";
}
$stmt3->close();
}
}
?>
กรุณาเลือกประวัติการมารับบริการด้านซ้ายมือ หรือกลับไปค้นหาผู้ป่วยใหม่
";
}
?>