Tabela GSA - Solicitacao de Prontuarios
Modo: C
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| GSA_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| GSA_CODSOL | Solicitacao | Codigo da Solicitacao | C | Real | 6 |
| GSA_DATSOL | Data | Data da Solicitacao | D | Real | 8 |
| GSA_HORSOL | Hora | Horario da solicitacao | C | Real | 5 |
| GSA_REGGER | Prontuario | Registro geral paciente | C | Real | 6 |
| GSA_NOMPAC | Nome | Nome paciente | C | Real | 45 |
| GSA_DTNASC | Data Nasc. | Data de Nascimento | D | Virtual | 8 |
| GSA_CODLOC | Setor Codigo | Setor solicitante | C | Real | 2 |
| GSA_NOMLOC | Setor Descr. | Descricao do Setor | C | Virtual | 40 |
| GSA_SEXO | Sexo | Sexo | C | Virtual | 1 |
| GSA_CODEND | Endereco | codigo do endereco | C | Real | 12 |
| GSA_NOMEND | Descricao | Descricao do Endereco | C | Virtual | 30 |
| GSA_ENDRUA | Endereco Rua | Endereco | C | Virtual | 2 |
| GSA_NUMERO | Numero | Numero | C | Virtual | 2 |
| GSA_PRLNUM | Prateleira | Prateleira | C | Virtual | 2 |
| GSA_CODCRM | CRM Medico | CRM do Medico | C | Real | 7 |
| GSA_NOMMED | Nome Medico | Nome do medico | C | Virtual | 40 |
| GSA_CODPRO | Cod Procdto | Cod. produto/procedimento | C | Real | 10 |
| GSA_NOMPRO | Procedimento | Descricao procedimento | C | Virtual | 40 |
| GSA_CODMOT | Motivo Cod | Cod.Motivo solicitacao | C | Real | 6 |
| GSA_NOMMOT | Motivo Solic | Descricao motivo | C | Virtual | 40 |
| GSA_USRSOL | Cod Solicita | Codigo do usario da sol. | C | Real | 6 |
| GSA_NOMSOL | Solicitante | Nome usuario solicitacao | C | Real | 40 |
| GSA_USRENT | Func.Entrega | Cod.Usuario entrega | C | Real | 6 |
| GSA_NOMENT | Nome | usuario que entregou | C | Real | 40 |
| GSA_DATENT | Dt.Entrega | Data da entrega | D | Real | 8 |
| GSA_HORENT | Hr.entrega | Horario da entrega | C | Real | 5 |
| GSA_DATCAN | Dt.Cancela | Data do cancelamento | D | Real | 8 |
| GSA_NOMCAN | Nome | usuario do cancelamento | C | Real | 40 |
| GSA_HORCAN | Horario | Horario cancelamento | C | Real | 5 |
| GSA_MOTIVO | Encerramento | descricao do cancelamento | M | Real | 10 |
| GSA_USRRET | Usuar.Retor. | Usuario de Retorno | C | Real | 6 |
| GSA_NOMRET | Nome | Nome usuario de retorno | C | Real | 40 |
| GSA_HORRET | Horario Ret. | Horario de retorno Pront. | C | Real | 5 |
| GSA_DATRET | Dt.Retorno | Data do retorno do pront. | D | Real | 8 |
| GSA_OK | OK | OK | C | Real | 1 |
| GSA_LOTE | Lote | Lote de Solicitacoes | C | Real | 6 |
| GSA_LOGARQ | LOG | Log do arquivo | C | Real | 50 |
| GSA_OBSERV | Observacao | Observao da solicitacao | C | Real | 50 |
| GSA_ORISOL | Orig. Solic. | Origem da Solicitacao | C | Real | 1 |
| GSA_CODBAR | Pront + End | Pront + End | C | Virtual | 18 |
| GSA_REGATE | Reg.Atendi | Registro de Atendimento | C | Real | 6 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | GSA_FILIAL + GSA_OK + GSA_REGGER + DTOS(GSA_DATSOL) | OK + Prontuario + Data | |
| 2 | GSA_FILIAL + GSA_OK + DTOS(GSA_DATSOL) + GSA_HORSOL + GSA_NOMPAC | OK + Data + Hora + Nome | |
| 3 | GSA_FILIAL + GSA_OK + GSA_REGGER + GSA_CODEND + GSA_REGATE | OK + Prontuario + Endereco + Reg.Atendi | |
| 4 | GSA_FILIAL + GSA_CODSOL | Solicitacao | |
| 5 | GSA_FILIAL + GSA_CODMOT | Motivo Cod | |
| 6 | GSA_FILIAL + GSA_LOTE | Lote | |
| 7 | GSA_FILIAL + GSA_REGGER + GSA_CODEND | Prontuario + Endereco |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| Sem dados encontrados na SX9 | ||||