|
|
|
|
@ -184,7 +184,7 @@ public function CheckAppointment()
|
|
|
|
|
->count();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($departmentEnabled && $hasEnabledRoom > 0) {
|
|
|
|
|
if ($departmentEnabled && $hasEnabledRoom > 0 && !in_array($patientType, [2, 3])) {
|
|
|
|
|
$is_redirect = true;
|
|
|
|
|
$url = $this->build_yiji_url($cardNo, $entrust_ids, $visitSqNo);
|
|
|
|
|
} else {
|
|
|
|
|
|