@extends('layouts.app') @section('title', 'زيارة #' . $record->id) @section('content')
المريض
{{ $record->patient->first_name }} {{ $record->patient->last_name }}
الطبيب
د. {{ $record->doctor?->name }}
الشكوى
{{ $record->chief_complaint }}
@if($record->history_of_present_illness)
تاريخ المرض الحالي
{{ $record->history_of_present_illness }}
@endif @if($record->examination_findings)
الفحص
{{ $record->examination_findings }}
@endif @if($record->diagnosis)
التشخيص
{{ $record->diagnosis }}
@endif @if($record->treatment_plan)
خطة العلاج
{{ $record->treatment_plan }}
@endif @if($record->follow_up_date)
المتابعة
{{ $record->follow_up_date->format('Y-m-d') }} — {{ $record->follow_up_instructions }}
@endif
@foreach($record->prescriptions as $rx) طباعة
    @foreach($rx->items as $it)
  • {{ $it->medication_name }} — {{ $it->dosage }} · {{ $it->frequency }} · {{ $it->duration }} @if($it->instructions)
    {{ $it->instructions }}
    @endif
  • @endforeach
@endforeach
@if($record->vital_signs)
    @foreach($record->vital_signs as $k => $v) @if($v)
  • {{ $k }}{{ $v }}
  • @endif @endforeach
@endif @if($record->attachments->count()) @foreach($record->attachments as $att) @endforeach @endif
@endsection