Route all specialty patient flow through Queue.
Deploy Ladill Care / deploy (push) Successful in 37s
Deploy Ladill Care / deploy (push) Successful in 37s
Remove Dentistry and other specialty modules from the sidebar; Queue now uses each doctor's specialty desk context for Call next, waiting lists, and Start into specialty clinical workspaces. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -29,8 +29,16 @@ class SpecialtyModuleController extends Controller
|
||||
SpecialtyModuleService $modules,
|
||||
SpecialtyShellService $shell,
|
||||
CareQueueBridge $queueBridge,
|
||||
): View {
|
||||
return $this->renderShell($request, $module, 'overview', $modules, $shell, $queueBridge);
|
||||
): RedirectResponse {
|
||||
$definition = $modules->definition($module);
|
||||
abort_unless($definition, 404);
|
||||
abort_unless(
|
||||
$modules->memberCanAccess($this->organization($request), $this->member($request), $module),
|
||||
403,
|
||||
);
|
||||
|
||||
// Specialty patient flow lives on Queue; clinical depth opens from Queue Start.
|
||||
return redirect()->route('care.queue.index');
|
||||
}
|
||||
|
||||
public function visits(
|
||||
@@ -39,8 +47,15 @@ class SpecialtyModuleController extends Controller
|
||||
SpecialtyModuleService $modules,
|
||||
SpecialtyShellService $shell,
|
||||
CareQueueBridge $queueBridge,
|
||||
): View {
|
||||
return $this->renderShell($request, $module, 'visits', $modules, $shell, $queueBridge);
|
||||
): RedirectResponse {
|
||||
$definition = $modules->definition($module);
|
||||
abort_unless($definition, 404);
|
||||
abort_unless(
|
||||
$modules->memberCanAccess($this->organization($request), $this->member($request), $module),
|
||||
403,
|
||||
);
|
||||
|
||||
return redirect()->route('care.queue.index');
|
||||
}
|
||||
|
||||
public function history(
|
||||
|
||||
Reference in New Issue
Block a user