145 lines
5.0 KiB
PHP
145 lines
5.0 KiB
PHP
@extends('impressoes.layout.impressao')
|
|
|
|
@section('conteudo')
|
|
<div class="table-grid-margin-bottom">
|
|
<table class="table-grid">
|
|
<tbody>
|
|
<tr>
|
|
<td colspan="3">
|
|
<table class="table-grid-inner">
|
|
<thead>
|
|
<tr>
|
|
<th class="no-background-color">
|
|
{{ $paciente['nome'] }}
|
|
|
|
@if (!is_null($paciente['nome_social']))
|
|
({{ $paciente['nome_social'] }})
|
|
@endif
|
|
</th>
|
|
|
|
<th class="col-min no-text-transform no-background-color font-size-default">
|
|
<strong>Prontuário: {{ $paciente['prontuario'] }}</strong>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="col-4">
|
|
<strong>CNS:</strong> {{ $paciente['cns'] }}
|
|
</td>
|
|
|
|
<td class="col-4">
|
|
<strong>CPF:</strong> {{ $paciente['cpf'] }}
|
|
</td>
|
|
|
|
<td>
|
|
<strong>Sexo:</strong> {{ $paciente['sexo'] }}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<strong>Data de nascimento:</strong> {{ $paciente['data_nascimento'] }}
|
|
</td>
|
|
|
|
<td colspan="{{ $paciente['idade_gestacional'] ? 1 : 2 }}">
|
|
<strong>Idade:</strong> {{ $paciente['idade'] }}
|
|
</td>
|
|
|
|
@if (!is_null($paciente['idade_gestacional']))
|
|
<td>
|
|
Gestante a {{ $paciente['idade_gestacional'] }}
|
|
</td>
|
|
@endif
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="3">
|
|
<strong>Nome da mãe:</strong> {{ $paciente['nome_mae'] }}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="3">
|
|
<strong>Endereço:</strong> {{ $paciente['endereco'] }}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="3">
|
|
<strong>Contato:</strong>
|
|
|
|
@if (empty($paciente['telefones']))
|
|
NÃO INFORMADO
|
|
@else
|
|
@foreach ($paciente['telefones'] as $i => $telefone)
|
|
<div style="display: inline; padding: {{ $i > 0 ? '0 2px' : '0 2px 0 0' }};">
|
|
{{ $telefone }}
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
@foreach($pedidosExames as $pedidoExame)
|
|
@if($pedidoExame['urgente'])
|
|
<div class="area red text-center titulo mt-1">
|
|
<strong>URGENTE</strong>
|
|
</div>
|
|
@endif
|
|
|
|
<div class="area text-center mt-1">
|
|
<div>
|
|
<strong>Data da solicitação: </strong>
|
|
{{ $pedidoExame['data'] }} - {{ $pedidoExame['medico']['nome'] }} - {{ $pedidoExame['medico']['cbo'] }}
|
|
</div>
|
|
</div>
|
|
|
|
@if($pedidoExame['justificativa'] != '')
|
|
<div class="area text-center">
|
|
<strong>Justificativa: </strong>
|
|
<span>{{ $pedidoExame['justificativa'] }}</span>
|
|
</div>
|
|
@endif
|
|
|
|
<div class="titulo"><strong>Exames</strong></div>
|
|
|
|
@foreach($pedidoExame['exames'] as $exame)
|
|
<div class="area text-center">
|
|
{{ $exame['id'] }}. {{ $exame['nome'] }} - {{ $exame['codigo'] }}
|
|
|
|
@if($exame['observacao_medico'] != "")
|
|
<div>
|
|
<strong>Observação médico:</strong> {{ $exame['observacao_medico'] }}
|
|
</div>
|
|
@endif
|
|
|
|
@if($exame['observacao_executante'] != "")
|
|
<div>
|
|
<strong>Observação executante:</strong> {{ $exame['observacao_executante'] }}
|
|
</div>
|
|
@endif
|
|
</div>
|
|
@endforeach
|
|
|
|
<div style="margin-top:100px"></div>
|
|
|
|
@include('impressoes.components.assinatura', [
|
|
'props' => [
|
|
'class' => 'col-4 center'
|
|
],
|
|
'data' => [
|
|
'info' => [
|
|
"<strong>{$pedidoExame['medico']['nome']}</strong>",
|
|
$pedidoExame['medico']['cbo'],
|
|
]
|
|
],
|
|
])
|
|
@endforeach
|
|
@endsection |