This commit is contained in:
@@ -0,0 +1,229 @@
|
||||
@extends('impressoes.layout1.content')
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<table class="report-container">
|
||||
|
||||
<thead class="report-header">
|
||||
<tr>
|
||||
<th class="report-header-cell">
|
||||
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tfoot class="report-footer">
|
||||
<tr>
|
||||
<td class="report-footer-cell">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
|
||||
<tbody class="report-content">
|
||||
|
||||
<tr>
|
||||
<td class="report-content-cell">
|
||||
|
||||
<fieldset>
|
||||
<legend>Filtros</legend>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Período de-até:</strong>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>Exame / Grupo:</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
{{ $atendimentos['form']['periodo']['start'] }} - {{ $atendimentos['form']['periodo']['end'] }}
|
||||
</div>
|
||||
<div class="col-6">
|
||||
{{ $atendimentos['form']['exame_grupo'] }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Unidade Solicitante:</strong>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong>Unidade de Coleta:</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
{{ $atendimentos['form']['unidade_nome'] }}
|
||||
|
||||
@if (!empty( $atendimentos['form']['infraestrutura_nome']))
|
||||
- {{ $atendimentos['form']['infraestrutura_nome'] }}
|
||||
@endif
|
||||
</div>
|
||||
<div class="col-6">
|
||||
{{ $atendimentos['form']['coleta_unidade_nome'] }}
|
||||
|
||||
@if (!empty( $atendimentos['form']['coleta_infraestrutura_nome']))
|
||||
- {{ $atendimentos['form']['coleta_infraestrutura_nome'] }}
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<strong>Paciente</strong>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<strong>Prontuário: </strong>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<strong>Nº Agendamento</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
{{ $atendimentos['form']['paciente_nome'] }}
|
||||
</div>
|
||||
<div class="col-3">
|
||||
{{ $atendimentos['form']['prontuario'] }}
|
||||
</div>
|
||||
<div class="col-3">
|
||||
{{ $atendimentos['form']['agendamento_numero'] }}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@php
|
||||
$agendamento_numero = "";
|
||||
@endphp
|
||||
|
||||
@foreach ($atendimentos['form']['agendamentos'] as $agendamento)
|
||||
|
||||
@if ($agendamento_numero <> $agendamento->agendamento_numero)
|
||||
|
||||
@if (!$loop->first)
|
||||
</table>
|
||||
</td></tr>
|
||||
@endif
|
||||
|
||||
@php
|
||||
$agendamento_numero = $agendamento->agendamento_numero;
|
||||
@endphp
|
||||
|
||||
<tr>
|
||||
<td class="report-content-cell">
|
||||
|
||||
<table class="table table-listagem">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width:40%">Paciente</th>
|
||||
<th>Data de nascimento</th>
|
||||
<th>Idade</th>
|
||||
<th>Prontuário</th>
|
||||
<th>Agendamento</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="background-white">
|
||||
|
||||
{{ $agendamento->paciente_nome }}
|
||||
|
||||
@if (!empty($agendamento->paciente_nome_social))
|
||||
({{ $agendamento->paciente_nome_social }})
|
||||
@endif
|
||||
</td>
|
||||
<td class="background-white">{{ $agendamento->paciente_nascimento }}</td>
|
||||
<td class="background-white idade">{{ $agendamento->paciente_idade }}</td>
|
||||
<td class="background-white">{{ $agendamento->paciente_prontuario }}</td>
|
||||
<td class="background-white">{{ $agendamento->agendamento_numero }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Médico(a) solicitante</th>
|
||||
<th colspan="2">Unidade solicitante</th>
|
||||
<th colspan="2">Local de atendimento</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="background-white">{{ $agendamento->medico_nome }}</td>
|
||||
<td colspan="2" class="background-white">{{ $agendamento->unidade_nome }}</td>
|
||||
<td colspan="2" class="background-white">{{ $agendamento->infraestrutura_nome }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Exame / Grupo</th>
|
||||
<th colspan="2">Status</th>
|
||||
<th colspan="2">Conferido</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td class="background-white">{{ $agendamento->exame_grupo_nome }}</td>
|
||||
<td colspan="2" class="background-white">{{ $agendamento->status_descricao }}</td>
|
||||
<td colspan="2" class="background-white"><div class="circulo"></div></td>
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
</td></tr>
|
||||
|
||||
<tr>
|
||||
<td class="report-content-cell">
|
||||
|
||||
<fieldset>
|
||||
<legend>Status dos exames</legend>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
<strong>Agendado: {{ $atendimentos['form']['agendado'] }}</strong>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<strong>Realizado: {{ $atendimentos['form']['realizado'] }}</strong>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<strong>Duplicidade: {{ $atendimentos['form']['duplicidade'] }}</strong>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<strong>Outros: {{ $atendimentos['form']['outros'] }}</strong>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<strong>Faltou: {{ $atendimentos['form']['faltou'] }}</strong>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
<style>
|
||||
|
||||
body {font-family: Helvetica, arial, sans-serif;}
|
||||
table {margin-bottom: 10px;}
|
||||
.circulo {height:15px; width:15px; border:1px solid #000;}
|
||||
.background-white { background: #fff!important}
|
||||
.report-content-cell { background: #fff!important; border: none!important}
|
||||
table.report-container {page-break-after: always;}
|
||||
.table-listagem th, .idade {white-space: nowrap;}
|
||||
tr {border:0}
|
||||
td {padding: 1px 5px!important;}
|
||||
th {padding: 1px 5px!important;}
|
||||
</style>
|
||||
Reference in New Issue
Block a user