init commit
All checks were successful
build-api-image / build (push) Successful in 51s

This commit is contained in:
Antonio Lopes dos Santos
2026-08-04 16:52:02 -03:00
commit afec302c3e
11594 changed files with 1636728 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
<table>
<tr>
<td style="text-align: center" colspan="@if($tipo_inconsistencia === 'Procedimento') 9 @else 7 @endif">
<strong>{{ $title }}</strong>
</td>
</tr>
<tr>
<td><strong>Competência</strong></td>
<td><strong>Tipo de inconsistência</strong></td>
<td><strong>Unidade</strong></td>
</tr>
<tr>
<td>{{$competencia}}</td>
<td>{{$tipo_inconsistencia}}</td>
<td>{{$unidade}}</td>
</tr>
</table>
<table>
<thead>
<tr>
<th>Data de admissão</th>
<th>Data de conclusão</th>
<th>Unidade</th>
<th>Nome do paciente</th>
<th>CNS do paciente</th>
@if($tipo_inconsistencia === 'Procedimento')
<th>Tipo de RAAS</th>
<th>Procedimento</th>
@endif
<th>CID</th>
<th>Inconsistências</th>
</tr>
</thead>
<tbody>
@foreach($data['itens'] as $item)
<tr>
<td>{{$item['data_admissao']}}</td>
<td>{{$item['data_conclusao']}}</td>
<td>{{$item['unidade_nome_fantasia']}}</td>
<td>{{$item['paciente_nome']}}</td>
<td>{{$item['paciente_cns']}}</td>
@if($tipo_inconsistencia === 'Procedimento')
<td>{{$item['registro_nome']}}</td>
<td>{{$item['procedimento']}}</td>
@endif
<td>{{$item['cid']}}</td>
<td>
@foreach($item['inconsistencias'] as $inconsistencia)
<div>{{$inconsistencia->inconsistencia_descricao}}</div>
@endforeach
</td>
</tr>
@endforeach
</tbody>
</table>