STANDARD DATA DICTIONARY #2005.87 -- IMAGE LIST FILTERS FILE                                                      3/24/25    PAGE 1
STORED IN ^MAG(2005.87,  (9 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                    (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file holds Image Filters created by each user, and Created by an Imaging system manager as public filters, to be available for
all users.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: USER (#20)

POINTED TO BY: FILTER DEFAULT field (#177) of the IMAGING USER PREFERENCE File (#2006.18) 
               

CROSS
REFERENCED BY: NAME(B), USER(C), PUBLIC(D)



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

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      JUL 30, 2003 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:      Descriptive name of filter.  Names aren't unique in the File, but are forced to be unique by user. 
                                i.e. A user can not have two filters called "All Clinical", but two different users can have
                                filters with the same name 

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


2005.87,1     PACKAGE                0;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              LAST EDITED:      SEP 23, 2004 
              HELP-PROMPT:      Answer must be 1-30 characters in length. 
              DESCRIPTION:
                                Corresponds to IMAGE File, Field #40 PACKAGE INDEX 


2005.87,2     CLASS                  0;3 SET

                                'ADMIN' FOR ADMIN; 
                                'CLIN' FOR CLIN; 
              LAST EDITED:      JUN 08, 2003 
              HELP-PROMPT:      ADMIN or CLIN.  (If field is blank the entry will be considered both Admin and Clin.) 
              DESCRIPTION:
                                Corresponds to IMAGE File, Field #41 CLASS INDEX.  


2005.87,3     TYPE                   0;4 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      JUN 08, 2003 
              HELP-PROMPT:      The INDEX TYPE(IENs) seperated by ':' included in this filter. 
              DESCRIPTION:
                                Corresponds to IMAGE File, Field #42 TYPE INDEX.  


2005.87,4     EVENT                  0;5 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      JUN 08, 2003 
              HELP-PROMPT:      The INDEX PROC/EVENTS(IENs) seperated by ':' to include. 
              DESCRIPTION:
                                Corresponds to IMAGE File, Field #43 PROC/EVENT INDEX.  


2005.87,5     SPEC                   0;6 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      JUN 08, 2003 
              HELP-PROMPT:      The INDEX SPECIALTIES(IENs) seperated by ':' to include. 
              DESCRIPTION:
                                Corresponds to IMAGE File, Field ##44 SPEC/SUBSPEC INDEX.  


2005.87,6     FROM                   0;7 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUL 31, 2003 
              HELP-PROMPT:      (No range limit on date) 
              DESCRIPTION:      If a specific date range is desired, these fields will be populated: FROM and UNTIL.  This isn't a
                                relative date range.  If you want images for the last 3 months, use the RELATIVE RANGE FIELD.  


2005.87,7     UNTIL                  0;8 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUL 31, 2003 
              HELP-PROMPT:      (No range limit on date) 
              DESCRIPTION:      If a specific date range is desired, these fields will be populated: FROM and UNTIL.  This isn't a
                                relative date range.  If you want images for the last 3 months, use the RELATIVE RANGE FIELD.  


2005.87,8     RELATIVE RANGE         0;9 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>0)!(X<-120)!(X?.E1"."1N.N) X
              LAST EDITED:      JUN 16, 2003 
              HELP-PROMPT:      Enter the number of Months to search backwards.  -3 = search 3 months back. 
              DESCRIPTION:      This is a relative number of months to search backwards for Images.  
                                  -1 means search back 1 month 
                                 -12 means search back 1 year  etc.  
                                  0  means get all (unless a specific date range exists 
                                     in the From and Until Date Fields.  


2005.87,9     ORIGIN                 2;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      JUL 30, 2003 
              HELP-PROMPT:      Answer must be 1-50 characters in length. 
              DESCRIPTION:      This field determines which scope of images to include in the filter possible values of scope are
                                VA and NON-VA.  Corresponds to IMAGE File, Field #45 ORIGIN INDEX.  


2005.87,10    IMAGE STATUS           2;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>60!($L(X)<1) X
              LAST EDITED:      FEB 13, 2009 
              HELP-PROMPT:      Enter list of image statuses separated by commas (1-60 characters). 
              DESCRIPTION:      This field stores the list of image statuses (internal or external values) separated by commas that
                                limit the search results.  
                                 
                                If the field is empty, then image status is not considered during the search defined by this 
                                filter.  
                                 
                                See the IMAGE STATUS field (113) of the IMAGE file (#2005) for more details.  

              TECHNICAL DESCR:
                                Added by the patch MAG*3*93.  

              EXECUTABLE HELP:  N MAGMSG D HELP^DIE(2005,,113,"U","MAGMSG"),MSG^DIALOG("HW",,,5,"MAGMSG"),EN^DDIOL(" ")
              GROUP:            MAG*3*93

2005.87,11    DESCRIPTION CONTAINS   2;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>60!($L(X)<1) X
              LAST EDITED:      JAN 23, 2009 
              HELP-PROMPT:      Enter part of image short description (1-60 characters). 
              DESCRIPTION:      If this field is not empty, then the filter considers an image as a possible search result only if
                                its short description contains the value of this field. The comparison is case insensitive.  
                                 
                                See the SHORT DESCRIPTION field (10) of the IMAGE file (#2005) for more details.  

              TECHNICAL DESCR:
                                Added by the patch MAG*3*93.  

              GROUP:            MAG*3*93

2005.87,12    CAPTURED BY            2;4 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      JAN 23, 2009 
              HELP-PROMPT:      Select the user who captured the images. 
              DESCRIPTION:      If this field has a value, then the filter considers only images captured by this user.  
                                 
                                See the IMAGE SAVE BY field (8) of the IMAGE file (#2005) for more details.  

              TECHNICAL DESCR:
                                Added by the patch MAG*3*93.  

              GROUP:            MAG*3*93

2005.87,13    USE CAPTURE DATES      2;5 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      JAN 23, 2009 
              HELP-PROMPT:      Select YES to search in capture date range instead of procedure/exam date range. 
              DESCRIPTION:      If value of this field is YES, then filter's date range parameters are considered as image capture 
                                dates (see the DATE/TIME IMAGE SAVED field (7) of the IMAGE file (#2005) for more details).  
                                 
                                Otherwise, they are interpreted as procedure/exam dates (see the PROCEDURE/EXAM DATE/TIME field
                                (15) of the IMAGE file (#2005) for more details).  

              TECHNICAL DESCR:
                                Added by the patch MAG*3*93.  

              GROUP:            MAG*3*93

2005.87,14    DAY RANGE              2;6 SET

                                '0' FOR Today; 
                                '1' FOR Yesterday; 
                                '2' FOR 2 Days Ago; 
                                '3' FOR 3 Days Ago; 
                                '4' FOR Last 2 Days (thru today); 
                                '5' FOR Last 3 Days (thru today); 
                                '6' FOR Last Full Week (starts on Sunday); 
                                '7' FOR Current Week (starts on Sunday); 
              LAST EDITED:      JAN 23, 2009 
              HELP-PROMPT:      Select predefined date range for image search. 
              DESCRIPTION:      This field allows selection of predefined short date ranges. This is especially useful during the 
                                image verification process.  
                                 
                                This filter parameter is mutually exclusive with the range defined by the RELATIVE RANGE field (8).  

              TECHNICAL DESCR:
                                Added by the patch MAG*3*93.  

              GROUP:            MAG*3*93

2005.87,15    COLUMN WIDTHS          3;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>90!($L(X)<1) X
              LAST EDITED:      FEB 13, 2009 
              HELP-PROMPT:      Enter comma separated list of column widths (1-90 characters). 
              DESCRIPTION:      This field stores comma separated list of column widths (in pixels) that is applied to the image 
                                list view when this filter is used.  

              TECHNICAL DESCR:
                                Added by the patch MAG*3*93.  

              GROUP:            MAG*3*93

2005.87,16    PERCENT                2;7 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      JAN 26, 2009 
              HELP-PROMPT:      Enter percentage of found images that will be returned as the search results. 
              DESCRIPTION:      If this field is populated, it stores the percentage of images selected by the filter that is
                                returned as the result of the image search.  
                                 
                                  Firstly, images captured by the user (see the 
                                  the CAPTURED BY field (12) for more details) are 
                                  preselected according to the date range and 
                                  other criteria. Those of them that were captured 
                                  immediately before and after patient changes are 
                                  stored to the "priority" temporary buffer. The 
                                  others are stored to the regular temporary 
                                  buffer.  
                                 
                                  Then, the requested maximum number of images is 
                                  calculated according to the total number of 
                                  preselected entries and the value stored in this 
                                  field.  
                                     
                                  If the number of entries in the "priority" 
                                  buffer is less than the calculated maximum 
                                  number of images and the regular buffer is not 
                                  empty, then missing quantity of preselected 
                                  images is merged to the "priority" buffer from 
                                  the regular one.  
                                 
                                  Finally, no more than the maximum number of 
                                  entries is returned from the "priority" buffer 
                                  as the result of the search.  
                                  
                                If this field is empty, then the regular image query is performed.  

              TECHNICAL DESCR:  See the description of the MAG4 IMAGE LIST remote procedure (the "S" control flag and the MAXNUM 
                                parameter) for more details.  
                                 
                                Added by the patch MAG*3*93.  

              GROUP:            MAG*3*93

2005.87,20    USER                   1;1 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      JUN 08, 2003 
              HELP-PROMPT:      Enter the User of the Filter 
              DESCRIPTION:
                                Users can have their own filters.  This field determines the user.  

              CROSS-REFERENCE:  2005.87^C 
                                1)= S ^MAG(2005.87,"C",$E(X,1,30),DA)=""
                                2)= K ^MAG(2005.87,"C",$E(X,1,30),DA)
                                Cross reference for filters for a specific user.  



2005.87,21    PUBLIC                 1;2 SET

                                '1' FOR PUBLIC; 
              LAST EDITED:      JUN 08, 2003 
              HELP-PROMPT:      Public filters will be displayed on the Filter (File) menu for all users. 
              DESCRIPTION:
                                If a filter is public, it will be displayed on the Filter (File) menu for all users.  

              CROSS-REFERENCE:  2005.87^D 
                                1)= S ^MAG(2005.87,"D",$E(X,1,30),DA)=""
                                2)= K ^MAG(2005.87,"D",$E(X,1,30),DA)
                                All public filters will be available for all users.  



2005.87,22    CREATED BY             1;3 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      JUN 08, 2003 
              HELP-PROMPT:      This is the person that created the filter. 
              DESCRIPTION:      A function (future) of the Imaging Filter window will be that a user will be able to create a
                                Filter for another user.  



      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 CAPTURED BY (#12)
                                  USER (#20)
                                  CREATED BY (#22)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):