SZRNACOMPANHANTE

0 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
CODCOLIGADA DCODCOLIGADA 2 null
SZRNACOMPANHANTECOMPL.CODCOLIGADA FKSZRNACOMPCOMPL_SZRNACOMPR
SZPACIENTE.CODCOLIGADA FKSZRNACOMPANHANTE_SZPACIENTER
SZATENDIMENTO.CODCOLIGADA FKSZRNACOMPAN_SZATENDIMENTOMAER
TIPOCADASTRO varchar 1 null
CODPACIENTE int 4 null
SZPACIENTE.CODPACIENTE FKSZRNACOMPANHANTE_SZPACIENTER
SZATENDIMENTO.CODPACIENTE FKSZRNACOMPANHAN_SZATENDIMENTOR
CODATENDIMENTO int 4 null
SZATENDIMENTO.CODATENDIMENTO FKSZRNACOMPANHAN_SZATENDIMENTOR
CODLEITO int 4 null
DATAINCLUSAO datetime 16,3 null
GERADIARIA varchar 1 null
CODDIFDIARIA varchar 8 null
DATAGRAVACAO datetime 16,3 null
DATAHORANASC datetime 16,3 null
SEXO varchar 1 ('F')
IDPULSEIRA varchar 20 null
PRONTUARIO varchar 10 null
CONDICAO int 4 (1)
CODPEDIATRARESP int 4 null
CODPACIENTEMAE int 4 null
SZATENDIMENTO.CODPACIENTE FKSZRNACOMPAN_SZATENDIMENTOMAER
CODATENDIMENTOMAE int 4 null
SZATENDIMENTO.CODATENDIMENTO FKSZRNACOMPAN_SZATENDIMENTOMAER
NRDECLARACAORN varchar 15 null
SEQRNACOMP int 4 null
SZRNACOMPANHANTECOMPL.SEQRNACOMP FKSZRNACOMPCOMPL_SZRNACOMPR
RECCREATEDBY varchar 50 null
RECCREATEDON datetime 16,3 null
RECMODIFIEDBY varchar 50 null
RECMODIFIEDON datetime 16,3 null
NUMDOCOBITO varchar 12 null

Indexes

Constraint Name Type Sort Column(s)
PKSZRNACOMPANHANTE Primary key Asc/Asc CODCOLIGADA + SEQRNACOMP

Check Constraints

Constraint Name Constraint
CK__SZRNACOMPANHANTE__1EDB2F60 ([SEXO] = 'F' or [SEXO] = 'M')
CK__SZRNACOMPANHANTE__1DE70B27 ([CONDICAO] = 0 or [CONDICAO] = 1 or [CONDICAO] = 2)

Relationships