This commit is contained in:
15
api/app/Enums/ProntoAtendimento/Atendimento/Desfecho.php
Normal file
15
api/app/Enums/ProntoAtendimento/Atendimento/Desfecho.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Atendimento;
|
||||
|
||||
class Desfecho
|
||||
{
|
||||
const ALTA_MEDICA = 1;
|
||||
const EVASAO = 2;
|
||||
const ENCAMINHAMENTO_HOSPITALAR = 3;
|
||||
const AGUARDANDO_VAGA_HOSPITALAR = 4;
|
||||
const OBITO = 5;
|
||||
const PACIENTE_ATENDIDO = 6;
|
||||
const FAA_EXTRAVIADA = 7;
|
||||
const FAA_CANCELADA = 8;
|
||||
}
|
||||
34
api/app/Enums/ProntoAtendimento/Atendimento/DorToracica.php
Normal file
34
api/app/Enums/ProntoAtendimento/Atendimento/DorToracica.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Atendimento;
|
||||
|
||||
class DorToracica
|
||||
{
|
||||
const CONTRICAO = 1;
|
||||
const QUEIMACAO = 2;
|
||||
const COMPRESSAO = 3;
|
||||
const PESO = 4;
|
||||
const DOR_SURDA = 5;
|
||||
const RETROESTERNAL = 6;
|
||||
const MSE = 7;
|
||||
const FACE = 8;
|
||||
const PESCOCO = 9;
|
||||
const DENTES = 10;
|
||||
const INTER_ESCAPULAR = 11;
|
||||
const EPIGASTRICA = 12;
|
||||
const EXERCICIO = 13;
|
||||
const EXCITACAO = 14;
|
||||
const ESTRESSE = 15;
|
||||
const FRIO = 16;
|
||||
const REFEICOES_COPIOSAS = 17;
|
||||
const DURACAO_DA_DOR = 18;
|
||||
const HAS = 19;
|
||||
const DM = 20;
|
||||
const DISLIPIDEMIA = 21;
|
||||
const HISTORIA_FAMILIAR = 22;
|
||||
const IDADE_MAIOR_SESSENTA = 23;
|
||||
const OBESIDADE = 24;
|
||||
const TABAGISMO = 25;
|
||||
const REVASCULARIZADO_PREVIO = 26;
|
||||
const DURACAO_DA_DOR_MAIOR_10_MINUTOS = 27;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Atendimento\Medico;
|
||||
|
||||
class AtestadoModelo
|
||||
{
|
||||
const PADRAO = 1;
|
||||
const EM_BRANCO = 2;
|
||||
const PERIODO_MANHA = 3;
|
||||
const PERIODO_TARDE = 4;
|
||||
const PERIODO_NOITE = 5;
|
||||
const QUANTIDADE_HORAS = 6;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Atendimento\Medico;
|
||||
|
||||
class DeclaracaoComparecimentoTipo
|
||||
{
|
||||
const PACIENTE = 1;
|
||||
const ACOMPANHANTE = 2;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Atendimento;
|
||||
|
||||
class MetodoProducao
|
||||
{
|
||||
const ATENDIMENTO = 1;
|
||||
const FAA = 2;
|
||||
|
||||
public static function getConstantName($value)
|
||||
{
|
||||
$constants = array_flip((new \ReflectionClass(self::class))->getConstants());
|
||||
|
||||
return $constants[$value] ?? null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Atendimento;
|
||||
|
||||
class OrigemEntrada
|
||||
{
|
||||
const ESPONTANEA = 1;
|
||||
const SAMU = 2;
|
||||
const AMBULANCIA = 3;
|
||||
const RENOVIAS = 4;
|
||||
const INTERVIAS = 5;
|
||||
const BOMBEIROS = 6;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Atendimento;
|
||||
|
||||
class PacienteTraumaStatus
|
||||
{
|
||||
public const ALTERACOES = 1;
|
||||
public const ANISOCORIA = 2;
|
||||
public const ASSIMETRICA = 3;
|
||||
public const AUSENTE = 4;
|
||||
public const COM_LESOES = 5;
|
||||
public const ISOCORICAS = 6;
|
||||
public const LENTIFICADA = 7;
|
||||
public const MIDRIASE = 8;
|
||||
public const NORMAL = 9;
|
||||
public const OBSTRUCAO = 10;
|
||||
public const PRESENTE = 11;
|
||||
public const PERVEAS = 12;
|
||||
public const SEM_LESOES = 13;
|
||||
public const SIMETRICA = 14;
|
||||
}
|
||||
12
api/app/Enums/ProntoAtendimento/ClassificacaoRisco.php
Normal file
12
api/app/Enums/ProntoAtendimento/ClassificacaoRisco.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento;
|
||||
|
||||
class ClassificacaoRisco
|
||||
{
|
||||
const NAO_URGENTE = 1;
|
||||
const POUCO_URGENTE = 2;
|
||||
const URGENTE = 3;
|
||||
const MUITO_URGENTE = 4;
|
||||
const EMERGENCIA = 5;
|
||||
}
|
||||
9
api/app/Enums/ProntoAtendimento/FaixaEtaria.php
Normal file
9
api/app/Enums/ProntoAtendimento/FaixaEtaria.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento;
|
||||
|
||||
class FaixaEtaria
|
||||
{
|
||||
const ADULTO = 1;
|
||||
const INFANTIL = 2;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento;
|
||||
|
||||
class OrigemUnidadeEncaminhamento
|
||||
{
|
||||
const INTERNA = 1;
|
||||
const EXTERNA = 2;
|
||||
}
|
||||
11
api/app/Enums/ProntoAtendimento/Plantao/Status.php
Normal file
11
api/app/Enums/ProntoAtendimento/Plantao/Status.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Plantao;
|
||||
|
||||
class Status
|
||||
{
|
||||
const CADASTRADO = 1;
|
||||
const CONFIRMADO = 2;
|
||||
const COM_ATENDIMENTO_AGENDADO = 3;
|
||||
const PLANTONISTA_AUSENTE = 4;
|
||||
}
|
||||
10
api/app/Enums/ProntoAtendimento/Plantao/TipoEscala.php
Normal file
10
api/app/Enums/ProntoAtendimento/Plantao/TipoEscala.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Plantao;
|
||||
|
||||
class TipoEscala
|
||||
{
|
||||
const FIXA = 1;
|
||||
const DINAMICA = 2;
|
||||
const UNICA = 3;
|
||||
}
|
||||
20
api/app/Enums/ProntoAtendimento/Raat/CausaAcidente.php
Normal file
20
api/app/Enums/ProntoAtendimento/Raat/CausaAcidente.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Raat;
|
||||
|
||||
class CausaAcidente
|
||||
{
|
||||
const ACIDENTE_AUTOMOBILISTICO = 1;
|
||||
const ACIDENTE_BICICLETA = 2;
|
||||
const ACIDENTE_MOTO = 3;
|
||||
const ANIMAIS_INSETO = 4;
|
||||
const CORPO_ESTRANHO = 5;
|
||||
const CORRENTE_ELETRICA = 6;
|
||||
const ESFORCO_FISICO_REPETITIVO = 7;
|
||||
const MAQUINAS_EQUIPAMENTOS = 8;
|
||||
const PRODUTO_QUIMICO = 9;
|
||||
const QUEDA_ALTURA = 10;
|
||||
const QUEDA_PRORIA_ALTURA = 11;
|
||||
const SUBSTANCIA_QUENTEFRIA = 12;
|
||||
const OUTROS = 13;
|
||||
}
|
||||
24
api/app/Enums/ProntoAtendimento/Raat/Diagnostico.php
Normal file
24
api/app/Enums/ProntoAtendimento/Raat/Diagnostico.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Raat;
|
||||
|
||||
class Diagnostico
|
||||
{
|
||||
const AMPUTACAO = 1;
|
||||
const CONCUSSAO = 2;
|
||||
const CONTUSAO = 3;
|
||||
const ENTORSE = 4;
|
||||
const ESCORIACOES = 5;
|
||||
const ESMAGAMENTO = 6;
|
||||
const FERIMENTO_CORTE_CONTUSO_FCC = 7;
|
||||
const FRATURA = 8;
|
||||
const INTOX_ENVENENAMENTO = 9;
|
||||
const LUXACAO = 10;
|
||||
const PERFURACAO = 11;
|
||||
const POLITRAUMATISMO = 12;
|
||||
const QUEIMADURA_QUIMICA = 13;
|
||||
const SURDEZ = 14;
|
||||
const TCE = 15;
|
||||
const TRAUMA = 16;
|
||||
const OUTROS = 17;
|
||||
}
|
||||
35
api/app/Enums/ProntoAtendimento/Raat/ParteCorpoAtingida.php
Normal file
35
api/app/Enums/ProntoAtendimento/Raat/ParteCorpoAtingida.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Raat;
|
||||
|
||||
class ParteCorpoAtingida
|
||||
{
|
||||
const ABDOMEN = 1;
|
||||
const ANTEBRACO = 2;
|
||||
const BOCA = 3;
|
||||
const CABECA = 4;
|
||||
const COLUNA = 5;
|
||||
const COSTAS = 6;
|
||||
const COTOVELO = 7;
|
||||
const COXA = 8;
|
||||
const DEDOS_DA_MAO = 9;
|
||||
const DEDO_DO_PE = 10;
|
||||
const FACE = 11;
|
||||
const JOELHO = 12;
|
||||
const MAO = 13;
|
||||
const NARIZ = 14;
|
||||
const OLHO = 15;
|
||||
const OMBRO = 16;
|
||||
const ORELHA = 17;
|
||||
const PERNA = 18;
|
||||
const PESCOCO = 19;
|
||||
const PUNHO = 20;
|
||||
const PE = 21;
|
||||
const QUADRIL = 22;
|
||||
const QUEIXO = 23;
|
||||
const SUPERCILIOS = 24;
|
||||
const TESTA = 25;
|
||||
const TORAX = 26;
|
||||
const TORNOZELO = 27;
|
||||
const OUTROS = 28;
|
||||
}
|
||||
11
api/app/Enums/ProntoAtendimento/Raat/RegimeTrabalho.php
Normal file
11
api/app/Enums/ProntoAtendimento/Raat/RegimeTrabalho.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento\Raat;
|
||||
|
||||
class RegimeTrabalho
|
||||
{
|
||||
const COM_REGIME = 1;
|
||||
const AUTOMONO = 2;
|
||||
const FUNCIONARIO_PUBLICO = 3;
|
||||
const OUTRO = 4;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\ProntoAtendimento;
|
||||
|
||||
class TipoFormularioAcidenteTrabalho
|
||||
{
|
||||
const CAT = 1;
|
||||
const RAAT = 2;
|
||||
const AMBOS = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user