STANDARD DATA DICTIONARY #757.05 -- REPLACEMENT WORDS FILE 9/29/25 PAGE 1
STORED IN ^LEX(757.05, (201 ENTRIES) SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 2.0)
DATA NAME GLOBAL DATA
ELEMENT TITLE LOCATION TYPE
-----------------------------------------------------------------------------------------------------------------------------------
If the user input contains one of the words (single word) in this file, it will be replaced by the corresponding term (one or more
words). NOTE: Data Entries in this file should not be altered by the site. This file requires re-indexing to occur in a
specified sequence. The complete re-indexing instructions are included in the Technical Manual.
DD ACCESS: @
RD ACCESS: @
WR ACCESS: @
DEL ACCESS: @
LAYGO ACCESS: @
AUDIT ACCESS: @
IDENTIFIED BY: REPLACEMENT TERM (#1)[R]
CROSS
REFERENCED BY: WORD(AB), EXPRESSION(AEXP), ACTION(ALINK), WORD(B), REPLACEMENT TERM(C)
757.05,.01 WORD 0;1 FREE TEXT (Required)
INPUT TRANSFORM: K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>40!($L(X)<2)!'(X?1AN.E) X D REP^LEXERI
LAST EDITED: AUG 17, 1994
HELP-PROMPT: Word (to be replaced) must be 2-40 characters in length.
DESCRIPTION: This field contains words which are meant to be replaced (either physically or logically) prior to
calling the look-up utility. This is a single word (no spaces, hypens or slashes).
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 757.05^B
1)= S ^LEX(757.05,"B",$E(X,1,30),DA)=""
2)= K ^LEX(757.05,"B",$E(X,1,30),DA)
^LEX(757.05,"B",WORD,IEN) - where WORD is the Word (.01) to be replaced during lookup and IEN is
the Internal Entry Number in the Replacement Words file #757.05 where the word is located.
CROSS-REFERENCE: 757.05^AB^MUMPS
1)= S ^LEX(757.05,"AB",$E(X,1,40),DA)=""
2)= K ^LEX(757.05,"AB",$E(X,1,40),DA)
^LEX(757.05,"AB",WORD,IEN) - where WORD is the Word (.01) to be replace during lookup and IEN is
the Internal Entry Number in the Replacement Words file #757.05 where the word is located. This is
similar to the "B" index, but has been extended to 40 characters (Word field .01 length) to speed
word parsing, indexing and lookup routines.
757.05,1 REPLACEMENT TERM 0;2 FREE TEXT (Required)
INPUT TRANSFORM: K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>100!($L(X)<2) X D REPBY^LEXERI
LAST EDITED: NOV 29, 1993
HELP-PROMPT: Replacement term must be 2-100 characters in length.
DESCRIPTION: This word/multiple word term will either physically or logically replace WORD (.01) when it is
contained in the user's input.
NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
CROSS-REFERENCE: 757.05^C^MUMPS
1)= S ^LEX(757.05,"C",$E($$UP^XLFSTR(X),1,40),DA)=""
2)= K ^LEX(757.05,"C",$E($$UP^XLFSTR(X),1,40),DA)
^LEX(757.05,"C",REP,IEN) - where REP is the uppercase form of the Replacement Term (1) to use
during word replacements/substitutions and IEN is the Internal Entry Number in the Replacement
Words file #757.05 where the Replacement Term is located. This index is used extensively in the
input transformations for both the Excluded Word file #757.04 and the Replacement Term file #757.05
(i.e., you can not replace word with a word which is to be excluded from lookup and you can not
exclude a word from lookup which is to be replaced).
757.05,2 ACTION 0;3 SET (Required)
'R' FOR REPLACEABLE WORD;
'L' FOR LINKED WORD;
'N' FOR NO ACTION TAKEN;
LAST EDITED: JUN 08, 1993
DESCRIPTION: Action indicates whether a WORD is physically (R)eplaced by the REPLACEMENT TERM in the user's
input, or (L)ogically replaced by linking the WORD to each occurrence of the REPLACEMENT TERM which
carries the same meaning.
WRITE AUTHORITY: @
CROSS-REFERENCE: 757.05^ALINK^MUMPS
1)= D S^LEXNDX3
2)= D K^LEXNDX3
^LEX(757.05,"ALINK",WORD,EXP) - where WORD is the Internal Entry Number of the location of the WORD
(.01) in the Replacement Word file #757.05 to link to an expression and EXP is the Internal Entry
Number of the expression in the Expresion file #757.01 which the Word is linked to. Additionally,
the index node ^LEX(757.01,"AWRD",WORD,EXP,"LINKED") is set where WORD is the Word (.01) in the
Replacement Word file #757.05 to be linked to an expression and EXP is the Internal Entry Number in
the Expression file #757.01 where the expression is located. This creates a keyword linkage
between the word and the expression.
757.05,3 LINKAGES 1;0 POINTER Multiple #757.53
DESCRIPTION: This is a series of pointers to expressions to which the WORD (.01) is linked to. When a word like
"CANCER" is linked to an expression like "CARCINOMA OF THE LUNG", the pointer of the expression is
listed here and a separate index node is created in the expression file (757.01) at
^LEX(757.01,"AWRD","CANCER",DA,"LINKED")="" Subsequent searches for "LUNG CANCER" will be able to
retrieve "CARCINOMA OF THE LUNG." During input, editing of this multiple field will only occur if
ACTION (2) is set to "L" (linked words).
DELETE AUTHORITY: ^
WRITE AUTHORITY: ^
757.53,.01 EXPRESSION 0;1 POINTER TO EXPRESSIONS FILE (#757.01)
LAST EDITED: OCT 13, 1995
DESCRIPTION:
This is a pointer to an expression which will use WORD (.01) as a keyword during look-up.
CROSS-REFERENCE: 757.53^B
1)= S ^LEX(757.05,DA(1),1,"B",$E(X,1,30),DA)=""
2)= K ^LEX(757.05,DA(1),1,"B",$E(X,1,30),DA)
^LEX(757.05,WORD,1,"B",EXP,IEN) - where WORD is the Internal Entry Number in the Replacement Word
file #757.05 where the linked Word (.01) is located, EXP is the Internal Entry Number in the
Expression file #757.01 where the linked expression is located, and IEN is the Internal Entry
Number of the Linkages Sub-file #757.53 where the Word-Expression linkage is located.
CROSS-REFERENCE: 757.05^AEXP^MUMPS
1)= S:+X>1 ^LEX(757.05,"AEXP",X,DA(1))=""
2)= K:+X>1 ^LEX(757.05,"AEXP",X,DA(1))
^LEX(757.05,"AEXP",EXP,IEN) - where EXP is the Internal Entry Number of the expression in the
Expression file #757.01 which has been linked to a Word (.01) and IEN is the Internal Entry
Number in the Replacement Word file #757.05 where the Word (1) which has been linked to an
expression is located. This index is created at the file (not sub-file) level.
FILES POINTED TO FIELDS
EXPRESSIONS (#757.01) LINKAGES:EXPRESSION (#.01)
INPUT TEMPLATE(S):
PRINT TEMPLATE(S):
SORT TEMPLATE(S):
FORM(S)/BLOCK(S):