@if (getLoggedinPatient())
    <div class="d-flex align-items-center mt-2">
        <a href="{{ route('patient.cases.show', $row->caseFromDeathReport->id) }}"
            class="badge bg-light-info text-decoration-none">{{ $row->case_id }}</a>
    </div>
@else
    <div class="d-flex align-items-center mt-2">
        <a href="{{ route('patient_case_show', $row->caseFromDeathReport->id) }}"
            class="badge bg-light-info text-decoration-none">{{ $row->case_id }}</a>
    </div>
@endif
