STANDARD DATA DICTIONARY #8984.3 -- LOCAL SYNONYM FILE                                                            3/24/25    PAGE 1
STORED IN ^XT(8984.3,  (11 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                     (VERSION 7.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
 Synonyms are single terms that can be associated with one or more TERMS in the lookup file (tokens in the MTLU cross-reference).
For example, CANCER can be associated with each of the specific forms of cancer that might be found. Note that if the user enters a
phrase, all terms in the phrase must be true to get a match, therefore 'LUNG CANCER' might significantly restrict the search.  


              DD ACCESS: @
              RD ACCESS: #
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @

CROSS
REFERENCED BY: SYNONYM(AA), TERM(AC), ASSOCIATED FILE(AD), TERM(B)



8984.3,.01    TERM                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<1)!'(X'?1P.E)!'(X?1U.U) X
              LAST EDITED:      NOV 20, 1990 
              HELP-PROMPT:      Answer must be 1-30 characters in length. 
              DESCRIPTION:
                                 The term or phrase associated with the target file that the synonym will be equivalent to.  

              NOTES:            XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

              CROSS-REFERENCE:  8984.3^B 
                                1)= S ^XT(8984.3,"B",$E(X,1,30),DA)=""
                                2)= K ^XT(8984.3,"B",$E(X,1,30),DA)

              CROSS-REFERENCE:  8984.3^AC^MUMPS 
                                1)= I $D(^XT(8984.3,DA,0)),$P(^(0),U,2)'="" S JL=$P(^(0),U,2),JL=$P(^DIC(JL,0,"GL"),U,2),^XT(8984.3
                                ,"AC",JL,$E(X,1,30),DA)="" K JL

                                2)= I $D(^XT(8984.3,DA,0)),$P(^(0),U,2)'="" S JL=$P(^(0),U,2),JL=$P(^DIC(JL,0,"GL"),U,2) K ^XT(8984
                                .3,"AC",JL,$E(X,1,30),DA),JL
                                 Associates the synonym with the global root of the lookup file.  



8984.3,.02    ASSOCIATED FILE        0;2 POINTER TO FILE FILE (#1) (Required)

              INPUT TRANSFORM:  S DIC("S")="I $D(^XT(8984.4,+Y,0))" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
              LAST EDITED:      NOV 20, 1990 
              DESCRIPTION:
                                 The file containing the TERM that MTLU will use for lookups.  

              SCREEN:           S DIC("S")="I $D(^XT(8984.4,+Y,0))"
              EXPLANATION:      ONLY FILES FROM THE LOCAL LOOKUP FILE.
              CROSS-REFERENCE:  8984.3^AD^MUMPS 
                                1)= I $D(^XT(8984.3,DA,0)),$P(^(0),U,2)'="" S JLN=$P(^(0),U),JL=$P(^(0),U,2),JL=$P(^DIC(JL,0,"GL"),
                                U,2),^XT(8984.3,"AC",JL,JLN,DA)="" K JL,JLN

                                2)= I $D(^XT(8984.3,DA,0)),$P(^(0),U,2)'="" S JLN=$P(^(0),U),JL=$P(^(0),U,2),JL=$P(^DIC(JL,0,"GL"),
                                U,2) K ^XT(8984.3,"AC",JL,JLN,DA),JL,JLN
                                 Associates the synonym with the global root of the lookup file in the 'AC' cross-reference.  



8984.3,.03    SYNONYM                1;0 Multiple #8984.31 (Add New Entry without Asking)

              DESCRIPTION:
                                 One or more terms that are related to the term in the associated file.  


8984.31,.01     SYNONYM                0;1 FREE TEXT (Multiply asked)

                INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<1)!'(X?1U.U) X
                LAST EDITED:      JAN 14, 1993 
                HELP-PROMPT:      Answer must be 1-30 characters in length. 
                CROSS-REFERENCE:  8984.31^B 
                                  1)= S ^XT(8984.3,DA(1),1,"B",$E(X,1,30),DA)=""
                                  2)= K ^XT(8984.3,DA(1),1,"B",$E(X,1,30),DA)

                CROSS-REFERENCE:  8984.3^AA^MUMPS 
                                1)= S ^XT(8984.3,"AA",$P(^XT(8984.3,DA(1),0),U,2),$P(^XT(8984.3,DA(1),0),U,1),$E(X,1,30),DA(1),DA)=
                                ""

                                2)= K ^XT(8984.3,"AA",$P(^XT(8984.3,DA(1),0),U,2),$P(^XT(8984.3,DA(1),0),U,1),$E(X,1,30),DA(1),DA)
                                 Associates the lookup file # with the synonyn and the MTLU term. Takes the form: 
                                 
                                ^XT(8984.3,"AA",LOOKUP FILE,SYNONYM,MTLU TERM) 






      FILES POINTED TO                      FIELDS

FILE (#1)                         ASSOCIATED FILE (#.02)



INPUT TEMPLATE(S):
XTLK EDIT SYN                 DEC 17, 1990@11:19  USER #0    

PRINT TEMPLATE(S):
XTLK SYNONYM ALPHA            OCT 17, 1990@13:45  USER #0                                                              SYNONYM LIST

SORT TEMPLATE(S):
XTLK SYNONYM ALPHA            OCT 17, 1990@13:43  USER #0    
SORT BY: TERM//


FORM(S)/BLOCK(S):