STANDARD DATA DICTIONARY #124.25 -- TERM CLASSIFICATION FILE                                                      3/24/25    PAGE 1
STORED IN ^GMRD(124.25,  (12 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                   (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
File that contains the term classifications which allow a package to characterize aggregate terms.  


              DD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
IDENTIFIED BY: PACKAGE (#1)[R]

POINTED TO BY: CLASSIFICATION field (#.04) of the AGGREGATE TERM File (#124.2) 
               

CROSS
REFERENCED BY: PACKAGE(AA0), NAME(AA1), BEGIN TEXT(ATD), NAME(B)



124.25,.01    NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      MAY 12, 1989 
              HELP-PROMPT:      ANSWER MUST BE 3-30 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                Special classification name that further identifies or categorizes an Aggregate Term (#124.2).  

              DELETE TEST:      1,0)= I 1

              CROSS-REFERENCE:  124.25^B 
                                1)= S ^GMRD(124.25,"B",$E(X,1,30),DA)=""
                                2)= K ^GMRD(124.25,"B",$E(X,1,30),DA)
                                This is a regular cross-reference on the entire file for the Name field.  


              CROSS-REFERENCE:  124.25^AA1^MUMPS 
                                1)= S GMRG=$S($D(^GMRD(124.25,DA,0)):$P(^(0),U,2),1:"") S:GMRG'="" ^GMRD(124.25,"AA",GMRG,X,DA)="" 
                                K GMRG

                                2)= S GMRG=$S($D(^GMRD(124.25,DA,0)):$P(^(0),U,2),1:"") K:GMRG'="" ^GMRD(124.25,"AA",GMRG,X,DA) K G
                                MRG
                                This cross-reference sets a multiple-field index ("AA") for the Name (.01) field and the Package
                                (1) field.  The structure of this cross-reference is: ^GMRD(124.2,"AA",Package,Name,DA)="".  



124.25,1      PACKAGE                0;2 FREE TEXT (Required)

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>5!($L(X)<2) X
              LAST EDITED:      MAY 12, 1989 
              HELP-PROMPT:      Answer must be 2-5 characters in length. 
              DESCRIPTION:
                                The package that is using this term classification.  

              CROSS-REFERENCE:  124.25^AA0^MUMPS 
                                1)= S GMRG=$S($D(^GMRD(124.25,DA,0)):$P(^(0),U),1:"") S:GMRG'="" ^GMRD(124.25,"AA",X,GMRG,DA)="" K 
                                GMRG

                                2)= S GMRG=$S($D(^GMRD(124.25,DA,0)):$P(^(0),U),1:"") K:GMRG'="" ^GMRD(124.25,"AA",X,GMRG,DA) K GMR
                                G
                                This cross-reference sets a multiple-field index ("AA") for the Name (.01) field and the Package
                                (1) field.  The structure of this cross-reference is: ^GMRD(124.2,"AA",Package,Name,DA)="".  



124.25,2      BEGIN TEXT             0;3 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      FEB 10, 1989 
              DESCRIPTION:      This is a flag to the GMRG Reporting mechanism to show where the organizational level ends, and the
                                generation of text for the prime document begins.  

              CROSS-REFERENCE:  124.25^ATD^MUMPS 
                                1)= D:X EN3^GMRGUT2
                                2)= D:X EN4^GMRGUT2
                                This cross-reference sets a multiple index ("ATD") on the Aggregate Term file using the Begin Text
                                (1) field and the Package (.03) and Classification (.04) fields of the Aggregate Term file for all
                                Aggregate Term file entries that point to this Term Classification. The value of the Begin Text
                                field will determine if this index will be set.  If the Begin Text field is null, the index is not
                                set, if it is 'YES' it is set.  The format of the "ATD" cross-reference is: 
                                   ^GMRD(124.2,"ATD",Package,Classification,DA)="". 
                                 
                                This cross-reference also triggers the values into the Action on Entering Selection (7), Action on
                                Filing Selection (8), Action on Leaving Selection (9) and Action on Printing Selection (10) of the
                                Aggregate Term file from the corresponding fields in the Term Classification file for all entries 
                                Aggregate Term file entries pointing to this Term Classification.  



124.25,7      ACTION ON ENTERING DEFAULT 7;E1,245 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X I $D(X)#2 D ^DIM
              LAST EDITED:      OCT 28, 1989 
              HELP-PROMPT:      Answer must be valid MUMPS code 1-245 characters in length. 
              DESCRIPTION:      The value in this field is automatically stuffed into the ACTION ON ENTERING SELECTION field of
                                File #124.2 if this classification was selected for an Aggregate Term.  

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


124.25,8      ACTION ON FILING DEFAULT 8;E1,245 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X I $D(X)#2 D ^DIM
              LAST EDITED:      OCT 28, 1989 
              HELP-PROMPT:      Answer must be valid MUMPS code 1-245 characters in length. 
              DESCRIPTION:      The data here is stuffed into the ACTION ON FILING field of File #124.2 for an Aggregate Term that
                                has this classification selected.  

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


124.25,9      ACTION ON LEAVING DEFAULT 9;E1,245 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X I $D(X)#2 D ^DIM
              LAST EDITED:      OCT 28, 1989 
              HELP-PROMPT:      Answer must be valid MUMPS code 1-245 characters in length. 
              DESCRIPTION:      This data is stuffed into the ACTION ON LEAVING SELECTION field of the Aggregate Term (#124.2) file
                                for an aggregate term associated with this classification.  

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


124.25,10     ACTION ON PRINTING DEFAULT 10;E1,245 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X I $D(X)#2 D ^DIM
              LAST EDITED:      OCT 28, 1989 
              HELP-PROMPT:      Answer must be valid MUMPS code 1-245 characters in length. 
              DESCRIPTION:      The data in this field is stuffed into the ACTION ON PRINTING SELECTION field of the Aggregate Term
                                (#124.2) file for terms associated with this classification.  

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



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):