@php $settingValue = getSettingValue(); @endphp {{ __('messages.ipd_prescription') }}
{{ __('messages.ipd_patient_prescription.prescription_details') }} {{ __('messages.reports') }}
{{ __('messages.common.address') . ':' }}{{ $settingValue['hospital_address']['value'] }}
{{ __('messages.user.phone') . ':' }}{{ $settingValue['hospital_phone']['value'] }}
{{ __('messages.user.email') . ':' }}{{ $settingValue['hospital_email']['value'] }}

{!! !empty($opdPrescription->header_note) ? nl2br(e($opdPrescription->header_note)) : __('messages.common.n/a') !!}
{{ $opdPrescription->patient->patient->user->full_name }}
{{ $opdPrescription->patient->patient->user->email }}
{{ $opdPrescription->patient->patient->user->phone != null ? $opdPrescription->patient->patient->user->phone : __('messages.common.n/a') }}
{{ $opdPrescription->patient->patient->user->gender == 0 ? __('messages.user.male') : __('messages.user.female') }}
{{ $opdPrescription->patient->patient->user->age }}
{{ $opdPrescription->patient->height != null ? $opdPrescription->patient->height : __('messages.common.n/a') }}
{{ $opdPrescription->patient->weight != null ? $opdPrescription->patient->weight : __('messages.common.n/a') }}
{{ $opdPrescription->patient->bp != null ? $opdPrescription->patient->bp : __('messages.common.n/a') }}
{{ $opdPrescription->patient->doctor->user->full_name }}
{{ $opdPrescription->patient->opd_number }}
{{ date('jS M, Y H:i', strtotime($opdPrescription->patient->appointment_date)) }}
{{ $opdPrescription->patient->patientCase ? $opdPrescription->patient->patientCase->case_id : __('messages.common.n/a') }}
@if (isset($opdPrescription->opdPrescriptionItems)) @foreach ($opdPrescription->opdPrescriptionItems as $opdPrescriptionItem) @endforeach @endif
{{ __('messages.ipd_patient_prescription.category_id') }} {{ __('messages.ipd_patient_prescription.medicine_id') }} {{ __('messages.ipd_patient_prescription.dosage') }} {{ __('messages.medicine_bills.dose_interval') }} {{ __('messages.ipd_patient_prescription.instruction') }}
{{ $opdPrescriptionItem->medicineCategory->name }} - {{ $loop->iteration }} {{ $opdPrescriptionItem->medicine->name }} {{ $opdPrescriptionItem->dosage }}@if ($opdPrescriptionItem->time == 0) ({{ __('messages.prescription.after_meal') }}) @else ({{ __('messages.prescription.before_meal') }}) @endif {{ App\Models\Prescription::DOSE_INTERVAL[$opdPrescriptionItem->dose_interval] ?? 'N\A' }} {!! !empty($opdPrescriptionItem->instruction) ? nl2br(e($opdPrescriptionItem->instruction)) : __('messages.common.n/a') !!}