@php $settingValue = getSettingValue(); @endphp
{{ __('messages.ipd_patient_prescription.print_prescription')}}

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($opdPrescription->created_at)) }}


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


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

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