@extends('layouts.app') @section('title', '随访提醒 - 病例回访提醒系统') @section('content')
{{ $stats['count'] }} 本月待随访
{{ $stats['completed'] }} 已完成
{{ $stats['total'] }} 总患者
@if($reminders->isEmpty())
本月暂无需要随访的患者

太棒了!本月没有需要随访的患者

@else
@foreach($reminders as $reminder) @php $patient = $reminder['patient']; $followUpDate = $reminder['follow_up_date']; $followUpNumber = $reminder['follow_up_number']; @endphp
{{-- 卡片头部 --}}
{{ mb_substr($patient->name, 0, 1) }}
{{ $patient->name }}
{{ $patient->gender }} · {{ $patient->age }}岁
第{{ $followUpNumber }}次
{{-- 诊断标签 --}}
{{ $patient->getDiagnosisType() }}
{{-- 关键信息 --}}
🏥 转诊日期 {{ $patient->discharge_date->format('Y-m-d') }}
📅 随访日期 {{ $followUpDate->format('Y-m-d') }}
📞 联系方式 @if($patient->phone) {{ $patient->phone }} @else - @endif
📍 地址 {{ $patient->address ?: '-' }}
@if($patient->remark)
📝 备注 {{ $patient->remark }}
@endif
{{-- 拨打电话按钮 --}} @if($patient->phone) @endif
@endforeach
@endif @endsection