Include checked-in clinic visits on outpatient nursing boards.
Deploy Ladill Care / deploy (push) Successful in 2m12s
Deploy Ladill Care / deploy (push) Successful in 2m12s
OPD/service units list open department appointments without manual place; nursing actions soft-place the visit onto the unit. Inpatient wards stay placement-only. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -101,12 +101,7 @@ class MarService
|
||||
{
|
||||
$day = Carbon::parse($day ?? now())->startOfDay();
|
||||
|
||||
$visits = Visit::owned($ownerRef)
|
||||
->where('organization_id', $unit->organization_id)
|
||||
->where('care_unit_id', $unit->id)
|
||||
->whereIn('status', [Visit::STATUS_OPEN, Visit::STATUS_IN_PROGRESS])
|
||||
->with(['patient', 'bed'])
|
||||
->get();
|
||||
$visits = app(CareUnitCensusService::class)->visitsForUnit($unit, $ownerRef);
|
||||
|
||||
$rows = [];
|
||||
foreach ($visits as $visit) {
|
||||
|
||||
Reference in New Issue
Block a user