@extends('layouts.azpet.base') @section('title', 'Repositorio do Pet') @section('subtitle', 'Arquivos, exames, imagens, prescricoes e relatorios por pet') @push('page_styles') @vite([ 'resources/css/pages/exames/style.css', 'resources/css/pages/exames/responsive.css' ]) @endpush @section('content') @php $defaultCategories = $categoryOptions['defaults'] ?? []; $customCategories = $categoryOptions['custom'] ?? collect(); $customLimit = $categoryOptions['custom_limit'] ?? 4; $rootUrl = $selectedPet ? route('web.exames.index', ['pet_code' => $selectedPet->id_azpet_code, 'status' => $status]) : route('web.exames.index'); $currentFolderUrl = $selectedPet ? route('web.exames.index', array_filter(['pet_code' => $selectedPet->id_azpet_code, 'folder' => $currentFolder?->id, 'status' => $status])) : route('web.exames.index'); $premiumEligible = (bool) data_get($premiumStats, 'eligible', false); $latestPremiumReport = data_get($premiumStats, 'latest_report'); @endphp
| Pet | Arquivo | Pasta | Categoria | Contexto e origem | Observacoes | Status | Acoes |
|---|---|---|---|---|---|---|---|
|
@if ($exame->pet?->photo_url)
{{ $exame->pet?->id_azpet_code }}
{{ $exame->pet?->nome }}
|
{{ $exame->display_title }}
{{ optional($exame->exam_date)->format('d/m/Y') }}
@if ($exame->original_file_name)
{{ $exame->original_file_name }}
@endif
@if ($exame->formatted_file_size)
{{ $exame->formatted_file_size }} @if($exame->file_mime_type) | {{ $exame->file_mime_type }} @endif
@endif
|
{{ $exame->folder?->name ?? 'Raiz' }} | {{ $exame->category_label }} |
{{ $exame->clinical_context }}
{{ min($exame->confidence, 99) }}%
{{ $exame->submission_source_label }}
@if ($exame->laboratorio?->nome_fantasia)
Lab: {{ $exame->laboratorio->nome_fantasia }}
@endif
|
{{ $exame->notes ?: '-' }} |
{{ $exame->is_active ? 'Ativo' : 'Inativo' }}
{{ $exame->processing_status }}
{{ $exame->approval_label }}
|
@if ($exame->exam_file_path)
@php
$mime = (string) $exame->file_mime_type;
$previewType = str_starts_with($mime, 'image/') ? 'image' : (str_contains($mime, 'pdf') ? 'pdf' : 'other');
@endphp
Ver
Baixar
@endif
@if ($exame->isApproved() && $exame->relatorio?->pdf_file_path)
PDF
@endif
@if ($exame->isApproved())
@else
Aguardando aprovacao da clinica
@endif
@if($exame->pet)
Historico
@endif
@if (auth()->user()?->isSuperAdmin())
@endif
|
| Nenhum arquivo neste local. | |||||||
Encontramos {{ data_get($premiumStats, 'repository_count', 0) }} registros no repositorio. O sistema pode processar todos os PDFs/imagens, organizar a linha da vida e baixar o relatorio premium.
A AZPET nao diagnostica. O relatorio descreve dados longitudinais e reforca que decisoes clinicas sao do medico veterinario.