86 lines
2.0 KiB
PHP
86 lines
2.0 KiB
PHP
@extends('impressoes.layout1.content')
|
|
|
|
<style>
|
|
* {
|
|
font-size: 14px;
|
|
}
|
|
</style>
|
|
|
|
@section('conteudo')
|
|
<fieldset>
|
|
<legend>Filtros</legend>
|
|
|
|
<div class="row">
|
|
<div class="col-4">
|
|
<strong>Competência:</strong>
|
|
</div>
|
|
|
|
<div class="col-4">
|
|
<strong>Tipo de inconsistência:</strong>
|
|
</div>
|
|
|
|
<div class="col-4">
|
|
<strong>Unidade:</strong>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-4">
|
|
{{$competencia}}
|
|
</div>
|
|
|
|
<div class="col-4">
|
|
{{$tipo_inconsistencia}}
|
|
</div>
|
|
|
|
<div class="col-4">
|
|
{{$unidade}}
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
|
|
<table class="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>
|
|
@endsection |