Consulta Padrao(SXB): GFS - Quest. Anamnese | |||||
XB_ALIAS | XB_TIPO | XB_SEQ | XB_COLUNA | XB_DESCRI | XB_CONTEM |
GFS | 1 | 01 | DB | Quest. Anamnese | GFS |
GFS | 2 | 01 | 01 | Codigo | |
GFS | 4 | 01 | 01 | Codigo | GFS_CDQUES |
GFS | 4 | 01 | 02 | Descricao | GFS_DSQUES |
GFS | 4 | 01 | 03 | Profissional | GFS_CODCRM |
GFS | 4 | 01 | 04 | Nome do Profissional | Posicione('SRA',11,xfilial('SRA')+GFS->GFS_CODCRM,'RA_NOME') |
GFS | 5 | 01 | GFS->GFS_CDQUES | ||
GFS | 6 | 01 | GFS_TPQUES = '1' .OR. GFS_TPQUES = '4' .OR. GFS_TPQUES = '5' |