روشتة طبية
المريض: {{ $prescription->patient?->first_name }} {{ $prescription->patient?->last_name }}
السن:
@if($prescription->patient?->birth_date)
{{ \Carbon\Carbon::parse($prescription->patient->birth_date)->age }} سنة
@else
—
@endif
الطبيب: د. {{ $prescription->doctor?->user?->name }}
التخصص: {{ $prescription->doctor->specialty->name }}
التاريخ: {{ $prescription->created_at->format('Y-m-d') }}
رقم الروشتة: #{{ $prescription->id }}
@if($prescription->visit_id)
— مرتبطة بزيارة رقم {{ $prescription->visit_id }}
@endif
{!! $prescription->notes !!}
{{-- @if($prescription->items && $prescription->items->count())--}}
{{--
--}}
{{--
الأدوية:
--}}
{{--
--}}
{{-- @foreach($prescription->items as $item)--}}
{{-- - --}}
{{-- {{ $item->medication->name ?? '—' }}
--}}
{{-- {!! $item->instructions !!}--}}
{{-- --}}
{{-- @endforeach--}}
{{--
--}}
{{--
--}}
{{-- @endif--}}