@extends('backend.template.layouts.template-base') @section('title', 'Patient Profile') @section('styles') @endsection @section('content') @php $estimatedDob = $patient->dob ? $patient->dob->format('d/m/Y') : '—'; $registeredOn = $patient->registred_on ? \Carbon\Carbon::parse($patient->registred_on)->format('d/m/Y') : ($patient->created_at?->format('d/m/Y') ?? '—'); $lastUpdated = $patient->updated_at?->format('d/m/Y') ?? '—'; @endphp
@if (session('success'))
{{ session('success') }}
@endif

{{ $displayName }}

{{ $displayName }}
{{ $mobileDisplay ?: '—' }}
{{ $patient->email ?: '' }}
{{ $patient->address ?: '' }}
Additional info
@if ($patient->email)
Email: {{ $patient->email }}
@endif @if ($patient->address)
Address: {{ $patient->address }}
@endif @if ($patient->uhid)
UHID: {{ $patient->uhid }}
@endif

Website home collection requests appear here first. Create a lab case only when you are ready to bill and enter results.

@forelse ($homeBookingRows as $row) @empty @endforelse
Booking # Schedule Package(s) Address Booking Report Actions
#{{ $row['id'] }} {{ $row['schedule'] }} {{ $row['packages'] }} {{ $row['address'] ?: '—' }} @if ($row['pincode']) · {{ $row['pincode'] }} @endif {{ $row['status_label'] }} {{ $row['report_label'] }} {{ $row['create_case_label'] }}
No home collection bookings for this patient.
@forelse ($patientCaseRows as $caseRow) @empty @endforelse
Reg. no. Date Patient Referred by Total Paid Discount Status Actions
{{ $caseRow['reg_no'] }} {{ $caseRow['date_line'] }} @if ($caseRow['time_line']) {{ $caseRow['time_line'] }} @endif {{ $caseRow['patient_name'] }} @if ($caseRow['patient_mobile']) {{ $caseRow['patient_mobile'] }} @endif {{ $caseRow['referred_by'] }} {{ $caseRow['total'] }} {{ $caseRow['paid'] }} {{ $caseRow['discount'] }} {!! $caseRow['status_html'] !!} {!! $caseRow['actions_html'] !!}
{!! $caseRow['expand_html'] !!}
No cases yet.
No activities recorded.
No SMS messages.
@forelse ($labReportRows as $row) @empty @endforelse
VDL_24 Date/Time Patient Referred by Tests CC Status Actions
{{ $row['vdl'] }}
{{ $row['line'] }}
UHID: {{ $row['uhid'] }}
{{ $row['date'] }}
{{ $row['time'] }}
{{ $row['patient_display'] }}
{{ $row['referred_by'] }} {{ $row['tests'] }} {{ $row['cc'] }} {!! $row['status_badge'] !!}
No lab reports yet.
No USG cases.
No digital X-ray cases.
@endsection @section('scripts') @endsection