987 lines
44 KiB
PHP
987 lines
44 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="pt-BR">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
@include('impressoes.utils.reset-css')
|
|
|
|
<style type="text/css">
|
|
|
|
h1 {
|
|
font-size: 17px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
fieldset {
|
|
margin-top: 10px;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
legend {
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
span {
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.content {
|
|
position: relative;
|
|
margin: 0 auto;
|
|
width: 890px;
|
|
}
|
|
|
|
.content-header {
|
|
position: relative;
|
|
padding-top: 10px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.content-header-title {
|
|
line-height: 22px;
|
|
}
|
|
|
|
.logo-wrapper {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 68px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 20px;
|
|
font-weight: bolder;
|
|
}
|
|
|
|
.content-main {
|
|
position: relative;
|
|
padding: 2px;
|
|
}
|
|
.page {
|
|
page-break-after: always;
|
|
position: relative;
|
|
height: 100vh;
|
|
}
|
|
|
|
.page > .content:first-of-type {
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.text-box-group > .text-box-group-row:not(:first-of-type) {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.text-box-group > .text-box-group-row:after {
|
|
content: ".";
|
|
display: block;
|
|
clear: both;
|
|
visibility: hidden;
|
|
line-height: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.text-box-group-row > .text-box:not(:first-of-type) {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.text-box {
|
|
border-left: 1px solid #000000;
|
|
border-right: 1px solid #000000;
|
|
border-bottom: 1px solid #000000;
|
|
border-bottom-left-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
height: 20px;
|
|
}
|
|
|
|
.text-box:after {
|
|
content: ".";
|
|
display: block;
|
|
clear: both;
|
|
visibility: hidden;
|
|
line-height: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.text-box-label {
|
|
white-space: nowrap;
|
|
border-right: 1px solid #000000;
|
|
height: 20px;
|
|
line-height: 22px;
|
|
padding: 0 5px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.text-box-gap-group:after {
|
|
content: ".";
|
|
display: block;
|
|
clear: both;
|
|
visibility: hidden;
|
|
line-height: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.text-box-gap {
|
|
float: left;
|
|
width: 22px;
|
|
height: 18px;
|
|
margin-top: 2px;
|
|
text-align: center;
|
|
}
|
|
|
|
.text-box-gap-group > .text-box-gap:not(:first-of-type) {
|
|
border-left: 1px solid #000000;
|
|
}
|
|
|
|
.blank-line {
|
|
height: 20px;
|
|
border-bottom: 1px solid #000000;
|
|
}
|
|
|
|
.checkbox {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 4px;
|
|
border: 1px solid #000000;
|
|
}
|
|
|
|
.float-right {
|
|
float: right;
|
|
}
|
|
|
|
.float-left {
|
|
float: left;
|
|
}
|
|
|
|
.clear {
|
|
clear: both;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.mt-30 {
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.assinatura {
|
|
margin: 0 auto;
|
|
width: 400px;
|
|
text-align: center;
|
|
padding-top: 80px;
|
|
page-break-inside: avoid;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.assinatura-linha {
|
|
border-top: 2px solid #000000;
|
|
margin-bottom: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
@php
|
|
$requisitante['unidade'] = substr($requisitante['unidade'], 0, 50);
|
|
$requisitante['cnes'] = str_split($requisitante['cnes']);
|
|
|
|
$paciente['data_nascimento'] = str_split($paciente['data_nascimento']);
|
|
|
|
if (is_null($paciente['sexo_masculino'])) {
|
|
$sexoMasculinoCheck = '( )';
|
|
$sexoFemininoCheck = '( )';
|
|
}
|
|
else {
|
|
$sexoMasculinoCheck = $paciente['sexo_masculino'] ? '(X)' : '( )';
|
|
$sexoFemininoCheck = !$paciente['sexo_masculino'] ? '(X)' : '( )';
|
|
}
|
|
|
|
$paciente['nome'] = str_split(substr($paciente['nome'], 0, 36));
|
|
$paciente['rg'] = str_split($paciente['rg']);
|
|
$paciente['ibge'] = str_split($paciente['ibge']);
|
|
@endphp
|
|
|
|
@foreach ($solicitacoes as $solicitacao)
|
|
@php
|
|
$limite = 152;
|
|
$justificativa = $solicitacao['justificativa'];
|
|
$partes = [];
|
|
|
|
while (strlen($justificativa) > 0) {
|
|
|
|
if (strlen($justificativa) <= $limite) {
|
|
$partes[] = $justificativa;
|
|
break;
|
|
}
|
|
|
|
$parte = substr($justificativa, 0, $limite);
|
|
$ultimoEspaco = strrpos($parte, ' ');
|
|
|
|
|
|
if ($ultimoEspaco === false) {
|
|
$ultimoEspaco = $limite;
|
|
}
|
|
|
|
|
|
$partes[] = substr($justificativa, 0, $ultimoEspaco);
|
|
$justificativa = substr($justificativa, $ultimoEspaco + 1);
|
|
}
|
|
|
|
$solicitacao['justificativa'] = $partes;
|
|
$linhasJustificativa = count($partes);
|
|
|
|
$observacao = $solicitacao['observacao'];
|
|
$partes = [];
|
|
|
|
while (strlen($observacao) > 0) {
|
|
|
|
if (strlen($observacao) <= $limite) {
|
|
$partes[] = $observacao;
|
|
break;
|
|
}
|
|
|
|
$parte = substr($observacao, 0, $limite);
|
|
$ultimoEspaco = strrpos($parte, ' ');
|
|
|
|
|
|
if ($ultimoEspaco === false) {
|
|
$ultimoEspaco = $limite;
|
|
}
|
|
|
|
$partes[] = substr($observacao, 0, $ultimoEspaco);
|
|
$observacao = substr($observacao, $ultimoEspaco + 1);
|
|
}
|
|
|
|
$solicitacao['observacao'] = $partes;
|
|
$linhasObservacao = count($partes);
|
|
|
|
$solicitacao['data'] = explode('/', $solicitacao['data']);
|
|
$solicitacao['usuario_origem']['usuario_nome'] = substr($solicitacao['usuario_origem']['usuario_nome']
|
|
. ($solicitacao['usuario_origem']['documento'] ? " - {$solicitacao['usuario_origem']['documento']}" : ''), 0, 50);
|
|
$solicitacao['usuario_origem']['ocupacao_descricao'] = substr($solicitacao['usuario_origem']['ocupacao_descricao'], 0, 25);
|
|
@endphp
|
|
|
|
@foreach ($solicitacao['itens'] as $item)
|
|
@php
|
|
$item['codigo'] = str_split($item['codigo']);
|
|
@endphp
|
|
|
|
<div class="page">
|
|
|
|
<div class="content">
|
|
|
|
<div class="content-header">
|
|
<div class="logo-wrapper">
|
|
<span class="logo">SUS - SP</span>
|
|
</div>
|
|
|
|
<h1 class="content-header-title">
|
|
SISTEMA DE INFORMAÇÕES AMBULATORIAL <br>
|
|
FICHA DE REQUISIÇÃO DE SERVIÇOS AUXILIARES DE DIAGOSE E TERAPIA (SADT)
|
|
</h1>
|
|
</div>
|
|
|
|
<div class="content-main">
|
|
<div class="text-box-group">
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-right" style="margin-right: 2px;">
|
|
<div class="text-box-label float-left" style="width: 108px;">
|
|
Nº DE ORDEM
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 6; $i++)
|
|
<div class="text-box-gap"></div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left" style="width: 619px;">
|
|
<div class="text-box-label float-left">
|
|
NOME DA UNIDADE REQUISITANTE
|
|
</div>
|
|
|
|
<div class="float-left" style="padding: 0 5px; line-height: 21px;">
|
|
<span>{{ $requisitante['unidade'] }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left" style="width: 85px;">
|
|
CÓD. UNIDADE
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 7; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $requisitante['cnes'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left" style="width: 619px;">
|
|
<div class="text-box-label float-left">
|
|
ESPECIALISTA
|
|
</div>
|
|
|
|
<div class="float-left" style="padding: 0 5px; line-height: 21px;">
|
|
<span>{{ $solicitacao['usuario_origem']['usuario_nome'] }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left">
|
|
<div class="text-box-label float-left">
|
|
ESPECIALIDADE
|
|
</div>
|
|
|
|
<div class="float-left" style="padding: 0 5px; line-height: 21px; width: 150px">
|
|
<span>{{ $solicitacao['usuario_origem']['ocupacao_descricao'] }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<fieldset>
|
|
<legend>IDENTIFICAÇÃO DO PACIENTE</legend>
|
|
|
|
<div class="text-box-group">
|
|
<div class="text-box-group-row">
|
|
<div class="float-left text-center" style="border: 1px solid transparent; width: 160px;">
|
|
<span>MATRÍCULA</span>
|
|
</div>
|
|
<div class="float-left text-center" style="margin-left: 5px; border: 1px solid transparent; width: 45px;">
|
|
<span>EST.</span>
|
|
</div>
|
|
<div class="float-left text-center" style="margin-left: 5px; border: 1px solid transparent; width: 183px;">
|
|
<span>R.G.</span>
|
|
</div>
|
|
<div class="float-left text-center" style="margin-left: 5px; border: 1px solid transparent; width: 22px;">
|
|
<span>DC</span>
|
|
</div>
|
|
<div class="float-left text-center" style="margin-left: 5px; border: 1px solid transparent; width: 45px;">
|
|
<span>SEQ.</span>
|
|
</div>
|
|
<div class="float-left text-center" style="margin-left: 5px; border: 1px solid transparent; width: 137px;">
|
|
<span>DATA DE NASC.</span>
|
|
</div>
|
|
<div class="float-left text-center" style="margin-left: 5px; border: 1px solid transparent; width: 248px;">
|
|
<span>SEXO</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left">
|
|
<div class="text-box-gap-group">
|
|
@for ($i = 0; $i < 7; $i++)
|
|
<div class="text-box-gap"></div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left">
|
|
<div class="text-box-gap-group">
|
|
@for ($i = 0; $i < 2; $i++)
|
|
<div class="text-box-gap"></div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left">
|
|
<div class="text-box-gap-group">
|
|
@for ($i = 0; $i < 8; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['rg'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left">
|
|
<div class="text-box-gap-group">
|
|
<div class="text-box-gap"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left">
|
|
<div class="text-box-gap-group">
|
|
@for ($i = 0; $i < 2; $i++)
|
|
<div class="text-box-gap"></div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left">
|
|
<div class="text-box-gap-group">
|
|
@for ($i = 0; $i < 6; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['data_nascimento'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left" style="width: 248px;">
|
|
<div class="float-left text-center" style="width: 112px">
|
|
<span>12.{{ $sexoMasculinoCheck }} MASC.</span>
|
|
</div>
|
|
|
|
<div class="float-left text-center" style="width: 112px">
|
|
<span>25.{{ $sexoFemininoCheck }} FEM.</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left">
|
|
<div class="text-box-label float-left" style="width: 44px;">
|
|
NOME
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 36; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['nome'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left">
|
|
<div class="text-box-label float-left" style="width: 90px;">
|
|
NOME SOCIAL
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 34; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['nome_social'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left" style="width: 222px;">
|
|
<div class="text-box-label float-left">
|
|
IDADE
|
|
</div>
|
|
|
|
<div class="float-left" style="padding: 0 5px;">
|
|
<span>{{ $paciente['idade'] }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left">
|
|
PRONTUÁRIO
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 8; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['prontuario'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left">
|
|
CNS
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 15; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['cns'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left">
|
|
CPF
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 11; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['cpf'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left" style="width: 590px;">
|
|
<div class="text-box-label float-left">
|
|
TELEFONES
|
|
</div>
|
|
|
|
<div class="float-left" style="padding: 0 5px;">
|
|
<span>
|
|
<strong>
|
|
@foreach ($paciente['telefones'] as $i => $telefone)
|
|
{{$telefone . ($i < count($paciente['telefones']) - 1 ? ' / ' : '')}}
|
|
@endforeach
|
|
</strong>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left">
|
|
<div class="text-box-label float-left" style="width: 90px;">
|
|
NOME DA MÃE
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 34; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['nome_mae'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left" style="width: 622px;">
|
|
<div class="text-box-label float-left">
|
|
UNIDADE REFERÊNCIA
|
|
</div>
|
|
|
|
<div class="float-left" style="padding: 0 5px;">
|
|
<span>{{ $paciente['unidade_referencia'] }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left">
|
|
CÓD. UNIDADE
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 7; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['unidade_referencia_cnes'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left" style="width: 883px;">
|
|
<div class="text-box-label float-left">
|
|
ENDEREÇO
|
|
</div>
|
|
|
|
<div class="float-left" style="padding: 0 5px;">
|
|
<span>{{$paciente['logradouro']}}, @if ($paciente['sem_numero']) S/N @else {{ $paciente['numero'] }} @endif @if($paciente['complemento'])- {{$paciente['complemento']}}@endif</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left">
|
|
CEP
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 8; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['cep'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left" style="width: 660px;">
|
|
<div class="text-box-label float-left">
|
|
BAIRRO
|
|
</div>
|
|
|
|
<div class="float-left" style="padding: 0 5px;">
|
|
<span>{{$paciente['bairro']}}</span>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left" style="width: 601px;">
|
|
<div class="text-box-label float-left">
|
|
MUNICÍPIO
|
|
</div>
|
|
|
|
<div class="float-left" style="padding: 0 5px;">
|
|
<span>{{ $paciente['municipio'] }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left">
|
|
MUN
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 7; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['ibge'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left">
|
|
UF
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 2; $i++)
|
|
<div class="text-box-gap">
|
|
<span>{{ $paciente['uf'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend>SUSPEITA CLÍNICA</legend>
|
|
|
|
<div>
|
|
<div class="blank-line" style="{{ $solicitacao['ciap'] ? 'height: 40px;' : '' }}">
|
|
<span style="font-size: 15px; !important">
|
|
<strong>CID10</strong>: {{ $solicitacao['cid'] ?? '' }}
|
|
</span>
|
|
|
|
@if ($solicitacao['ciap'])
|
|
<div style="margin-top: 3px;">
|
|
<span style="font-size: 15px; !important;">
|
|
<strong>CIAP2</strong>: {{ $solicitacao['ciap'] }}
|
|
</span>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
<div class="float-left" style="width: 434px;">
|
|
|
|
<div>
|
|
<div class="float-left" style="height: 20px;">
|
|
<div class="checkbox" style="margin-top: 3px"></div>
|
|
</div>
|
|
|
|
<div class="float-left" style="height: 20px; margin-left: 3px;">
|
|
<span style="line-height: 28px;">USO DE ATB:</span>
|
|
</div>
|
|
|
|
<div class="blank-line float-left" style="width: 345px;"></div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
<div>
|
|
<div class="float-left" style="height: 20px;">
|
|
<div class="checkbox" style="margin-top: 3px"></div>
|
|
</div>
|
|
|
|
<div class="float-left" style="height: 20px; margin-left: 3px;">
|
|
<span style="line-height: 28px;">OUTRO MEDICAMENTO:</span>
|
|
</div>
|
|
|
|
<div class="blank-line float-left" style="width: 285px;"></div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="float-left" style="width: 434px; margin-left: 15px; padding-top: 3px;">
|
|
<div>
|
|
<div class="float-left" style="height: 20px;">
|
|
<span style="line-height: 28px;">DATA PRIMEIROS SINTOMAS</span>
|
|
</div>
|
|
|
|
<div class="blank-line float-left" style="width: 280px;"></div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
<div>
|
|
<div class="float-left" style="height: 20px; margin-right: 3px;">
|
|
<span style="line-height: 28px;">CASO</span>
|
|
</div>
|
|
|
|
<div class="float-left" style="height: 20px;">
|
|
<div class="checkbox" style="margin-top: 3px"></div>
|
|
</div>
|
|
|
|
<div class="float-left" style="height: 20px; margin-left: 50px; margin-right: 3px;">
|
|
<span style="line-height: 28px;">COMUNICANTE</span>
|
|
</div>
|
|
|
|
<div class="float-left" style="height: 20px;">
|
|
<div class="checkbox" style="margin-top: 3px"></div>
|
|
</div>
|
|
|
|
<div class="float-right" style="height: 20px; margin-right: 2px;">
|
|
<span style="line-height: 28px;">DE DOENÇA NOT. COMPULSÓRIA</span>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</fieldset>
|
|
|
|
<fieldset style="padding-top: 0;">
|
|
<legend style="width: 884px;">
|
|
SADT SOLICITADO
|
|
|
|
<div class="text-box float-right" style="font-weight: normal;">
|
|
<div class="text-box-label float-left" style="font-size: 15px; !important">
|
|
<strong>CÓDIGO</strong>
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 10; $i++)
|
|
<div class="text-box-gap" style="line-height: 18px;">
|
|
<strong><span style="font-size: 15px; !important">{{ $item['codigo'][$i] ?? '' }}</span></strong>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</legend>
|
|
|
|
<div class="blank-line">
|
|
<strong><span style="font-size: 15px; !important">{{ $item['nome'] }}</span></strong>
|
|
</div>
|
|
|
|
<div class="blank-line"></div>
|
|
|
|
<div style="margin: 5px 0">
|
|
<div class="float-left" style="margin-left: 100px; margin-right: 3px;">
|
|
<span>DIAGNÓSTICO</span>
|
|
</div>
|
|
|
|
<div class="float-left">
|
|
<div class="checkbox"></div>
|
|
</div>
|
|
<div class="float-left" style="margin-left: 160px; margin-right: 3px;">
|
|
<span>CONTROLE</span>
|
|
</div>
|
|
|
|
<div class="float-left">
|
|
<div class="checkbox"></div>
|
|
</div>
|
|
|
|
<div class="float-left" style="margin-left: 160px;">
|
|
<span>Nº SESSÕES</span>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
</fieldset>
|
|
|
|
<div>
|
|
<div class="float-left" style="height: 20px; margin-right: 6px">
|
|
<span style="line-height: 28px;">MATERIAL ENVIADO:</span>
|
|
</div>
|
|
|
|
<div class="blank-line float-left" style="width: 768px;"></div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
<div class="blank-line"></div>
|
|
|
|
<div style="margin: 10px 0 7px 0">
|
|
<div class="float-left" style="margin-right: 15px;">
|
|
<span>DATA DA REQUISIÇÃO</span>
|
|
</div>
|
|
|
|
<div class="float-left">
|
|
<div class="float-left text-center" style="border-bottom: 1px solid #000000; width: 50px; height: 17px;">
|
|
<span>{{ $solicitacao['data'][0] }}</span>
|
|
</div>
|
|
<div class="float-left">/</div>
|
|
<div class="float-left text-center" style="border-bottom: 1px solid #000000; width: 50px; height: 17px;">
|
|
<span>{{ $solicitacao['data'][1] }}</span>
|
|
</div>
|
|
<div class="float-left">/</div>
|
|
<div class="float-left text-center" style="border-bottom: 1px solid #000000; width: 50px; height: 17px;">
|
|
<span>{{ $solicitacao['data'][2] }}</span>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
<div class="float-left" style="margin-left: 127px; margin-right: 3px;">
|
|
<div class="checkbox"></div>
|
|
</div>
|
|
|
|
<div class="float-left">
|
|
<span>1ª AMOSTRA</span>
|
|
</div>
|
|
|
|
<div class="float-left" style="margin-left: 152px; margin-right: 3px;">
|
|
<div class="checkbox"></div>
|
|
</div>
|
|
|
|
<div class="float-left">
|
|
<span>2ª AMOSTRA</span>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
|
|
<div style="margin: 7px 0;">
|
|
<span>NOME DA UNIDADE QUE REALIZARÁ A SADT</span>
|
|
</div>
|
|
|
|
<div class="text-box-group">
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left" style="width: 645px;">
|
|
<div class="text-box-label float-left">
|
|
ENCAMINHADO PARA:
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left">
|
|
CÓD. UNIDADE
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 6; $i++)
|
|
<div class="text-box-gap"></div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left" style="width: 596px;">
|
|
<div class="text-box-label float-left">
|
|
ENDEREÇO
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left text-box-space" style="width: 279px;">
|
|
<div class="text-box-label float-left">
|
|
TELEFONE
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box-group-row">
|
|
<div class="text-box float-left" style="width: 643px;">
|
|
<div class="text-box-label float-left">
|
|
ASSINATURA DO PROFISSIONAL RESPONSÁVEL
|
|
</div>
|
|
</div>
|
|
|
|
<div class="text-box float-left text-box-space">
|
|
<div class="text-box-label float-left">
|
|
CR
|
|
</div>
|
|
|
|
<div class="text-box-gap-group float-left">
|
|
@for ($i = 0; $i < 9; $i++)
|
|
<div class="text-box-gap"></div>
|
|
@endfor
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<fieldset>
|
|
<legend>JUSTIFICATIVA</legend>
|
|
|
|
<div>
|
|
@for ($i = 0; $i < $linhasJustificativa; $i++)
|
|
<div class="blank-line">
|
|
<span>{{ $solicitacao['justificativa'][$i] ?? '' }}</span>
|
|
</div>
|
|
|
|
@if ($i === 16)
|
|
<div class="assinatura">
|
|
<div class="assinatura-linha"></div>
|
|
|
|
<div>{{ $solicitacao['usuario_origem']['usuario_nome'] }}</div>
|
|
<div>{{ $solicitacao['usuario_origem']['ocupacao_descricao'] }}</div>
|
|
<div>{{ $solicitacao['usuario_origem']['documento'] ?? 'Conselho profissional: NÃO INFORMADO' }}</div>
|
|
</div>
|
|
|
|
<div style="page-break-before: always;"></div>
|
|
@endif
|
|
@endfor
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend>OBSERVAÇÃO</legend>
|
|
|
|
<div>
|
|
@for ($i = 0; $i < $linhasObservacao; $i++)
|
|
<div class="blank-line">
|
|
<span>{{ $solicitacao['observacao'][$i] ?? '' }}</span>
|
|
</div>
|
|
@endfor
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
</fieldset>
|
|
|
|
<div class="assinatura">
|
|
@if(!$paraAssinar)
|
|
<div class="assinatura-linha"></div>
|
|
@endif
|
|
|
|
<div>{{ $solicitacao['usuario_origem']['usuario_nome'] }}</div>
|
|
<div>{{ $solicitacao['usuario_origem']['ocupacao_descricao'] }}</div>
|
|
<div>{{ $solicitacao['usuario_origem']['documento'] ?? 'Conselho profissional: NÃO INFORMADO' }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@endforeach
|
|
</body>
|
|
</html> |