@extends('layouts.app') @section('title','IPD Admission') @section('pages')
@include('layouts.partials.nav-menu')
{{ $patient->account_title ? $patient->account_title->name : '' }} {{ $patient->name ? $patient->name : '' }} ({{ $patient->code }})
{{--
@if(!$dischargeExists) @if (!is_null($sale_invoices->sale_invoices_name)) New Intent @else New Bill @endif @endif
--}} {{--
@if (auth()->user()->can('pathology-lab-billing-list')) View All Intents @endif
--}}
{{-- @if(!$dischargeExists) --}} @if (auth()->user()->can('pathology-lab-billing-list')) Initiate Discharge @endif
Admission Details

{{-- --}}
Admission No {{ $admission->ipd_admission_no }}
Admission Date {!! formatedDateTime($admission->admission_date_time) !!}
IPD CASE/FILE NUMBER {{ $admission->ipd_file_no ?? 'N/A' }}
Patient source {{ $patient_source->enquiry_source_name }}
TPA {{ $tpa_account->name ?? 'N/A' }}
Referral partner {{ $refferal_partner->name ?? 'N/A' }}
Casualty {{ ($admission->casualty == '1') ? 'Yes' : 'No' }}
Referred By {{ $admission->referal_from ?? 'N/A' }}
Patient Details

{{-- --}} {{-- --}} @if ($patient->account_contact->any_known_allergies) @endif @if ($admission->note) @endif @if (in_array('nurse-notes-list', $authRolePermissions)) @endif
Age/Gender @if(isset($patient->account_contact->date_of_birth) && !empty($patient->account_contact->date_of_birth)) {{ age($patient->account_contact->date_of_birth) . ' Years' }} @else Please Add Patient Day of Birth. @endif @if(isset($patient->account_contact->gender->name) && !empty($patient->account_contact->gender->name)) , {{ $patient->account_contact->gender->name ?? '' }} @else Please Add Patient Gender. @endif
DOB @if(isset($patient->account_contact->date_of_birth) && !empty($patient->account_contact->date_of_birth)) {{ formatedDate($patient->account_contact->date_of_birth) ?? '' }} @endif
Patient Contact @if(isset($patient->account_contact->phone_no) && !empty($patient->account_contact->phone_no)) {{ $patient->account_contact->phone_no ?? '' }} @else Please Add Patient Contact. @endif
Marital Status @if(isset($marital_status->name ) && !empty($marital_status->name )) {{ $marital_status->name ?? '' }} @else Please Add Patient Marital Status. @endif
Blood Group @if(isset($blood_group->group) && !empty($blood_group->group)) {{ $blood_group->group ?? '' }} @else Please Add Patient Blood Group. @endif
Relation @if(isset($patient->account_relative->relation_type) && !empty($patient->account_relative->relation_type)) {{ $patient->account_relative->relation_type ?? '' }} @else Please Add Patient Relation. @endif
Relative Name @if(isset($patient->account_relative->relation_name) && !empty($patient->account_relative->relation_name)) {{ $patient->account_relative->relation_name ?? '' }} @if(isset($patient->account_relative->relation_type) && !empty($patient->account_relative->relation_type)) {{ $patient->account_relative->relation_type ?? '' }} @endif ({{ $patient->account_contact->phone_no ?? '' }}) @else Please Add Patient Relative Name. @endif
Previous medical issue {{ $admission->previous_medical_issue ?? 'N/A' }}
Any Known Allergies {{ $patient->account_contact->any_known_allergies }}
Admission Note {{ $admission->note }}
Nurse Notes Nurse Notes
@if (isset($ipd_admission_female))

@endif

@if(in_array('ipd-admission-delete', $authRolePermissions)) @endif @if(isset($sale_invoices->sale_invoices_name))
@if(!empty($sale_invoices->sale_returns_id)) Sale Return @else Sale Return @endif
@endif
@endsection @section('js') @endsection