image
{{ !empty($ipdPatientDepartment->ipd_number) ? "#".$ipdPatientDepartment->ipd_number : __('messages.common.n/a') }}

{{ $ipdPatientDepartment->patient->patientUser->full_name }}

{{ $ipdPatientDepartment->patient->patientUser->email }} @if(!empty($ipdPatientDepartment->patient->address->address1) || !empty($ipdPatientDepartment->patient->address->address2) || !empty($ipdPatientDepartment->patient->address->city) || !empty($ipdPatientDepartment->patient->address->zip)) @endif {{ !empty($ipdPatientDepartment->patient->address->address1) ? $ipdPatientDepartment->patient->address->address1 : '' }}{{ !empty($ipdPatientDepartment->patient->address->address2) ? !empty($ipdPatientDepartment->patient->address->address1) ? ',' : '' : '' }} {{ empty($ipdPatientDepartment->patient->address->address1) || !empty($ipdPatientDepartment->patient->address->address2) ? !empty($ipdPatientDepartment->patient->address->address2) ? $ipdPatientDepartment->patient->address->address2 : '' : '' }}{{!empty($ipdPatientDepartment->address->city) ? ','.$ipdPatientDepartment->address->city : ''}} {{ !empty($ipdPatientDepartment->address->zip) ? ','.$ipdPatientDepartment->address->zip : '' }}

{{ !empty($ipdPatientDepartment->patient->cases) ? $ipdPatientDepartment->patient->cases->count() : 0 }}

{{__('messages.patient.total_cases')}}

{{ !empty($ipdPatientDepartment->patient->admissions) ? $ipdPatientDepartment->patient->admissions->count() : 0}}

{{__('messages.patient.total_admissions')}}

{{ !empty($ipdPatientDepartment->patient->appointments) ? $ipdPatientDepartment->patient->appointments->count() : 0 }}

{{__('messages.patient.total_appointments')}}

{{ !empty($ipdPatientDepartment->case_id) ? $ipdPatientDepartment->patientCase->case_id : __('messages.common.n/a') }}

{{ !empty($ipdPatientDepartment->height) ? $ipdPatientDepartment->height : __('messages.common.n/a') }}
{{ !empty($ipdPatientDepartment->weight) ? $ipdPatientDepartment->weight : __('messages.common.n/a') }}
{{ !empty($ipdPatientDepartment->bp) ? $ipdPatientDepartment->bp : __('messages.common.n/a') }}
{{ date('jS M, Y h:i A', strtotime($ipdPatientDepartment->admission_date)) }}
{{ $ipdPatientDepartment->doctor->doctorUser->full_name }}
{{ $ipdPatientDepartment->bedType->title }}
{{ $ipdPatientDepartment->bed->name }}
{{ ($ipdPatientDepartment->is_old_patient) ? __('messages.common.yes') : __('messages.common.no') }}
{{ !empty($ipdPatientDepartment->created_at) ? $ipdPatientDepartment->created_at->diffForHumans() : __('messages.common.n/a') }}
{{ !empty($ipdPatientDepartment->updated_at) ? $ipdPatientDepartment->updated_at->diffForHumans() : __('messages.common.n/a') }}
{!! !empty($ipdPatientDepartment->symptoms)?nl2br(e($ipdPatientDepartment->symptoms)) : __('messages.common.n/a') !!}
{!! !empty($ipdPatientDepartment->notes)?nl2br(e($ipdPatientDepartment->notes)) : __('messages.common.n/a') !!}
@if(!$ipdPatientDepartment->bill_status) {{ __('messages.ipd_patient_charges.new_charge') }} @endif
@if($ipdPatientDepartment->bill) @if($ipdPatientDepartment->bill->net_payable_amount > 0) {{ __('messages.payment.new_payment') }} @endif @else {{ __('messages.payment.new_payment') }} @endif

{{ __('messages.bills') }}

@include('ipd_bills.table')
{{--
--}} {{--
--}} {{-- @include('layouts.search-component-for-detail', ['id' => 1])--}} {{-- --}} {{--
--}} {{--
--}} {{-- @include('ipd_diagnoses.table')--}} {{-- --}} {{--
--}} {{--
--}} {{-- @include('layouts.search-component-for-detail', ['id' => 2])--}} {{-- --}} {{--
--}} {{--
--}} {{-- @include('ipd_consultant_registers.table')--}} {{--

{{ __('messages.ipd_charges') }}

--}} {{--
--}} {{--
--}} {{-- @include('layouts.search-component-for-detail', ['id' => 3])--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- @include('ipd_charges.table')--}} {{--
--}} {{--
--}} {{-- @include('layouts.search-component-for-detail', ['id' => 4])--}} {{-- --}} {{--
--}} {{--
--}} {{-- @include('ipd_prescriptions.table')--}} {{--

{{ __('messages.payments') }}

--}} {{-- @if($ipdPatientDepartment->bill)--}} {{-- @if($ipdPatientDepartment->bill->net_payable_amount > 0)--}} {{--
--}} {{-- --}} {{-- {{ __('messages.payment.new_payment') }}--}} {{-- --}} {{--
--}} {{-- @endif--}} {{-- @else--}} {{--
--}} {{-- --}} {{-- {{ __('messages.payment.new_payment') }}--}} {{-- --}} {{--
--}} {{-- @endif--}} {{--
--}} {{--
--}} {{-- @include('layouts.search-component-for-detail', ['id' => 5])--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- @include('ipd_payments.table')--}}