{{ config('app.name', 'Clinic') }}

{{ __('clinic.print_file') }}

{{ $patient->full_name }}

{{ $patient->patient_code }}

{{ __('clinic.overview') }}
{{ __('clinic.phone') }}
{{ $patient->phone }}
@if($patient->whatsapp)
{{ __('clinic.whatsapp') }}
{{ $patient->whatsapp }}
@endif
{{ __('clinic.gender') }}
{{ __('clinic.' . $patient->gender) }}
{{ __('clinic.age') }}
{{ $patient->age ?? '—' }}
@if($patient->birth_date)
{{ __('clinic.birth_date') }}
{{ $patient->birth_date->format('Y-m-d') }}
@endif @if($patient->national_id)
{{ __('clinic.national_id') }}
{{ $patient->national_id }}
@endif @if($patient->address)
{{ __('clinic.address') }}
{{ $patient->address }}
@endif
{{ __('clinic.medical_history') }}

{{ __('clinic.chronic_diseases') }}

{!! nl2br(e($patient->chronic_diseases ?? '—')) !!}

{{ __('clinic.allergies') }}

{!! nl2br(e($patient->allergies ?? '—')) !!}

{{ __('clinic.current_medications') }}

{!! nl2br(e($patient->current_medications ?? '—')) !!}

{{ __('clinic.medical_history') }}

{!! nl2br(e($patient->medical_history ?? '—')) !!}

{{ __('clinic.visits') }}
@forelse ($patient->visits as $v)

{{ $v->chief_complaint }}

{{ $v->visit_date->format('Y-m-d H:i') }} · 👨‍⚕️ {{ $v->doctor->name ?? '—' }}
@if($v->blood_pressure || $v->pulse || $v->temperature || $v->weight || $v->height)
{{ __('clinic.blood_pressure') }} {{ __('clinic.pulse') }} {{ __('clinic.temperature') }} {{ __('clinic.weight') }} {{ __('clinic.height') }}
{{ $v->blood_pressure ?? '—' }} {{ $v->pulse ?? '—' }} {{ $v->temperature ?? '—' }} {{ $v->weight ?? '—' }} {{ $v->height ?? '—' }}
@endif @if($v->complaint_details)
{{ __('clinic.complaint_details') }}: {{ $v->complaint_details }}
@endif @if($v->symptoms)
{{ __('clinic.symptoms') }}: {{ $v->symptoms }}
@endif @if($v->diagnosis)
{{ __('clinic.diagnosis') }}: {{ $v->diagnosis }}
@endif @if($v->examination_notes)
{{ __('clinic.examination_notes') }}: {{ $v->examination_notes }}
@endif @if($v->treatment_plan)
{{ __('clinic.treatment_plan') }}: {{ $v->treatment_plan }}
@endif @if($v->prescription_notes)
💊 {{ __('clinic.prescription_notes') }}: {{ $v->prescription_notes }}
@endif @if($v->required_tests)
{{ __('clinic.required_tests') }}: {{ $v->required_tests }}
@endif @if($v->required_radiology)
{{ __('clinic.required_radiology') }}: {{ $v->required_radiology }}
@endif
@empty

{{ __('clinic.no_records') }}

@endforelse