{{ $settings->localized_doctor_name }}

{{ $settings->localized_doctor_title }}

{{ $settings->localized_specialization }}

@if($settings->registration_no)

BMDC: {{ $settings->registration_no }}

@endif @if($settings->prescription_header)

{{ app()->getLocale() === 'bn' ? ($settings->prescription_header_bn ?: $settings->prescription_header) : $settings->prescription_header }}

@endif
{{ __('appointment.chamber') }}: {{ $appointment?->chamber?->localized_name ?? '-' }} {{ __('appointment.date') }}: {{ \App\Helpers\BanglaNumber::date($rx->created_at, 'd/m/Y') }} {{ __('prescription.number') }}: {{ $rx->prescription_no }}
{{ __('patient.name') }}: {{ $patient->name }} {{ __('patient.age') }}: {{ $patient->age ?? '-' }} {{ __('patient.gender') }}: {{ $patient->gender ?? '-' }}

{{ __('prescription.chief_complaint') }}: {{ $rx->chief_complaint ?: '-' }}

{{ __('prescription.findings') }}: {{ $rx->formatted_vitals ?: ($rx->findings ?: '-') }}

{{ __('prescription.diagnosis') }}: {{ $rx->diagnosis ?: '-' }}

{{ __('prescription.medicines') }}
@foreach(($rx->medicines ?? []) as $index => $medicine)
{{ $index + 1 }}. {{ $medicine['name'] ?? '-' }}
{{ $medicine['dosage'] ?? '-' }} | {{ $medicine['duration'] ?? '-' }} | {{ app()->getLocale() === 'bn' ? ($medicine['instructions_bn'] ?? ($medicine['instructions'] ?? '-')) : ($medicine['instructions'] ?? '-') }}
@endforeach
{{ __('prescription.investigations') }}

{{ collect($rx->tests ?? [])->join(', ') ?: '-' }}

{{ __('prescription.advice') }}

{{ app()->getLocale() === 'bn' ? ($rx->advice_bn ?: $rx->advice) : ($rx->advice ?: '-') }}

{{ __('common.follow_up') }}

{{ $rx->follow_up_date ? \App\Helpers\BanglaNumber::date($rx->follow_up_date, 'd/m/Y') : '-' }} @if($rx->follow_up_note) ({{ $rx->follow_up_note }}) @endif