@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.
@csrf
Record SMS appointment reminder preference
@csrf
Queue upcoming appointment reminders

Looks 1–3 days ahead and includes only scheduled appointments with active SMS opt-in.

Communication preferences
@forelse($prefs as $p)@empty@endforelse
PatientPhoneSMS remindersConsentEvidence
{{ $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 }}
No preferences recorded.
Notification outbox (not sent)
@forelse($outbox as $o)@empty@endforelse
QueuedPatient IDAppointmentRecipientStatusMessage
{{ $o->created_at }}{{ $o->patient_id }}{{ $o->appointment_id }}{{ $o->recipient }}{{ $o->status }}{{ $o->message }}
No reminders queued.
@endsection