@php $settingValue = getSettingValue(); @endphp {{ __('messages.delete.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'] }}

@if (!empty($ipdPrescription->header_note))
{!! !empty($ipdPrescription->header_note) ? nl2br(e($ipdPrescription->header_note)) : __('messages.common.n/a') !!}
@endif
{{ $ipdPrescription->patient->patient->user->full_name }}
{{ $ipdPrescription->patient->patient->user->email }}
{{ $ipdPrescription->patient->patient->user->phone != null ? $ipdPrescription->patient->patient->user->region_code.$ipdPrescription->patient->patient->user->phone : __('messages.common.n/a') }}
{{ $ipdPrescription->patient->patient->user->gender == 0 ? __('messages.user.male') : __('messages.user.female') }}
{{ $ipdPrescription->patient->patient->user->age }}
{{ $ipdPrescription->patient->height != null ? $ipdPrescription->patient->height : __('messages.common.n/a') }}
{{ $ipdPrescription->patient->weight != null ? $ipdPrescription->patient->weight : __('messages.common.n/a') }}
{{ $ipdPrescription->patient->bp != null ? $ipdPrescription->patient->bp : __('messages.common.n/a') }}
{{ $ipdPrescription->patient->doctor->user->full_name }}
{{ $ipdPrescription->patient->ipd_number }}
{{ date('jS M, Y H:i', strtotime($ipdPrescription->patient->admission_date)) }}
{{ $ipdPrescription->patient->patientCase ? $ipdPrescription->patient->patientCase->case_id : __('messages.common.n/a') }}
@if (!empty($ipdPrescription->footer_note)) @endif
@if (isset($ipdPrescription->ipdPrescriptionItems)) @foreach ($ipdPrescription->ipdPrescriptionItems as $ipdPrescriptionItem) @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') }}
{{ $ipdPrescriptionItem->medicineCategory->name }} - {{ $loop->iteration }} {{ $ipdPrescriptionItem->medicine->name }} {{ $ipdPrescriptionItem->dosage }}@if ($ipdPrescriptionItem->time == 0) ({{ __('messages.prescription.after meal') }}) @else ({{ __('messages.prescription.before meal') }}) @endif {{ App\Models\Prescription::DOSE_INTERVAL[$ipdPrescriptionItem->dose_interval] ?? 'N\A' }} {!! !empty($ipdPrescriptionItem->instruction) ? nl2br(e($ipdPrescriptionItem->instruction)) : __('messages.common.n/a') !!}