This commit is contained in:
@@ -0,0 +1,333 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
|
||||
RELATÓRIO DE ATENDIMENTOS
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período de:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Até: </strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Hora de:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Até: </strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Dia da semana:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['periodo']['date']['start'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['periodo']['date']['end'] }}
|
||||
</td>
|
||||
<td>
|
||||
@empty($params['periodo']['time']['start'])
|
||||
Todas
|
||||
@endempty
|
||||
{{ $params['periodo']['time']['start'] }}
|
||||
</td>
|
||||
<td>
|
||||
@empty($params['periodo']['time']['end'])
|
||||
Todas
|
||||
@endempty
|
||||
{{ $params['periodo']['time']['end'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['dia_semana_descricao'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Unidade:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Local de atendimento:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Classificação de risco:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['unidade'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['local_atendimento'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['classificacao_risco'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Desfecho:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>CBO:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Profissional:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Status:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['desfecho'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['ocupacao'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['profissional'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['status_descricao'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Cid:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Idade de:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Até:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Paciente:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Prontuário:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['cid'] }}
|
||||
</td>
|
||||
<td>
|
||||
@empty($params['idade_de'])
|
||||
Todas
|
||||
@endempty
|
||||
{{ $params['idade_de'] }}
|
||||
</td>
|
||||
<td>
|
||||
@empty($params['idade_ate'])
|
||||
Todas
|
||||
@endempty
|
||||
{{ $params['idade_ate'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['paciente'] }}
|
||||
</td>
|
||||
<td>
|
||||
@empty($params['prontuario'])
|
||||
Todos
|
||||
@endempty
|
||||
{{ $params['prontuario'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Sexo:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Classificação do paciente:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Unidade de referência:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>FAA:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Câncer:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['sexo'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['classificacao_paciente'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['unidade_referencia'] }}
|
||||
</td>
|
||||
<td>
|
||||
@empty($params['faa'])
|
||||
Todas
|
||||
@endempty
|
||||
{{ $params['faa'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['fator_risco_cancer_text'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Diabetes:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Etilismo:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Gestante:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Hipertensão:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Obesidade:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Radioterapia:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Tabagismo:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Outro:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['fator_risco_diabetes_text'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['fator_risco_etilismo_text'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['fator_risco_gestante_text'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['fator_risco_hipertensao_text'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['fator_risco_obesidade_text'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['fator_risco_radioterapia_text'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['fator_risco_tabagismo_text'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['fator_risco_outro_text'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Perfil sanguíneo alterado:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Uso de medicamentos antineoplásicos ou imunossupressores:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['fator_risco_perfil_sanguineo_alterado_text'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['fator_risco_uso_medicamentos_antineoplasicos_imunossupressores_text'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
@if ($coluna['key'] !== 'todas')
|
||||
<th>{{ $coluna['label'] }}</th>
|
||||
@endif
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($atendimentos['atendimentos'] as $atendimento)
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
@if ($coluna['key'] !== 'todas')
|
||||
@if ($coluna['key'] === 'procedimentos')
|
||||
<td>
|
||||
@foreach($atendimento[$coluna['key']] as $procedimento)
|
||||
<div>{{ $procedimento }}</div>
|
||||
@endforeach
|
||||
</td>
|
||||
@elseif ($coluna['key'] === 'cids')
|
||||
<td>
|
||||
@foreach($atendimento[$coluna['key']] as $cid)
|
||||
<div>{{ $cid }}</div>
|
||||
@endforeach
|
||||
</td>
|
||||
@elseif ($coluna['key'] === 'cids_codigo')
|
||||
<td>
|
||||
@foreach($atendimento[$coluna['key']] as $cids_codigo)
|
||||
{{ $cids_codigo }}
|
||||
@endforeach
|
||||
</td>
|
||||
@elseif($coluna['key'] === 'atendido_em')
|
||||
<td>{{ date('d/m/Y H:i', strtotime($atendimento[$coluna['key']])) }}</td>
|
||||
@else
|
||||
<td>{{ $atendimento[$coluna['key']] }}</td>
|
||||
@endif
|
||||
|
||||
@endif
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) - 1 }}" style="text-align:right">
|
||||
Total de atendimentos realizados:
|
||||
</td>
|
||||
<td>
|
||||
{{ $atendimentos['total_atendimentos'] }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) - 1 }}" style="text-align:right">
|
||||
Total de pacientes:
|
||||
</td>
|
||||
<td>
|
||||
{{ $atendimentos['total_pacientes'] }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) - 1 }}" style="text-align:right">
|
||||
Total de evasões:
|
||||
</td>
|
||||
<td>
|
||||
{{ $atendimentos['total_evasao'] }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) - 1 }}" style="text-align:right">
|
||||
Total de registros de atendimentos (FAA):
|
||||
</td>
|
||||
<td>
|
||||
{{ $atendimentos['total_faa'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,75 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
|
||||
RELATÓRIO DE CLASSIFICAÇÃO DE RISCO
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período de:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Até: </strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Classificação de risco:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['periodo']['date']['start'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['periodo']['date']['end'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['classificacao_risco'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Unidade:</strong>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<strong>Local de atendimento:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['unidade'] }}
|
||||
</td>
|
||||
<td colspan="2">
|
||||
{{ $params['local_atendimento'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
<th><strong>{{ $coluna['label'] }}</strong></th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($classificacoes_risco['classificacoes_risco'] as $classificacaoRisco)
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
<td>{{ $classificacaoRisco[$coluna['key']] }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) - 1 }}" style="text-align: right">
|
||||
<strong>Total Geral</strong>
|
||||
</td>
|
||||
<td>
|
||||
{{ $classificacoes_risco['total_geral'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,77 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ $colunas->count() }}">
|
||||
RELATÓRIO DE DOCUMENTOS NÃO ASSINADOS
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período:</strong>
|
||||
</td>
|
||||
|
||||
<td colspan="2">
|
||||
<strong>Unidade:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
De {{ $inicio }} até {{ $fim }}
|
||||
</td>
|
||||
|
||||
<td colspan="2">
|
||||
{{ $unidade }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Local de atendimento:</strong>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<strong>Profissional:</strong>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<strong>Tipo:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
{{ $infraestrutura }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ $profissional }}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
{{ $tipo }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<th>
|
||||
<strong>{{ $coluna['label'] }}</strong>
|
||||
</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($itens as $item)
|
||||
<tr>
|
||||
@foreach ($colunas as $coluna)
|
||||
<td>{{ $item->{$coluna['key']} ?? '-' }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,144 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($colunas) }}">
|
||||
RELATÓRIO DE EXAME DE IMAGEM
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Data inicial:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Data final:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Horário Inicial:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Horário final:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['data_inicial'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['data_final'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['horario_inicial'] ? $params['horario_inicial'] : 'Não informado' }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['horario_final'] ? $params['horario_final'] : 'Não informado' }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Unidade:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Local de atendimento:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['unidade'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['infraestrutura'] }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>CBO do profissional solicitante:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Profissional solicitante:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>CBO do profissional executante:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Profissional executante:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['ocupacao_solicitante'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['usuario_solicitante'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['ocupacao_executante'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['usuario_executante'] }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Exame:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Status:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Encaminhado:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['exame'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['status_nome'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['encaminhado_text'] }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Paciente:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Prontuário:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['paciente'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['prontuario'] ? $params['prontuario'] : 'Não informado' }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach($colunas as $coluna)
|
||||
<th><strong>{{ $coluna['label'] }}</strong></th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($itens['atendimentos'] as $item)
|
||||
<tr>
|
||||
@foreach($colunas as $coluna)
|
||||
<td>{{ $item->{$coluna['key']} ?? '-' }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th colspan="{{ $colunas->count() }}">Quantidade total de procedimentos:</th>
|
||||
<th>{{ $itens['totalizadores']['total'] }}</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -0,0 +1,98 @@
|
||||
@php
|
||||
use App\Enums\ProntoAtendimento\Atendimento\MetodoProducao;
|
||||
@endphp
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
|
||||
RELATÓRIO DE PRODUÇÃO DO MÉDICO
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período de:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Até: </strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Unidade:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Local de atendimento:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['periodo']['start'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['periodo']['end'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['unidade'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['local_atendimento'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Método:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Médico:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Origem de entrada:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Status:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ MetodoProducao::getConstantName($params['metodo_producao']) }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['nome_medico'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['nome_origem_entrada'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['nome_status'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
<th>{{ $coluna['label'] }}</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($atendimentos['atendimentos'] as $atendimento)
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
<td>{{ get_object_vars($atendimento)[$coluna['key']] }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) - 1 }}" style="text-align:right">
|
||||
Total
|
||||
</td>
|
||||
<td>
|
||||
{{ $atendimentos['quantidade_total'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,119 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
|
||||
RELATÓRIO QUANTITATIVO DE PRODUÇÃO
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período de:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Até: </strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Unidade:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['periodo']['date']['start'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['periodo']['date']['end'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['unidade'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Local de atendimento:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Idade de:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Até:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['local_atendimento'] }}
|
||||
</td>
|
||||
<td>
|
||||
@if (empty($params['idade_de']))
|
||||
Todas
|
||||
@else
|
||||
{{ $params['idade_de'] }}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@if (empty($params['idade_ate']))
|
||||
Todas
|
||||
@else
|
||||
{{ $params['idade_ate'] }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>CBO:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Procedimento:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Status:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['ocupacao'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['procedimento'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['status_nome'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach($params['columns'] as $col)
|
||||
<th><strong>{{ $col['label'] }}</strong></th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($procedimentos_atendimentos['procedimentos_atendimentos'] as $procedimentoAtendimento)
|
||||
<tr>
|
||||
@foreach($params['columns'] as $col)
|
||||
@if ($col['key'] === 'procedimento')
|
||||
<td>{{ $procedimentoAtendimento->procedimento_codigo_nome }}</td>
|
||||
@elseif ($col['key'] === 'ocupacao')
|
||||
<td>{{ $procedimentoAtendimento->ocupacao_codigo_nome }}</td>
|
||||
@else
|
||||
<td>{{ get_object_vars($procedimentoAtendimento)[$col['key']] }}</td>
|
||||
@endif
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
<tr>
|
||||
<td colspan="{{ count($params['columns']) - 1 }}" style="text-align: right">
|
||||
<strong>Total Geral</strong>
|
||||
</td>
|
||||
<td>
|
||||
{{ $procedimentos_atendimentos['quantidade_total'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,85 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: center" colspan="{{ count($params['columns']) }}">
|
||||
RELATÓRIO DE PLANTÃO
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Período de:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Até: </strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['periodo']['date']['start'] }}
|
||||
|
||||
@if (!empty($params['periodo']['time']['start']))
|
||||
as {{ $params['periodo']['time']['start'] }}
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['periodo']['date']['end'] }}
|
||||
|
||||
@if (!empty($params['periodo']['time']['end']))
|
||||
as {{ $params['periodo']['time']['end'] }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Unidade:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Local de atendimento:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['unidade'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['local_atendimento'] }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<strong>Especialidade:</strong>
|
||||
</td>
|
||||
<td>
|
||||
<strong>Profissional:</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{{ $params['especialidade'] }}
|
||||
</td>
|
||||
<td>
|
||||
{{ $params['profissional'] }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
<th>{{ $coluna['label'] }}</th>
|
||||
@endforeach
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($plantoes as $plantao)
|
||||
<tr>
|
||||
@foreach($params['columns'] as $coluna)
|
||||
<td>{{ $plantao[$coluna['key']] }}</td>
|
||||
@endforeach
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user