STANDARD DATA DICTIONARY #8925.8 -- TIU SEARCH CATEGORIES FILE                                                    3/24/25    PAGE 1
STORED IN ^TIU(8925.8,  (13 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                    (VERSION 1.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file stores parameters which modify the processing requirements of individual document types, and their decendents.  


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

CROSS
REFERENCED BY: TIMESTAMP(AM), DISPLAY NAME(AM1), SEARCH CATEGORY(B), CROSS-REFERENCE(C)



8925.8,.01    SEARCH CATEGORY        0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              OUTPUT TRANSFORM: S Y=$$MIXED^TIULS(Y)
              LAST EDITED:      JUN 16, 1995 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:      These are the allowable categories by which you may query for documents (e.g., PATIENT, AUTHOR,
                                EXPECTED COSIGNER, TREATING SPECIALTY, HOSPITAL LOCATION, SUBJECT, SERVICE, PROBLEM, PATIENT STATUS
                                (i.e., Inpatient/Outpatient), etc.).  

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


8925.8,.02    CROSS-REFERENCE        0;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1)!('$D(^TIU(8925,X))) X
              LAST EDITED:      SEP 27, 1995 
              HELP-PROMPT:      Answer must correspond to a valid x-ref in file 8925. 
              DESCRIPTION:      This is the cross-reference which will be searched to identify the corrresponding documents.  It
                                must have the structure: 
                                 
                                ^TIU(8925,"",ENTITY,DOCTYP,STATUS,INVDATE,IEN)="" where ENTITY is the object of the
                                search, DOCTYPE is the .01 field value of the record in 8925, STATUS is the value of the .05 field
                                in 8925, and inverse date is the inverted reference date (field 1301 in file 8925), computed as
                                9999999-REFDATE.  

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

              CROSS-REFERENCE:  8925.8^C 
                                1)= S ^TIU(8925.8,"C",$E(X,1,30),DA)=""
                                2)= K ^TIU(8925.8,"C",$E(X,1,30),DA)
                                This REGULAR FileMan cross-reference is used to map SEARCH CATEGORY to CROSS REFERENCE.  



8925.8,.03    DISPLAY NAME           0;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
              LAST EDITED:      SEP 27, 1995 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                This is the name of the Search Category as it will be displayed to the user on selection.  

              CROSS-REFERENCE:  8925.8^AM1^MUMPS 
                                1)= D REDO^TIUDD8
                                2)= D REDO^TIUDD8
                                This MUMPS-type cross-reference is used to update the timestamp on the search category selection
                                menu when a DISPLAY NAME changes.  



8925.8,.04    ASSOCIATED FILE        0;4 POINTER TO FILE FILE (#1)

              LAST EDITED:      SEP 27, 1995 
              HELP-PROMPT:      Select the file to which the category will refer. 
              DESCRIPTION:      This is the file on which a look-up will occur in the event that a category is selected (e.g., for
                                category PATIENT, the file should be 2, and for category AUTHOR, the file should be 200).  


8925.8,1      SCREEN                 1;E1,245 MUMPS

              INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
              LAST EDITED:      SEP 27, 1995 
              HELP-PROMPT:      This is Standard MUMPS code. 
              DESCRIPTION:      This is MUMPS code, which sets the special variable DIC("S"), prior to invoking the look-up on the
                                FILE identified with the category.  

              WRITE AUTHORITY:  @

8925.8,2      LOOK-UP CODE           2;E1,245 MUMPS

              INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
              LAST EDITED:      SEP 27, 1995 
              HELP-PROMPT:      This is Standard MUMPS code. 
              DESCRIPTION:      This code is invoked, if defined, and should behave like a call to ^DIC, setting the variable Y as
                                IFN^VALUE.  

              WRITE AUTHORITY:  @

8925.8,99     TIMESTAMP              99;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
              LAST EDITED:      JUN 16, 1995 
              HELP-PROMPT:      Enter the $HOROLOG date/time of a change. 
              DESCRIPTION:
                                This field stores the $HOROLOG-formatted date/time for a change to a Search Categories entry.  

              CROSS-REFERENCE:  8925.8^AM^MUMPS 
                                1)= D SET^TIUDD8
                                2)= D KILL^TIUDD8
                                This cross-reference invokes menu compilation in ^XUTL("XQORM", DA;TIU(8925.8, when the TIMESTAMP
                                field is modified.  




      FILES POINTED TO                      FIELDS

FILE (#1)                         ASSOCIATED FILE (#.04)



INPUT TEMPLATE(S):
TIU ENTER/EDIT SEARCH CATEGORYJUN 16, 1995@12:00  USER #0    

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):