|
|
{{ $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') }}
{{ __('messages.ipd_patient_diagnosis.report_type') }} |
{{ __('messages.ipd_patient_diagnosis.report_date') }} |
{{ __('messages.ipd_patient_diagnosis.description') }}
|
@foreach ($diagnosis as $diagnosis)
{{ $diagnosis->report_type }} |
{{ \Carbon\Carbon::parse($diagnosis->report_date)->format('d/m/Y') }} |
{{ $diagnosis->description }} |
@endforeach
@endif
@if ($instructions->count() > 0)
{{ __('messages.ipd_consultant_register') }}
{{ __('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') }}
|
@foreach ($instructions as $instruction)
{{ $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') }}
|
@endforeach
@endif
@if ($ipdPrescriptions->count() > 0)
{{ __('messages.prescriptions') }}
{{ __('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') }} |
@foreach ($ipdPrescriptions as $ipdPrescription)
@foreach ($ipdPrescription->ipdPrescriptionItems as $ipdPrescriptionItem)
{{ $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') !!} |
@endforeach
@endforeach
@endif