@if(isset($centre) && $centre && $centre->logo_path)
Logo du centre de santé
@endif @if(isset($centre) && $centre)

{{ $centre->nom ?? 'Centre non spécifié' }}

{{ $centre->adresse ?? '' }}, {{ $centre->commune ?? '' }}, {{ $centre->ville ?? '' }}

Tél: {{ $centre->telephone ?? 'Non spécifié' }} | Email: {{ $centre->email ?? 'Non spécifié' }}

@if($centre->code_postal ?? false)

Code Postal: {{ $centre->code_postal }}

@endif @else

{{ (isset($professionnel->type_compte) && $professionnel->type_compte === 'medecin') ? 'Dr.' : '' }} {{ $professionnel->prenom ?? '' }} {{ $professionnel->nom ?? '' }}

{{ $professionnel->adresse ?? '' }}, {{ $professionnel->commune ?? '' }}

Tél: {{ $professionnel->telephone ?? 'Non spécifié' }} | Email: {{ $professionnel->email ?? 'Non spécifié' }}

@endif

Patient: {{ $patient->prenom ?? '' }} {{ $patient->nom ?? '' }}

Date de naissance: {{ isset($patient->date_naissance) ? Carbon\Carbon::parse($patient->date_naissance)->format('d/m/Y') : 'Non spécifié' }} (Âge: {{ $age ?? 'Non spécifié' }})

Sexe: {{ $patient->sexe ?? 'Non spécifié' }}

N° Identification: {{ $patient->id_patient ?? 'Non spécifié' }}

@if(isset($patient->telephone) && $patient->telephone)

Téléphone: {{ $patient->telephone }}

@endif
Lieu: {{ $centre ? ($centre->ville ?? 'Non spécifié') : (isset($professionnel->commune) ? $professionnel->commune : 'Non spécifié') }}
Date: {{ $date_consultation ?? now()->format('d/m/Y') }}
Type de consultation: {{ $acte->type_acte ?? 'Non spécifié' }}
Professionnel: {{ $professionnel->prenom ?? '' }} {{ $professionnel->nom ?? '' }}
@if(isset($acte->contenu) && $acte->contenu)
Détails de la consultation
{!! nl2br(e($acte->contenu)) !!}
@endif @if(!empty($antecedents_details))
Antécédents inclus dans la consultation
@elseif(isset($acte->antecedents_inclus) && $acte->antecedents_inclus)
Antécédents inclus dans la consultation
@php $antecedents = json_decode($acte->antecedents_inclus, true); @endphp @if(is_array($antecedents)) @else {{ $acte->antecedents_inclus }} @endif
@endif @if(isset($acte->motif_modification) && $acte->motif_modification)
Motif de modification
{{ $acte->motif_modification }}
@endif
Signature du {{ (isset($professionnel->type_compte) && $professionnel->type_compte === 'medecin') ? 'Médecin' : 'Sage-femme' }}
{{ $professionnel->prenom ?? '' }} {{ $professionnel->nom ?? '' }}
{{ (isset($professionnel->type_compte) && $professionnel->type_compte === 'medecin') ? 'Médecin' : 'Sage-femme' }} @if(isset($centre) && $centre) - {{ $centre->nom }} @endif
@if(isset($acte->date_validation) && $acte->date_validation)
Validé le: {{ Carbon\Carbon::parse($acte->date_validation)->format('d/m/Y à H:i') }}
@endif