@extends('layouts.admin') @section('title', 'Safety Alert') @section('content')
← All safety alerts

Safety alert review

Confirm response details before acknowledging this alert.

@if ($alert->acknowledged_at) Acknowledged @else Active @endif

Patient

@if ($alert->patientProfile) {{ $alert->patientProfile?->user?->name ?? 'Patient' }} @else

Patient

@endif

{{ $alert->room_location ?? 'Location not reported' }}

Triggered

{{ $alert->triggered_at?->format('M j, Y g:ia') ?? '—' }}

{{ $alert->triggered_at?->diffForHumans() }}

Alert detail

Question

{{ $alert->question_text ?? 'Question not captured' }}

Recorded answer

{{ $alert->answer_value ?? 'Answer not captured' }}

@if ($alert->assessmentResponse?->assessmentTemplate)

Assessment

{{ $alert->assessmentResponse->assessmentTemplate->name }}

@endif

Care team

PCP

{{ $alert->patientProfile?->pcp?->name ?? 'Unassigned' }}

BHCM

{{ $alert->patientProfile?->bhcm?->name ?? 'Unassigned' }}

@if ($alert->acknowledged_at)

Response recorded

Acknowledged by {{ $alert->acknowledgedBy?->name ?? 'staff' }} on {{ $alert->acknowledged_at->format('M j, Y g:ia') }}.

@else

Acknowledge response

Use this after staff has responded according to clinic safety workflow.

@csrf
@endif
@endsection