@php use Carbon\Carbon; @endphp @push('styles') @endpush
{{-- --}} {{-- --}}
Praticien : {{ $prescription?->person?->profile?->full_name ?? '-' }} Date : {{ strtoupper(Carbon::parse($prescription->created_at)->isoFormat('DD MMM YYYY')) ?? '-' }}
NIP : {{$patient->matricule}} Sexe : {{ $patient->gender === 'M' ? 'Masculin': 'Féminin' }} NEP : NEP
NOM(S) : {{ $patient->birth_name . ' ' . $patient->marital_name }} Assuré(e) : {{$patient->insurances()->exists() ? 'Oui' : 'Non' }}
Prénom(s) : {{ $patient->first_name }} Assureurs : @if($patient->insurances()->exists()) {{ Str::limit($patient->insurances()->with('insuranceProvider')->first()->insuranceProvider->name, 15) }} @endif
Age : {{ $patient->age ?? ''}} Profession : {{ $patient->profession }}

PRESCRIPTION MÉDICALE

@foreach($medications as $medication) @endforeach
Medicament Quantité Dose Fréquence Durée
{{ $medication->name }} {{ $medication->pivot->quantity }} {{ $medication->pivot->dose }} {{ $medication->pivot->day_frequency }} x/jour {{ $medication->pivot->duration }} jours
@section('qr')
QRid)) }}">
@endsection