@if($letterhead) Letterhead @else

{{ $doctor->full_name }}

{{ $doctor->qualification }}

Practice Number: {{ $doctor->practice_number }}

@endif

{{ $doctor->full_name }}

{{ $doctor->qualification }}

Practice Number: {{ $doctor->practice_number }}

{{ $doctor->phone }}

Patient Information

Patient ID: {{ $patient->patient_id }}

Name: {{ $patient->full_name }}

Age: {{ $patient->date_of_birth ? \Carbon\Carbon::parse($patient->date_of_birth)->age : 'N/A' }}

DOB: {{ $patient->date_of_birth ? \Carbon\Carbon::parse($patient->date_of_birth)->format('m/d/Y') : 'N/A' }}

Gender: {{ $patient->gender ?? 'N/A' }}

Payment Mode: {{ $patient->payment_mode }}

@if($patient->payment_mode === 'Medical Aid Payment')

Medical Aid: {{ $patient->medical_aid_number ?? 'N/A' }}

Main Member: {{ $patient->main_member ?? 'N/A' }}

@endif
@if($vitals)

Vitals

Blood Pressure: {{ $vitals->blood_pressure ?? 'N/A' }} mmHg Pulse Rate: {{ $vitals->pulse_rate ?? 'N/A' }} bpm
Temperature: {{ $vitals->temperature ?? 'N/A' }} °C RBS: {{ $vitals->rbs ?? 'N/A' }} %
@endif

Diagnosis: {{ $prescription->diagnosis ?? 'N/A' }}

Prescription

@foreach($items as $item) @endforeach
# Medicine Name Dosage Frequency Instructions Duration
{{ $item->item_number }} {{ $item->medicine_name }} {{ $item->dosage }} {{ $item->frequency }} {{ $item->instructions ?? 'N/A' }} {{ $item->duration }}
@if($prescription->additional_prescription_details)

Additional Prescription Details

{{ $prescription->additional_prescription_details }}

@endif @if($stamp) Stamp @endif