114 lines
3.2 KiB
PHP
114 lines
3.2 KiB
PHP
<table>
|
|
<tr>
|
|
<td style="text-align: center" colspan="2">
|
|
<strong>{{$title}}</strong>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Período</strong></td>
|
|
<td><strong>Unidade</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>De {{ $periodo['inicio'] }} até {{ $periodo['fim'] }}</td>
|
|
<td>{{ $unidade }}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Local de atendimento</strong></td>
|
|
<td><strong>Especialidade</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{ $infraestrutura }}</td>
|
|
<td>{{ $especialidade }}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Profissional</strong></td>
|
|
<td><strong>Status</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{$infraestrutura}}</td>
|
|
<td>{{$especialidade}}</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Profissional</strong></td>
|
|
<td><strong>Status</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{ $usuario }}</td>
|
|
<td>{{ $status }}</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th><strong>Tipo de demanda</strong></th>
|
|
<th><strong>Data de atendimento</strong></th>
|
|
<th><strong>Profissional</strong></th>
|
|
<th><strong>Especialidade</strong></th>
|
|
<th><strong>Paciente</strong></th>
|
|
<th><strong>Prontuário</strong></th>
|
|
<th><strong>Horário</strong></th>
|
|
<th><strong>Cids / Ciaps</strong></th>
|
|
<th><strong>Procedimentos</strong></th>
|
|
<th><strong>Status</strong></th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach($itens['atendimentos'] as $atendimento)
|
|
<tr>
|
|
<td>{{$atendimento->demanda_tipo}}</td>
|
|
<td>{{$atendimento->data_atendimento}}</td>
|
|
<td>{{$atendimento->usuario_nome}}</td>
|
|
<td>{{$atendimento->especialidade_nome}}</td>
|
|
<td>{{$atendimento->paciente_nome}}</td>
|
|
<td>{{$atendimento->paciente_prontuario}}</td>
|
|
<td>{{$atendimento->horario_atendimento}}</td>
|
|
|
|
<td>
|
|
@foreach($atendimento->cids_ciaps as $cidCiap)
|
|
{{$cidCiap}} <br/>
|
|
@endforeach
|
|
</td>
|
|
|
|
<td>
|
|
@foreach($atendimento->procedimentos as $procedimento)
|
|
{{$procedimento}} <br/>
|
|
@endforeach
|
|
</td>
|
|
|
|
<td>{{$atendimento->agendamento_status_nome}}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
<table>
|
|
<tr>
|
|
<td style="text-align: center" colspan="4">
|
|
<strong>Totais</strong>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td><strong>Total de pacientes</strong></td>
|
|
<td><strong>Total de atendimentos realizadas</strong></td>
|
|
<td><strong>Total de faltas</strong></td>
|
|
<td><strong>Total de procedimentos lançados</strong></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{{$itens['totalizadores']['quantidade_pacientes']}}</td>
|
|
<td>{{$itens['totalizadores']['quantidade_atendimentos_realizados']}}</td>
|
|
<td>{{$itens['totalizadores']['quantidade_faltas']}}</td>
|
|
<td>{{$itens['totalizadores']['quantidade_procedimentos_lancados']}}</td>
|
|
</tr>
|
|
</table> |