@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($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->region_code.$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->case_id }}
{{ __('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') !!}