@extends('impressoes.layout1.content') @foreach ($atendimentos['unidade_coleta'] as $coleta) @foreach ($coleta['agendamentos'] as $agendamento) @endforeach @endforeach
Filtros
Período de-até:
Exame:
{{ $atendimentos['periodo']['start'] }} - {{ $atendimentos['periodo']['end'] }}
{{ $atendimentos['exame_grupo'] }}
Status:
Prontuário:
@if ($atendimentos['status']->count() == 7) TODOS @else @foreach ($atendimentos['status'] as $status) @if ($loop->last) {{ $status['nome'] }}. @else {{ $status['nome'] }}, @endif @endforeach @endif
{{ $atendimentos['prontuario'] }}
Unidade Solicitante:
Local de atendimento:
{{ $atendimentos['unidade_nome'] }}
{{ $atendimentos['infraestrutura_nome'] }}
Unidade de coleta:
Local de atendimento:
{{ $atendimentos['coleta_unidade_nome'] }}
{{ $atendimentos['coleta_infraestrutura_nome'] }}
Laboratório:
Local de atendimento:
{{ $atendimentos['laboratorio_nome'] }}
{{ $atendimentos['laboratorio_infraestrutura_nome'] }}
@if ($loop->first) @endif @foreach ($atendimentos['colunas'] as $coluna) @endforeach @foreach ($agendamento['exames'] as $item) @foreach ($atendimentos['colunas'] as $coluna) @endforeach @endforeach @if ($loop->last) @endif
Unidade de coleta: {{ $coleta['coleta_nome_fantasia'] }} - Local de atendimento: {{ $coleta['coleta_infraestrutura_nome'] }}
Paciente: {{ $agendamento['paciente_nome'] }} @if (!empty($agendamento['paciente_nome_social'])) ({{ $agendamento['paciente_nome_social'] }}) @endif - Prontuário: {{ $agendamento['paciente_prontuario'] }} - Agendamento: {{ $agendamento['agendamento_numero'] }}
{{ $coluna['label'] }}
{{ $item[$coluna['key']] ?? '-' }}
Total de exames: {{ $agendamento['exames']->count() }}
Total de exames da unidade de coleta: {{ $coleta['coleta_nome_fantasia'] }} - Local de atendimento: {{ $coleta['coleta_infraestrutura_nome'] }}: {{$coleta['total_exames']}}
@if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::AGENDADO, $atendimentos['total_status'])) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::NAO_REALIZADO, $atendimentos['total_status'])) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::REALIZADO, $atendimentos['total_status'])) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::PENDENTE_ASSINATURA, $atendimentos['total_status'])) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::ASSINADO, $atendimentos['total_status'])) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::PENDENTE_ENTREGA, $atendimentos['total_status'])) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::ENTREGUE, $atendimentos['total_status'])) @endif
Status dos exames
Agendado: {{ $atendimentos['agendado'] }} Não coletado: {{ $atendimentos['nao_coletado'] }} Coleta realizada: {{ $atendimentos['coleta_realizada'] }} Pendente de assinatura: {{ $atendimentos['pendente_assinatura'] }} Pendente de impressão: {{ $atendimentos['pendente_impressao'] }} Pendente de entrega: {{ $atendimentos['pendente_entrega'] }} Entregue: {{ $atendimentos['entregue'] }}