Tabela GAI - Cabecalho da Solicitacao
Chave Unica: GAI_FILIAL + GAI_SOLICI
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| GAI_FILIAL | Filial | Filial | C | Real | 2 |
| GAI_SOLICI | Nro Solicit | Numero da Solicitacao | C | Real | 6 |
| GAI_REQUIS | Requisita p/ | Requisitar para : | C | Real | 1 |
| GAI_REGATE | Reg.Atendi. | Registro de Atendimento | C | Real | 6 |
| GAI_NOMPAC | Nome Pacient | Nome do Paciente | C | Real | 30 |
| GAI_CODLOC | Setor | Codigo do setor | C | Real | 2 |
| GAI_NOMLOC | Descricao | Descricao do setor | C | Virtual | 30 |
| GAI_ALMORI | Almox.Origem | Cod Almoxarifado Origem | C | Real | 2 |
| GAI_DSALMO | Descricao | Descricao | C | Virtual | 30 |
| GAI_ALMSOL | Almox.Solic. | Almoxarifado Solicitante | C | Real | 2 |
| GAI_DSASOL | Descricao | Descricao | C | Virtual | 30 |
| GAI_DATSOL | Dt Solicitac | Data da Solicitacao | D | Real | 8 |
| GAI_URGENC | Urgente | Solicitacao urgente | C | Real | 1 |
| GAI_HORSOL | Hr Solicitac | Hora da Solicitacao | C | Real | 5 |
| GAI_CRMPRE | Medico Presc | Medico da Prescricao | C | Real | 7 |
| GAI_CRMDES | Nome Medico | Nome do Medico da prescri | C | Virtual | 50 |
| GAI_USUDIS | Resp Dispens | Responsavel pela Dispensa | C | Real | 15 |
| GAI_USUCON | Resp Confere | Responsavel Conferencia | C | Real | 15 |
| GAI_QATEND | Quantidade | Quantidade | N | Virtual | 11, 4 |
| GAI_CBMATM | Cod.Bar.MatM | Codigo de barras Mat/Med | C | Virtual | 17 |
| GAI_INDCBL | Pesq CB Lote | Pesq codigo barras lote | C | Virtual | 1 |
| GAI_CBLOTE | Cod.Bar.Lote | Codigo de barras Lote | C | Virtual | 54 |
| GAI_FLGATE | Flag Atendto | Flag Atendimento | C | Real | 1 |
| GAI_CODENC | Motivo Encer | codigo motivo encerrament | C | Real | 6 |
| GAI_DESENC | Descr.Motivo | descricao motivo encerram | C | Virtual | 40 |
| GAI_LOGARQ | Log do Arq | Log do Arq | C | Real | 40 |
| GAI_CDLOCT | Setor Trans. | Setor Orig. Transferencia | C | Real | 2 |
| GAI_ALMORT | Alm.Transf. | Almox. Orig. Transferenc. | C | Real | 2 |
| GAI_LOGTRA | Log Transfe. | Log da Transferencia | C | Real | 40 |
| GAI_IDMARC | Marcador | Marcador | C | Real | 2 |
| GAI_QUARTO | Quarto | Quarto | C | Real | 4 |
| GAI_LEITO | Leito | Leito | C | Real | 4 |
| GAI_BARKIT | Cod.Bar.Kit | Codigo de Barras Kit | C | Virtual | 17 |
| GAI_RESERV | Reservado | Reservado RN | C | Real | 1 |
| GAI_CODAGE | Cod. Agenda | Codigo da agenda | C | Real | 6 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | GAI_FILIAL + GAI_SOLICI | Nro Solicit | |
| 2 | GAI_FILIAL + GAI_REGATE + DTOS(GAI_DATSOL) | Reg.Atendi. + Dt Solicitac | |
| 3 | GAI_FILIAL + GAI_CODLOC + DTOS(GAI_DATSOL) | Setor + Dt Solicitac | |
| 4 | GAI_FILIAL + DTOS(GAI_DATSOL) | Dt Solicitac | |
| 5 | GAI_FILIAL + GAI_ALMORI | Almox.Origem | |
| 6 | GAI_FILIAL + GAI_NOMPAC | Nome Pacient | |
| 7 | GAI_FILIAL + GAI_CODENC | Motivo Encer | |
| 8 | GAI_FILIAL + GAI_CRMPRE + GAI_SOLICI | Medico Presc + Nro Solicit |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| Sem dados encontrados na SX9 | ||||