Replace ambulance Call next queue with an EMS dispatch board.
Deploy Ladill Care / deploy (push) Successful in 35s

Home columns follow New call → Dispatched → On scene → Transport → Handover; walk-ins land as New call and Call next is disabled for this module.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-20 12:13:33 +00:00
co-authored by Cursor
parent b7aca6ee2b
commit 4e753e68c0
12 changed files with 419 additions and 59 deletions
+7 -1
View File
@@ -297,9 +297,15 @@ class AppointmentService
AuditLogger::record($ownerRef, 'appointment.walk_in', $organization->id, $actorRef, Appointment::class, $appointment->id);
$appointment = $appointment->load(['patient', 'practitioner', 'branch', 'visit']);
$appointment = $appointment->load(['patient', 'practitioner', 'branch', 'visit', 'department']);
$this->queueBridge->issueForAppointment($organization, $appointment);
if ($appointment->department?->type === 'ambulance' && $appointment->visit) {
$appointment->visit->update([
'specialty_stage' => \App\Services\Care\Ambulance\AmbulanceWorkflowService::STAGE_CHECK_IN,
]);
}
return $appointment->fresh(['patient', 'practitioner', 'branch', 'visit']);
}