68 lines
1.7 KiB
PHP
68 lines
1.7 KiB
PHP
<?php
|
|
|
|
namespace App\Models\ProntoAtendimento\Atendimento;
|
|
|
|
use App\Models\Geral\GlasgowAberturaOcular;
|
|
use App\Models\Geral\GlasgowReatividadePupilar;
|
|
use App\Models\Geral\GlasgowRespostaMotora;
|
|
use App\Models\Geral\GlasgowRespostaVerbal;
|
|
use App\Models\Model;
|
|
use App\Models\ProntoAtendimento\Atendimento\Observacao\PacienteObservacao;
|
|
use App\Models\ProntoAtendimento\Atendimento\Triagem\AtendimentoTriagem;
|
|
|
|
class EscalaComaGlasgow extends Model
|
|
{
|
|
protected $table = 'pronto_atendimento_atendimento_escala_coma_glasgow';
|
|
|
|
protected $fillable = [
|
|
'paciente_observacao_id',
|
|
'abertura_ocular_id',
|
|
'resposta_verbal_id',
|
|
'resposta_motora_id',
|
|
'reatividade_pupilar_id',
|
|
'observacao',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'created_at',
|
|
'created_lotacao_id',
|
|
'created_centro_custo_id',
|
|
'updated_at',
|
|
'updated_lotacao_id',
|
|
'updated_centro_custo_id',
|
|
'deleted_at',
|
|
'deleted_lotacao_id',
|
|
'deleted_centro_custo_id',
|
|
];
|
|
|
|
public function pacienteObservacao()
|
|
{
|
|
return $this->belongsTo(PacienteObservacao::class);
|
|
}
|
|
|
|
public function atendimentoTriagem()
|
|
{
|
|
return $this->belongsTo(AtendimentoTriagem::class);
|
|
}
|
|
|
|
public function aberturaOcular()
|
|
{
|
|
return $this->belongsTo(GlasgowAberturaOcular::class);
|
|
}
|
|
|
|
public function respostaVerbal()
|
|
{
|
|
return $this->belongsTo(GlasgowRespostaVerbal::class);
|
|
}
|
|
|
|
public function respostaMotora()
|
|
{
|
|
return $this->belongsTo(GlasgowRespostaMotora::class);
|
|
}
|
|
|
|
public function reatividadePupilar()
|
|
{
|
|
return $this->belongsTo(GlasgowReatividadePupilar::class);
|
|
}
|
|
}
|