@extends('layouts.app') @section('title', 'Prêt – ' . $residentCase->medicalCase->case_number) @section('page-title', 'Prêt – ' . $residentCase->medicalCase->case_number) @section('content') @php $mc = $residentCase->medicalCase; @endphp
{{ $mc->case_number }} {{ $mc->name }} {{ $mc->category }} {{ $mc->type }}
Histoire / Information Clinique
{{ $mc->clinical_history }}
@if($mc->images->count())
Photos
@foreach($mc->images as $img)
@if($img->origin) {{ $img->origin }} @endif
@endforeach
@endif @if($mc->links->count())
Liens
    @foreach($mc->links as $link)
  • {{ $link->url }} @if($link->origin){{ $link->origin }}@endif
  • @endforeach
@endif {{-- Réponse correcte --}} @if($mc->response)
Réponse correcte
{{ $mc->response }}
@endif {{-- Trouvailles du résident --}}
Trouvailles du Résident
{{ $residentCase->findings ?? '(Aucune trouvaille soumise)' }}
{{-- Évaluation --}}
Évaluation du Formateur
Note
@if($residentCase->note !== null) {{ \App\Models\ResidentCase::getNoteLabel($residentCase->note) }} @else @endif
Remarque
{{ $residentCase->remark ?? '(Aucune remarque)' }}
Informations
Résident
{{ $resident->full_name }}
Assigné par
{{ $residentCase->assignedBy->full_name ?? '–' }}
Date limite
{{ $residentCase->deadline->format('d/m/Y') }}
Finalisé le
{{ $residentCase->completed_at ? $residentCase->completed_at->format('d/m/Y') : '–' }}
Statut
Prêt
Retour @endsection