@extends('layouts.app') @section('title','Patient communications')
@section('content')
Patient communication preferences & reminder queue
SMS reminders are queued only when explicit opt-in evidence is recorded. This build does not send SMS; an approved SMS gateway, data-processing agreement, delivery monitoring and opt-out process must be configured before dispatch is enabled.
Communication preferences
| Patient | Phone | SMS reminders | Consent | Evidence |
@forelse($prefs as $p)| {{ $p->patient_number }} — {{ $p->first_name }} {{ $p->last_name }} | {{ $p->phone_number }} | {{ $p->sms_appointment_reminders?'Opted in':'Opted out' }} | {{ $p->consented_at ?? $p->withdrawn_at }} | {{ $p->consent_evidence_reference }} |
@empty| No preferences recorded. |
@endforelse
Notification outbox (not sent)
| Queued | Patient ID | Appointment | Recipient | Status | Message |
@forelse($outbox as $o)| {{ $o->created_at }} | {{ $o->patient_id }} | {{ $o->appointment_id }} | {{ $o->recipient }} | {{ $o->status }} | {{ $o->message }} |
@empty| No reminders queued. |
@endforelse
@endsection