{{ $title }}
Período: Exame:
De {{ $periodo['start'] }} até{{ $periodo['end'] }} {{ $exame_grupo }}
Status: Prontuário:
@if ($status->count() == 7) TODOS @else @foreach ($status as $statusNome) @if ($loop->last) {{ $statusNome['nome'] }}. @else {{ $statusNome['nome'] }}, @endif @endforeach @endif {{ $prontuario }}
Unidade Solicitante: Local de atendimento:
{{ $unidade_nome }} {{ $infraestrutura_nome }}
Unidade de coleta: Local de atendimento:
{{ $coleta_unidade_nome }} {{ $coleta_infraestrutura_nome }}
Laboratório: Local de atendimento:
{{ $laboratorio_nome }} {{ $laboratorio_infraestrutura_nome }}
@foreach ($colunas as $coluna) @endforeach
{{ $coluna['label'] }}
@foreach ($unidade_coleta as $coleta) @foreach ($coleta['agendamentos'] as $agendamento) @if ($loop->first) @endif @foreach ($colunas as $coluna) @endforeach @foreach ($agendamento['exames'] as $item) @foreach ($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']}}
@endforeach @endforeach
@if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::AGENDADO, $total_status)) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::NAO_REALIZADO, $total_status)) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::REALIZADO, $total_status)) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::PENDENTE_ASSINATURA, $total_status)) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::ASSINADO, $total_status)) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::PENDENTE_ENTREGA, $total_status)) @endif @if (in_array(\App\Enums\ExameLaboratorial\StatusAgendamento::ENTREGUE, $total_status)) @endif
Status dos exames
Agendado: {{ $agendado }}
Não coletado: {{ $nao_coletado }}
Coleta realizada: {{ $coleta_realizada }}
Pendente de assinatura: {{ $pendente_assinatura }}
Pendente de impressão: {{ $pendente_impressao }}
Pendente de entrega: {{ $pendente_entrega }}
Entregue: {{ $entregue }}