@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($ipdPrescription->header_note) ? nl2br(e($ipdPrescription->header_note)) : __('messages.common.n/a') !!}
{{ $ipdPrescription->patient->patient->user->full_name }}
{{ $ipdPrescription->patient->patient->user->email }}
{{ $ipdPrescription->patient->patient->user->phone != null ? $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 (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') !!}
{{-- @php $settingValue = getSettingValue(); @endphp
product-image

{{ __('messages.common.address') . ':' }} {{ $settingValue['hospital_address']['value'] }}

{{ __('messages.user.phone') . ':' }} {{ $settingValue['hospital_phone']['value'] }}

{{ __('messages.user.email') . ':' }} {{ $settingValue['hospital_email']['value'] }}

{{ __('messages.common.created_on') . ':' }} {{ date('jS M, Y H:i', strtotime($ipdPrescription->created_at)) }}


{!! !empty($ipdPrescription->header_note) ? nl2br(e($ipdPrescription->header_note)) : __('messages.common.n/a') !!}


{{ __('messages.ipd_patient.ipd_number') . ':' }}
{{ $ipdPrescription->patient->ipd_number }}
{{ __('messages.bed_assign.patient_name') . ':' }}
{{ $ipdPrescription->patient->patient->user->full_name }}
{{ __('messages.user.email') . ':' }}
{{ $ipdPrescription->patient->patient->user->email }}
{{ __('messages.user.phone') . ':' }}
{{ $ipdPrescription->patient->patient->user->phone != null ? $ipdPrescription->patient->patient->user->phone : __('messages.common.n/a') }}
{{ __('messages.user.gender') . ':' }}
{{ $ipdPrescription->patient->patient->user->gender == 0 ? __('messages.user.male') : __('messages.user.female') }}
{{ __('messages.blood_donor.age') . ':' }}
{{ $ipdPrescription->patient->patient->user->age }}
{{ __('messages.ipd_patient.admission_date') . ':' }}
{{ date('jS M, Y H:i', strtotime($ipdPrescription->patient->admission_date)) }}
{{ __('messages.case.case_id') . ':' }}
{{ $ipdPrescription->patient->patientCase ? $ipdPrescription->patient->patientCase->case_id : __('messages.common.n/a') }}
{{ __('messages.ipd_patient.doctor_id') . ':' }}
{{ $ipdPrescription->patient->doctor->user->full_name }}
{{ __('messages.ipd_patient.height') . ':' }}
{{ $ipdPrescription->patient->height != null ? $ipdPrescription->patient->height : __('messages.common.n/a') }}
{{ __('messages.ipd_patient.weight') . ':' }}
{{ $ipdPrescription->patient->weight != null ? $ipdPrescription->patient->weight : __('messages.common.n/a') }}
{{ __('messages.ipd_patient.bp') . ':' }}
{{ $ipdPrescription->patient->bp != null ? $ipdPrescription->patient->bp : __('messages.common.n/a') }}
{{ __('messages.ipd_patient.symptoms') . ':' }}
{!! $ipdPrescription->patient->symptoms != null ? $ipdPrescription->patient->symptoms : __('messages.common.n/a') !!}
@foreach ($ipdPrescription->ipdPrescriptionItems as $ipdPrescriptionItem) @endforeach

{!! !empty($ipdPrescription->footer_note) ? nl2br(e($ipdPrescription->footer_note)) : __('messages.common.n/a') !!}


--}}