@extends('user.auth.layout_profile') @section('content_profile') @if ($auth->patient_code)

Thông tin bệnh nhân

{{ $auth->patient->name }} - {{ \Carbon\Carbon::parse($auth->patient->dob)->format('d/m/Y') }}

@foreach ($medical_history as $key => $his) @endforeach
STT Ngày khám Bác sĩ Chẩn đoán Chi tiết
{{ $medical_history->firstItem() + $key }} {{ $his->created_at->format('H:i d:m:Y') }} BS. {{ $his->doctor->name }} {!! $his->diagnosis !!} Xem chi tiết
{{ $medical_history->links() }}
@else

Vui lòng nhập mã bệnh nhân trên giấy khám bệnh vào bên dưới để xem lịch sử khám, chữa bệnh tại Unicare.

@csrf @error('patient_code')
{{ $message }}
@enderror
@endif @endsection