user

{{ $prescription['prescription']->doctor->user->full_name }}

{{ $prescription['prescription']->doctor->specialist }}

{{ $prescription['prescription']->patient->user->full_name }}
{{ \Carbon\Carbon::parse($prescription['prescription']->created_at)->isoFormat('DD/MM/Y') }}
@if ($prescription['prescription']->patient->user->dob) {{ \Carbon\Carbon::parse($prescription['prescription']->patient->user->dob)->diff(\Carbon\Carbon::now())->y }} {{ __('messages.subscription_pricing_plans.year') }} @else N/A @endif
@if (empty($prescription['prescription']->doctor->address->address1) && empty($prescription['prescription']->doctor->address->address2) && empty($prescription['prescription']->doctor->address->city)) {{ __('messages.common.n/a') }} @else {{ !empty($prescription['prescription']->doctor->address->address1) ? $prescription['prescription']->doctor->address->address1 : '' }} {{ !empty($prescription['prescription']->doctor->address->address2) ? (!empty($prescription['prescription']->doctor->address->address1) ? ',' : '') : '' }} {{ empty($prescription['prescription']->doctor->address->address1) || !empty($prescription['prescription']->doctor->address->address2) ? (!empty($prescription['prescription']->doctor->address->address2) ? $prescription['prescription']->doctor->address->address2 : '') : '' }} {{ !empty($prescription['prescription']->doctor->address->city) ? ',' : '' }} @if (!empty($prescription['prescription']->doctor->address->city))
@endif {{ !empty($prescription['prescription']->doctor->address->city) ? $prescription['prescription']->doctor->address->city : '' }} {{ !empty($prescription['prescription']->doctor->address->zip) ? ',' : '' }} @if ($prescription['prescription']->doctor->address->zip)
@endif {{ !empty($prescription['prescription']->doctor->address->zip) ? $prescription['prescription']->doctor->address->zip : '' }}

{{ !empty($prescription['prescription']->doctor->user->phone) ? $prescription['prescription']->doctor->user->region_code.$prescription['prescription']->doctor->user->phone : '' }}

{{ !empty($prescription['prescription']->doctor->user->email) ? $prescription['prescription']->doctor->user->email : '' }}

@endif

{{ __('messages.prescription.problem') }}:
@if ($prescription['prescription']->problem_description != null)

{{ $prescription['prescription']->problem_description }}

@else {{ __('messages.common.n/a') }} @endif
{{ __('messages.prescription.test') }}:
@if ($prescription['prescription']->test != null)

{{ $prescription['prescription']->test }}

@else {{ __('messages.common.n/a') }} @endif
{{ __('messages.prescription.advice') }}:
@if ($prescription['prescription']->advice != null)

{{ $prescription['prescription']->advice }}

@else N/A @endif
{{--

{{ __('messages.prescription.physical_information') }}

--}} @if (!empty($prescription['prescription']->food_allergies))
{{ __('messages.prescription.food_allergies') }}: {{ $prescription['prescription']->food_allergies }}
@endif @if (!empty($prescription['prescription']->tendency_bleed))
{{ __('messages.prescription.tendency_bleed') }}: {{ $prescription['prescription']->tendency_bleed }}
@endif @if (!empty($prescription['prescription']->heart_disease))
{{ __('messages.prescription.heart_disease') }}: {{ $prescription['prescription']->heart_disease }}
@endif @if (!empty($prescription['prescription']->high_blood_pressure))
{{ __('messages.prescription.high_blood_pressure') }}: {{ $prescription['prescription']->high_blood_pressure }}
@endif @if (!empty($prescription['prescription']->diabetic))
{{ __('messages.prescription.diabetic') }}: {{ $prescription['prescription']->diabetic }}
@endif @if (!empty($prescription['prescription']->surgery))
{{ __('messages.prescription.surgery') }}: {{ $prescription['prescription']->surgery }}
@endif @if (!empty($prescription['prescription']->accident))
{{ __('messages.prescription.accident') }}: {{ $prescription['prescription']->accident }}
@endif @if (!empty($prescription['prescription']->others))
{{ __('messages.prescription.others') }}: {{ $prescription['prescription']->others }}
@endif @if (!empty($prescription['prescription']->medical_history))
{{ __('messages.new_change.added_at') }}: {{ $prescription['prescription']->medical_history }}
@endif @if (!empty($prescription['prescription']->current_medication))
{{ __('messages.prescription.current_medication') }}: {{ $prescription['prescription']->current_medication }}
@endif @if (!empty($prescription['prescription']->female_pregnancy))
{{ __('messages.prescription.female_pregnancy') }}: {{ $prescription['prescription']->female_pregnancy }}
@endif @if (!empty($prescription['prescription']->breast_feeding))
{{ __('messages.prescription.breast_feeding') }}: {{ $prescription['prescription']->breast_feeding }}
@endif @if (!empty($prescription['prescription']->plus_rate))
{{ __('messages.prescription.plus_rate') }}: {{ $prescription['prescription']->plus_rate }}
@endif @if (!empty($prescription['prescription']->temperature))
{{ __('messages.prescription.temperature') }}: {{ $prescription['prescription']->temperature }}
@endif @if (!empty($prescription['prescription']->problem_description))
{{ __('messages.prescription.problem_description') }}: {{ $prescription['prescription']->problem_description }}
@endif
{{ __('messages.prescription.rx') }}:
@if (empty($medicines)) {{ __('messages.common.n/a') }} @else @foreach ($prescription['prescription']->getMedicine as $medicine) @foreach ($medicine->medicines as $medi) @break @endforeach @endforeach @endif
{{ __('messages.prescription.medicine_name') }} {{ __('messages.ipd_patient_prescription.dosage') }} {{ __('messages.prescription.duration') }} {{ __('messages.medicine_bills.dose_interval') }}
{{ $medi->name }} {{ $medicine->dosage }} @if ($medicine->time == 0) (After Meal) @else (Before Meal) @endif {{ $medicine->day }} Day {{ App\Models\Prescription::DOSE_INTERVAL[$medicine->dose_interval] }}

@if ($prescription['prescription']->next_visit_qty != null) {{ __('messages.prescription.next_visit') }} : {{ $prescription['prescription']->next_visit_qty }} @if ($prescription['prescription']->next_visit_time == 0) {{ __('messages.prescription.days') }} @elseif($prescription['prescription']->next_visit_time == 1) {{ __('messages.subscription_pricing_plans.month') }} @else {{ __('messages.subscription_pricing_plans.year') }} @endif @endif


{{ $prescription['prescription']->doctor->user->full_name }}

{{ $prescription['prescription']->doctor->specialist }}