@extends('layouts.main') @section('title', 'Ver Agendamento - Clinix AI') @section('page-title', 'Detalhes do Agendamento') @section('page-subtitle', 'Informações completas do agendamento') @section('content')
{{ $appointment->patient ? $appointment->patient->name : 'Paciente não definido' }}
{{ $appointment->patient ? $appointment->patient->email : '-' }}
{{ $appointment->patient ? $appointment->patient->phone : '-' }}
@can('patients.export') @if($appointment->patient && !$appointment->patient->is_anonymized) @endif @endcan @can('rectify', $appointment->patient) @if($appointment->patient && !$appointment->patient->is_anonymized) @endif @endcan @can('anonymize', $appointment->patient) @if($appointment->patient && !$appointment->patient->is_anonymized) @endif @endcan{{ $appointment->doctor ? 'Dr. ' . $appointment->doctor->name : 'Médico não definido' }}
{{ $appointment->doctor ? $appointment->doctor->email : '-' }}
{{ \Carbon\Carbon::parse($appointment->appointment_date)->format('d/m/Y') }}
{{ \Carbon\Carbon::parse($appointment->start_time)->format('H:i') }} - {{ \Carbon\Carbon::parse($appointment->end_time)->format('H:i') }} ({{ $appointment->duration }} min)
@if($appointment->isHealthInsurance()) Convênio {{ $appointment->healthInsuranceOperator?->name ?? 'Operadora não informada' }} @else Particular @endif
@switch($appointment->appointment_type) @case('routine') Consulta de Rotina @break @case('return') Retorno @break @case('first_time') Primeira Consulta @break @case('emergency') Urgência @break @default {{ $appointment->appointment_type }} @break @endswitch
Completude: {{ $preAnamnesis->completion_percentage ?? 0 }}% @if($preAnamnesis->analyzed_at) · IA analisada em {{ $preAnamnesis->analyzed_at->format('d/m/Y H:i') }} @endif
Analisar com IA{{ $appointment->reason }}
{{ $appointment->notes }}
{{ $appointment->cancellation_reason }}
Cancelado em {{ $appointment->cancelled_at->format('d/m/Y H:i') }}