{{-- --}} @if (getCurrentCurrency() == 'inr') @endif
{{ __('messages.lunch_break.discharge_slip') }}
{{ $setting['app_name'] }}
{{ $setting['hospital_address'] }}

{{ $bill['ipd_patient_department']->ipd_number }}
{{ $bill['ipd_patient_department']->patient->user->full_name }}
{{ $bill['ipd_patient_department']->patient->user->email }}
{{ !empty($bill['ipd_patient_department']->patient->user->phone) ? $bill['ipd_patient_department']->patient->user->region_code.$bill['ipd_patient_department']->patient->user->phone : 'N/A' }}
{{ $bill['ipd_patient_department']->patient->user->gender == 0 ? __('messages.user.male') : __('messages.user.female') }}
{{ !empty($bill['ipd_patient_department']->patient->user->blood_group) ? $bill['ipd_patient_department']->patient->user->blood_group : 'N/A' }}
{{ !empty($bill['ipd_patient_department']->case_id) ? '#' . $bill['ipd_patient_department']->patientCase->case_id : __('messages.common.n/a') }}
{{ $bill['ipd_patient_department']->doctor->user->full_name }}
{{ date('jS M, Y m:s', strtotime($bill['ipd_patient_department']->admission_date)) }}
{{ $bill['ipd_patient_department']->bed->name }} ({{ $bill['ipd_patient_department']->bedType->title }})
{{ !empty($bill['ipd_patient_department']->height) ? $bill['ipd_patient_department']->height : 'N/A' }}
{{ !empty($bill['ipd_patient_department']->weight) ? $bill['ipd_patient_department']->weight : 'N/A' }}
@if ($diagnosis->count() > 0)
{{ __('messages.ipd_diagnosis') }}
@foreach ($diagnosis as $diagnosis) @endforeach
{{ __('messages.ipd_patient_diagnosis.report_type') }} {{ __('messages.ipd_patient_diagnosis.report_date') }} {{ __('messages.ipd_patient_diagnosis.description') }}
{{ $diagnosis->report_type }} {{ \Carbon\Carbon::parse($diagnosis->report_date)->format('d/m/Y') }} {{ $diagnosis->description }}
@endif @if ($instructions->count() > 0)
{{ __('messages.ipd_consultant_register') }}
@foreach ($instructions as $instruction) @endforeach
{{ __('messages.ipd_patient_consultant_register.doctor_id') }} {{ __('messages.common.apply') . ' ' . __('messages.ipd_patient_charges.date') }} {{ __('messages.ipd_patient_prescription.instruction') . ' ' . __('messages.ipd_patient_charges.date') }}
{{ $instruction->doctor->doctorUser->full_name }} {{ \Carbon\Carbon::parse($instruction->applied_date)->format('d/m/Y') }} {{ \Carbon\Carbon::parse($instruction->instruction_date)->format('d/m/Y') }}
@endif @if ($ipdPrescriptions->count() > 0)
{{ __('messages.prescriptions') }}
@foreach ($ipdPrescriptions as $ipdPrescription) @foreach ($ipdPrescription->ipdPrescriptionItems as $ipdPrescriptionItem) @endforeach @endforeach
{{ __('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') !!}
@endif