@extends('layouts.app') @section('title', __('clinic.scan_profile')) @section('heading', __('clinic.scan_profile')) @section('content')
{{ strtoupper(substr($patient->full_name, 0, 1)) }}

{{ $patient->full_name }}

{{ $patient->patient_code }}
🗂️ {{ __('clinic.view_all') }} ➕ {{ __('clinic.new_visit') }}
@if($patient->allergies || $patient->chronic_diseases)

⚠️ {{ __('clinic.allergies') }} & {{ __('clinic.chronic_diseases') }}

@if($patient->allergies)
{{ __('clinic.allergies') }}: {{ $patient->allergies }}
@endif @if($patient->chronic_diseases)
{{ __('clinic.chronic_diseases') }}: {{ $patient->chronic_diseases }}
@endif
@endif @php $latestVisit = $patient->visits->first(); @endphp @if($latestVisit && ($latestVisit->blood_pressure || $latestVisit->pulse || $latestVisit->temperature || $latestVisit->weight || $latestVisit->height))

📈 {{ __('clinic.vital_signs') }} ({{ __('clinic.latest_visits') }})

@if($latestVisit->blood_pressure)
{{ __('clinic.blood_pressure') }}
{{ $latestVisit->blood_pressure }}
@endif @if($latestVisit->pulse)
{{ __('clinic.pulse') }}
{{ $latestVisit->pulse }}
@endif @if($latestVisit->temperature)
{{ __('clinic.temperature') }}
{{ $latestVisit->temperature }}°C
@endif @if($latestVisit->weight)
{{ __('clinic.weight') }}
{{ $latestVisit->weight }} kg
@endif
@endif

📞 {{ __('clinic.overview') }}

{{ __('clinic.phone') }}
{{ $patient->phone }}
@if($patient->emergency_contact_name)
{{ __('clinic.emergency_contact_name') }}
{{ $patient->emergency_contact_name }} ({{ $patient->emergency_contact_phone }})
@endif
@endsection