61 lines
2.3 KiB
PHP
61 lines
2.3 KiB
PHP
@extends('impressoes.layout.impressao')
|
|
|
|
@section('conteudo')
|
|
<div class="fieldset">
|
|
<strong>Paciente:</strong> {{ $paciente['nome'] }}
|
|
<strong>Prontuário:</strong> {{ $paciente['prontuario'] }}
|
|
</div>
|
|
|
|
@foreach($atendimentos as $atendimento)
|
|
<div style="border: 1px solid black; border-bottom: none; padding: 10px;">
|
|
<strong>FAA:</strong> {{ $atendimento['id'] }} |
|
|
<strong>Data de atendimento:</strong> {{ $atendimento['data_atendimento'] }}
|
|
</div>
|
|
|
|
<div class="fieldset">
|
|
@if(sizeof($atendimento['procedimentos']) > 0)
|
|
<h3 style="margin: 0px; margin-bottom: 5px;">Procedimento(s)</h3>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 20%;">Data de realização</th>
|
|
<th>Procedimento</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach($atendimento['procedimentos'] as $procedimento)
|
|
<tr>
|
|
<td>{{ $procedimento->data_realizacao }}</td>
|
|
<td>{{ $procedimento->codigo }} {{ $procedimento->nome }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
@endif
|
|
|
|
@if(sizeof($atendimento['cids']) > 0)
|
|
<h3 style="margin: 0px; margin-bottom: 5px; margin-top: 15px;">CID(s)</h3>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 20%;">Data de atribuição</th>
|
|
<th>CID</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
@foreach($atendimento['cids'] as $cid)
|
|
<tr>
|
|
<td>{{ $cid->data_atribuicao }}</td>
|
|
<td>{{ $cid->codigo }} {{ $cid->nome }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
@endif
|
|
</div>
|
|
@endforeach
|
|
@endsection |