@forelse($diagnosisHistoryData as $entry)
@if(!empty($entry->diagnosis))
{{ $entry->created_at ? $entry->created_at->format('d M Y') : '' }}
{{ $entry->created_at ? $entry->created_at->format('h:i A') : '' }}
@endif
@empty
No diagnosis history found.
@endforelse
@if($diagnosisHistoryData->count() && $diagnosisFilledCount === 0)
No diagnosis history found.
@endif