PXKWSRCH ;SLC/PKR - Keyword search routines. ;02/24/2016
Source file <PXKWSRCH.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
PCE Patient Care Encounter | 1 | PXTT TEXT/KEYWORD SEARCH |
Name | Comments | DBIA/ICR reference |
---|---|---|
CASESEN() | ;Ask the user if the search is case sensitive.
|
|
DISPLAY(CASESEN,NKW,KEYWORD) | ;Display the search results.
|
|
FLABEL(FNUM,FIELD) | ;Return the label for a field.
|
|
GETFLIST(NSFILE,SFILE) | ;Get the list of files to search.
|
|
GETKWS(CASESEN,NKW,KEYWORD) | ;Have the user input the key words.
|
|
GSEARCH | ;Entry point for general selection of global to search.
|
|
HLITE(TEXT,CASESEN) | ;Mark the keyword so it will be highlighted in the Browser.
|
|
SEARCH | ;Perform the keyword search.
|
|
SRCHTEXT(FILENUM,IEN,CASESEN,NKW,KEYWORD) | ;Search the text of an entry.
|
Name | Field # of Occurrence |
---|---|
BROWSE^DDBR | DISPLAY+37 |
EN^DDIOL | GETFLIST+10, GETKWS+3, GSEARCH+18, SEARCH+2, SEARCH+17 |
^DIC | GSEARCH+5 |
$$GET1^DID | DISPLAY+8, GSEARCH+9 |
FIELD^DID | FLABEL+2 |
$$CREF^DILF | GSEARCH+10 |
$$GET1^DIQ | DISPLAY+17 |
GETS^DIQ | SRCHTEXT+2 |
^DIR | CASESEN+5, GETFLIST+11, GETKWS+8 |
$$UP^XLFSTR | GETKWS+11, HLITE+3, HLITE+5, SRCHTEXT+10, SRCHTEXT+18 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CASESEN | DISPLAY~, DISPLAY+31, DISPLAY+35, GETKWS~, GETKWS+11, GSEARCH+1~, GSEARCH+12*, GSEARCH+13, GSEARCH+15, GSEARCH+20 , GSEARCH+21, HLITE~, HLITE+3, HLITE+5, SEARCH+1~, SEARCH+7*, SEARCH+8, SEARCH+10, SEARCH+19, SEARCH+20 , SRCHTEXT~, SRCHTEXT+10, SRCHTEXT+18 |
DATA | FLABEL+1~ |
DATA("LABEL" | FLABEL+3 |
DIC | GSEARCH+1~, GSEARCH+3* |
DIC("A" | GSEARCH+4* |
DIC(0 | GSEARCH+3* |
DIQOUT | SRCHTEXT+1~ |
DIQOUT( | SRCHTEXT+4, SRCHTEXT+6, SRCHTEXT+8, SRCHTEXT+9, SRCHTEXT+15, SRCHTEXT+17 |
DIR | CASESEN+1~, GETFLIST+1~, GETKWS+1~ |
DIR("A" | CASESEN+3*, GETFLIST+8*, GETFLIST+9*, GETKWS+5* |
DIR("B" | CASESEN+4* |
DIR(0 | CASESEN+2*, GETFLIST+7*, GETKWS+4* |
DIROUT | CASESEN+1~, GETFLIST+1~, GETFLIST+12, GETKWS+1~, GETKWS+9 |
DIRUT | CASESEN+1~, CASESEN+6, GETFLIST+1~, GETKWS+1~ |
>> DONE | GETKWS+6*, GETKWS+7, GETKWS+9* |
DTOUT | CASESEN+1~, GETFLIST+1~, GETKWS+1~ |
DUOUT | CASESEN+1~, GETFLIST+1~, GETKWS+1~ |
ENAME | DISPLAY+1~, DISPLAY+17*, DISPLAY+21 |
FIELD | DISPLAY+1~, DISPLAY+26*, DISPLAY+27*, DISPLAY+28, DISPLAY+29, DISPLAY+30, DISPLAY+33, DISPLAY+34, FLABEL~, FLABEL+2 , SRCHTEXT+1~, SRCHTEXT+7*, SRCHTEXT+8*, SRCHTEXT+9, SRCHTEXT+12, SRCHTEXT+15, SRCHTEXT+17, SRCHTEXT+20 |
FILENUM | DISPLAY+1~, DISPLAY+6*, DISPLAY+7*, DISPLAY+8, DISPLAY+9, DISPLAY+14*, DISPLAY+16, DISPLAY+17, DISPLAY+20, DISPLAY+23 , DISPLAY+25, DISPLAY+27, DISPLAY+30, DISPLAY+33, DISPLAY+34, GSEARCH+1~, GSEARCH+7*, GSEARCH+9, GSEARCH+20, SEARCH+1~ , SEARCH+15*, SEARCH+19, SRCHTEXT~, SRCHTEXT+2, SRCHTEXT+12, SRCHTEXT+20, SRCHTEXT+22 |
FIND | HLITE+1~, HLITE+7*, HLITE+8, HLITE+9*, HLITE+10, HLITE+11, HLITE+12, HLITE+16 |
FLABEL | DISPLAY+1~ |
FLABEL( | DISPLAY+28*, DISPLAY+29 |
FLIST | GETFLIST+1~ |
FLIST( | GETFLIST+9, GETFLIST+16 |
FLIST(1 | GETFLIST+2* |
FLIST(2 | GETFLIST+3* |
FLIST(3 | GETFLIST+4* |
FLIST(4 | GETFLIST+5* |
FLIST(5 | GETFLIST+6* |
FNAME | GSEARCH+1~, GSEARCH+8*, GSEARCH+18, SEARCH+1~, SEARCH+14*, SEARCH+17 |
FNUM | DISPLAY+1~, DISPLAY+22*, DISPLAY+23*, DISPLAY+25, DISPLAY+27, DISPLAY+28, DISPLAY+29, DISPLAY+30, DISPLAY+33, DISPLAY+34 , FLABEL~, FLABEL+2, SRCHTEXT+1~, SRCHTEXT+3*, SRCHTEXT+4*, SRCHTEXT+6, SRCHTEXT+8, SRCHTEXT+9, SRCHTEXT+12, SRCHTEXT+15 , SRCHTEXT+17, SRCHTEXT+20 |
GBL | GSEARCH+1~, GSEARCH+9*, GSEARCH+10*, GSEARCH+20, SEARCH+16*, SEARCH+19 |
GNAME | DISPLAY+1~, DISPLAY+8*, DISPLAY+9, DISPLAY+10*, DISPLAY+11*, DISPLAY+13, DISPLAY+14 |
GNAMELST | DISPLAY+1~ |
GNAMELST( | DISPLAY+9*, DISPLAY+11, DISPLAY+14 |
HTEXT | HLITE+1~, HLITE+7*, HLITE+15*, HLITE+17*, HLITE+18 |
IEN | DISPLAY+1~, DISPLAY+15*, DISPLAY+16*, DISPLAY+17, DISPLAY+20, DISPLAY+21, DISPLAY+23, DISPLAY+25, DISPLAY+27, DISPLAY+30 , DISPLAY+33, DISPLAY+34, GSEARCH+1~, GSEARCH+19*, GSEARCH+20*, SEARCH+1~, SEARCH+18*, SEARCH+19*, SRCHTEXT~, SRCHTEXT+2 , SRCHTEXT+12, SRCHTEXT+20, SRCHTEXT+22 |
IENS | DISPLAY+1~, DISPLAY+24*, DISPLAY+25*, DISPLAY+27, DISPLAY+30, DISPLAY+33, DISPLAY+34, SRCHTEXT+1~, SRCHTEXT+5*, SRCHTEXT+6* , SRCHTEXT+8, SRCHTEXT+9, SRCHTEXT+12, SRCHTEXT+15, SRCHTEXT+17, SRCHTEXT+20 |
IND | DISPLAY+1~, DISPLAY+5*, GETFLIST+1~, GETFLIST+9*, GETFLIST+14*, GETFLIST+15, GETFLIST+16, SEARCH+1~, SEARCH+13*, SEARCH+14 , SEARCH+15, SEARCH+16, SRCHTEXT+1~, SRCHTEXT+11*, SRCHTEXT+12, SRCHTEXT+19*, SRCHTEXT+20 |
KEYWORD | DISPLAY~, GETKWS~, GSEARCH+1~, GSEARCH+15, GSEARCH+20, GSEARCH+21, HLITE+1~, HLITE+4*, HLITE+5, HLITE+6 , SEARCH+1~, SEARCH+10, SEARCH+19, SEARCH+20, SRCHTEXT~ |
KEYWORD( | DISPLAY+5, GETKWS+11*, SRCHTEXT+11, SRCHTEXT+12, SRCHTEXT+19, SRCHTEXT+20 |
LABEL | DISPLAY+2~, SRCHTEXT+1~ |
LKW | HLITE+1~, HLITE+6*, HLITE+11, HLITE+13 |
LN | DISPLAY+2~, DISPLAY+32*, DISPLAY+33*, DISPLAY+34, SRCHTEXT+1~, SRCHTEXT+14*, SRCHTEXT+15*, SRCHTEXT+17, SRCHTEXT+20 |
LNUM | GETFLIST+1~, GETFLIST+15*, GETFLIST+16 |
MKEY | HLITE+1~, HLITE+5*, HLITE+9 |
MSG | SRCHTEXT+1~ |
MTEMP | SRCHTEXT+1~, SRCHTEXT+10*, SRCHTEXT+11, SRCHTEXT+18*, SRCHTEXT+19 |
MTEXT | HLITE+1~, HLITE+3*, HLITE+9 |
NFILES | GETFLIST+1~ |
NIEN | DISPLAY+2~, DISPLAY+15*, DISPLAY+18*, DISPLAY+19 |
NKW | DISPLAY~, DISPLAY+5, DISPLAY+36, GETKWS~, GETKWS+2*, GETKWS+10*, GETKWS+11, GSEARCH+1~, GSEARCH+15, GSEARCH+16 , GSEARCH+20, GSEARCH+21, SEARCH+1~, SEARCH+10, SEARCH+11, SEARCH+19, SEARCH+20, SRCHTEXT~, SRCHTEXT+11, SRCHTEXT+19 |
NL | DISPLAY+2~, DISPLAY+3*, DISPLAY+4*, DISPLAY+5*, DISPLAY+12*, DISPLAY+13*, DISPLAY+19*, DISPLAY+21*, DISPLAY+29*, DISPLAY+31* , DISPLAY+35*, DISPLAY+36* |
NM | DISPLAY+2~, DISPLAY+20*, DISPLAY+21, SRCHTEXT+1~, SRCHTEXT+3*, SRCHTEXT+13*, SRCHTEXT+21*, SRCHTEXT+22 |
NSFILE | GETFLIST~, GETFLIST+12*, GETFLIST+13*, GETFLIST+14, SEARCH+1~, SEARCH+4, SEARCH+5, SEARCH+13 |
SFILE | GETFLIST~, SEARCH+1~, SEARCH+4 |
SFILE( | GETFLIST+16*, SEARCH+14, SEARCH+15, SEARCH+16 |
START | HLITE+1~, HLITE+7*, HLITE+15, HLITE+16*, HLITE+17 |
STOP | HLITE+1~, HLITE+13*, HLITE+15 |
TAG | HLITE+1~, HLITE+14*, HLITE+15 |
TAGBEG | HLITE+1~, HLITE+11*, HLITE+14 |
TAGEND | HLITE+1~, HLITE+12*, HLITE+13, HLITE+14 |
TEMP | DISPLAY+2~, DISPLAY+30*, DISPLAY+31, DISPLAY+34*, DISPLAY+35, SRCHTEXT+1~, SRCHTEXT+9*, SRCHTEXT+10, SRCHTEXT+12, SRCHTEXT+17* , SRCHTEXT+18, SRCHTEXT+20 |
TEXT | DISPLAY+2~, HLITE~, HLITE+2, HLITE+4 |
TEXT( | DISPLAY+4*, DISPLAY+5*, DISPLAY+12*, DISPLAY+13*, DISPLAY+19*, DISPLAY+21*, DISPLAY+29*, DISPLAY+31*, DISPLAY+35*, DISPLAY+36* |
TTEXT | HLITE+1~, HLITE+2*, HLITE+3, HLITE+14, HLITE+15, HLITE+17 |
U | GETFLIST+9, GETFLIST+16, GSEARCH+7, GSEARCH+8, HLITE+2, HLITE+4, SEARCH+14, SEARCH+15, SEARCH+16, SRCHTEXT+12 , SRCHTEXT+20 |
X | CASESEN+1~, GETFLIST+1~, GETKWS+1~, GSEARCH+1~ |
Y | CASESEN+1~, CASESEN+6*, CASESEN+7, GETFLIST+1~, GETFLIST+12, GETFLIST+13, GETFLIST+15, GETKWS+1~, GETKWS+9, GETKWS+11 , GSEARCH+1~, GSEARCH+6, GSEARCH+7, GSEARCH+8 |