Add visit placement on care units and beds.
Deploy Ladill Care / deploy (push) Successful in 38s

Patients can be admitted, transferred, and discharged from unit/bed stays with occupancy sync, so MAR and ward boards have inpatient context.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-20 10:10:37 +00:00
co-authored by Cursor
parent 3735be3425
commit 45a1a95142
16 changed files with 1036 additions and 22 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ class PatientService
]);
$visits = $patient->visits()
->with(['branch'])
->with(['branch', 'careUnit', 'bed'])
->orderByDesc('checked_in_at')
->limit(10)
->get();