Add ward MAR board plus nursing notes and SBAR handovers.
Deploy Ladill Care / deploy (push) Successful in 52s

Nurses can chart given/held/refused doses from active prescriptions on placed patients, and document chronologic notes and unit shift handovers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-20 10:15:58 +00:00
co-authored by Cursor
parent 45a1a95142
commit cb6e59e5ed
20 changed files with 2021 additions and 1 deletions
@@ -24,7 +24,19 @@
: null;
$permissions = app(\App\Services\Care\CarePermissions::class);
$canManageUnit = $permissions->can($member, 'admin.departments.manage');
$canMar = $permissions->can($member, 'mar.view');
$canNotes = $permissions->can($member, 'nursing.notes.view');
$canHandover = $permissions->can($member, 'nursing.handover.view');
@endphp
@if ($canMar)
<a href="{{ route('care.care-units.mar', $unit) }}" class="btn-primary">MAR board</a>
@endif
@if ($canNotes)
<a href="{{ route('care.care-units.notes', $unit) }}" class="btn-secondary">Nursing notes</a>
@endif
@if ($canHandover)
<a href="{{ route('care.care-units.handovers', $unit) }}" class="btn-secondary">Handovers</a>
@endif
@if ($canManageUnit)
<a href="{{ route('care.care-units.edit', $unit) }}" class="btn-secondary">Edit unit</a>
<a href="{{ route('care.staff-assignments.create', ['care_unit_id' => $unit->id]) }}" class="btn-secondary">Assign staff</a>
@@ -37,7 +49,7 @@
<div class="flex flex-wrap items-center justify-between gap-3">
<div>
<h2 class="text-base font-semibold text-slate-900">Patients on this unit</h2>
<p class="text-sm text-slate-500">Active visit placements foundation for MAR and ward boards.</p>
<p class="text-sm text-slate-500">Active visit placements open MAR, notes, and handovers from the actions above.</p>
</div>
<p class="text-sm font-medium text-slate-700">{{ $placedVisits->count() }} placed</p>
</div>
@@ -64,6 +76,9 @@
<td class="py-3 pr-4">{{ $visit->bed?->label ?? '—' }}</td>
<td class="py-3 pr-4 whitespace-nowrap">{{ $visit->placed_at?->format('d M Y H:i') ?? '—' }}</td>
<td class="py-3 text-right whitespace-nowrap">
@if ($canMar ?? false)
<a href="{{ route('care.visits.mar', $visit) }}" class="mr-2 text-indigo-600 hover:text-indigo-800">MAR</a>
@endif
@if ($canPlace)
<form method="POST" action="{{ route('care.visits.placement.destroy', $visit) }}" class="inline" onsubmit="return confirm('Discharge placement and free the bed?')">
@csrf @method('DELETE')