{{--
@if($data->isStay())
{{--
@endif
--}}
{{--
--}}
{{--
--}}
--}}
{{-- Noms
{{ $data->name }}
Age
{{ $data->age ?? $data->calculateAgeFromBirth() }}
Genre
{{ $data->sexAbrevia() }}
Groupe
{{ $data->group->name }}
Pathologie
{{ $data->pathology ?? '—' }}
Profession
{{ $data->job ?? '—' }}
Poids
{{ $data->weight ? $data->weight . ' Kg' : '—' }}
Taille
{{ $data->size ? $data->size . ' cm' : '—' }}
Téléphone
{{ $data->tel ?? '—' }}
Adresse
{!! $data->address ?? '—' !!}
Antécédent
{{ $data->antecedent ?? '—' }}
Assuré
{{ $data->assured ? 'Oui' : 'Non' }}
@if($data->assured)
Sécurité Sociale {{$data->assured_social_percent}}%
Complémentaire {{$data->assured_completed_percent}}%@endif
@if($data->isStay())
En hospitalisation depuis le
{{ $data->lastIntervention()->datetimefrom->translatedFormat('D d F Y') }}
{{ $data->lastIntervention()->datetimefrom->translatedFormat('D d F Y') }}
Lieu
{{ $data->place() }}
{{ $data->place() }}
Maladie ou Gêne actuel
{{ $data->lastIntervention()->trouble->name }}
{{ $data->lastIntervention()->trouble->name }}
Etat actuel
@php // Map status name to color class (same mapping as in interventions list) function getStatusColorClassForPatient($name) { $name = strtolower($name); if (str_contains($name, 'guéri')) return 'color-guéri'; if (str_contains($name, 'amélioration')) return 'color-amélioration'; if (str_contains($name, 'stable')) return 'color-stable'; if (str_contains($name, 'convalescence')) return 'color-convalescence'; if (str_contains($name, 'critique')) return 'color-critique'; if (str_contains($name, 'coma')) return 'color-coma'; if (str_contains($name, 'décédé')) return 'color-décédé'; if (str_contains($name, 'transféré')) return 'color-transféré'; return 'color-all'; } $lastStatusName = $data->lastIntervention()->status->name; $lastStatusClass = getStatusColorClassForPatient($lastStatusName); @endphp {{ $lastStatusName }}
@php // Map status name to color class (same mapping as in interventions list) function getStatusColorClassForPatient($name) { $name = strtolower($name); if (str_contains($name, 'guéri')) return 'color-guéri'; if (str_contains($name, 'amélioration')) return 'color-amélioration'; if (str_contains($name, 'stable')) return 'color-stable'; if (str_contains($name, 'convalescence')) return 'color-convalescence'; if (str_contains($name, 'critique')) return 'color-critique'; if (str_contains($name, 'coma')) return 'color-coma'; if (str_contains($name, 'décédé')) return 'color-décédé'; if (str_contains($name, 'transféré')) return 'color-transféré'; return 'color-all'; } $lastStatusName = $data->lastIntervention()->status->name; $lastStatusClass = getStatusColorClassForPatient($lastStatusName); @endphp {{ $lastStatusName }}
@if($data->lastIntervention() && $data->lastIntervention()->interventionanalyses->count() > 0)
@foreach($data->lastIntervention()->interventionanalyses as $analysis)
{{ $analysis->analysis->name }} {{ $analysis->result }}
{{ $analysis->analysis->name }} {{ $analysis->result }}
@endforeach
@else
Aucune analyse récente
@endif--}}
{{--
--}} {{--
--}}
General Report
--}} {{----}} {{--
Heart Beat 85
--}} {{----}}
{{-- --}}
{{--
--}}
{{-- Blood Pressure93
--}} {{----}}
{{-- --}}
{{--
--}}
{{-- Sugar55
--}} {{----}}
{{-- --}}
{{--
--}}
{{-- Haemoglobin78%
--}} {{----}}
{{-- --}}
{{--
--}}
{{--
@if($data->teleconsultations AND !auth()->user()->subBasic())
Dernières Téléconsultations
@else
Dernières Consultations
@endif
| Date | Professionnel en charge | Résumé Docteur IA | Diagnostic | Ordonnance | {{--Charges ({!! htmlentities(auth()->user()->company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!}) | --}}
|---|---|---|---|---|---|
| {{ $teleconsultation->created_at->translatedFormat('D d M Y') }} | {{ $teleconsultation->user->name }} | @if($teleconsultation->ai_description) Voir @else — @endif | @if($teleconsultation->description) Voir @else — @endif | {{--14$ | --}}@if($teleconsultation->prescription) Voir @else — @endif |
| Date | Professionnel en charge | Diagnostic | Ordonnance | {{--Charges ({!! htmlentities(auth()->user()->company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!}) | --}}
|---|---|---|---|---|
| {{ $consultation->created_at->translatedFormat('D d M Y') }} | {{ $consultation->user->name }} | @if($consultation->description) Voir @else — @endif | {{--14$ | --}}@if($consultation->prescription) Voir @else — @endif |
| Date | Professionnel en charge | Diagnostic | Fichiers | Prestations | Produits | {{--Charges ({!! htmlentities(auth()->user()->company->currency_symbol, ENT_NOQUOTES, 'UTF-8') !!}) | --}}
|---|---|---|---|---|---|---|
| {{ $intervention->datetimefrom->translatedFormat('D d M Y') }} @if($intervention->datetimeto) à {{ $intervention->datetimeto->translatedFormat('D d F Y') }} @endif | {{ $intervention->user->name }} | @if($intervention->description) Voir @else — @endif | @if($intervention->files) Voir @else — @endif |
@foreach($intervention->cares as $care)
|
@if($intervention->sale)
@foreach($intervention->sale->commands as $command)
|
{{-- 14$ | --}}