STANDARD DATA DICTIONARY #704.1112 -- OBS_VIEW_FILTER FILE                                                        3/24/25    PAGE 1
STORED IN ^MDC(704.1112,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                    (VERSION 1.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file maintains relationships between view entries in the OBS VIEW File (#704.1111) and qualifiers/filters.  


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

PRIMARY KEY:        A (#100)
  Uniqueness Index: PK (#935)
       File, Field: 1) VIEW_ID (704.1112,.01)  2) TERM_ORDER (704.1112,.02)  3) FILTER_TYPE (704.1112,.03)


INDEXED BY:    VIEW_ID & TERM_ORDER & FILTER_TYPE (PK)




704.1112,.01  VIEW_ID                0;1 POINTER TO OBS_VIEW FILE (#704.111) (Required) (Key field)

              LAST EDITED:      APR 21, 2009 
              HELP-PROMPT:      Answer with a view identifier. 
              DESCRIPTION:      This field identifies an entry in the OBS VIEW File (#704.111); correlates this file entry with a
                                view.  

              RECORD INDEXES:   PK (#935)

704.1112,.02  TERM_ORDER             0;2 NUMBER (Required) (Key field)

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      APR 21, 2009 
              HELP-PROMPT:      Type a Number between 1 and 9999, 0 Decimal Digits. 
              DESCRIPTION:
                                This is the order of the filter in this file entry.   

              RECORD INDEXES:   PK (#935)

704.1112,.03  FILTER_TYPE            0;3 POINTER TO TERM_TYPE FILE (#704.102) (Required) (Key field)

              LAST EDITED:      APR 21, 2009 
              HELP-PROMPT:      Answer with a term type identifier. 
              DESCRIPTION:
                                This is the type of term this filter uses.  

              RECORD INDEXES:   PK (#935)

704.1112,.04  FILTER_TERM            0;4 POINTER TO TERM FILE (#704.101)

              LAST EDITED:      APR 27, 2009 
              HELP-PROMPT:      Answer with a term identifier. 
              DESCRIPTION:      This field identifies the term this filter relates to; correlates this file entry to a TERM File
                                (#704.101) entry.  This is the term/qualifier by which to filter.  


704.1112,.05  FILTER_USAGE           0;5 SET (Required)

                                '0' FOR DEFAULT VALUE; 
                                '1' FOR MANDATORY VALUE; 
              LAST EDITED:      APR 21, 2009 
              HELP-PROMPT:      Answer whether to mandate this qualifier with this term in this view. 
              DESCRIPTION:
                                This field is to indicate whether this filter is mandatory or a default when entering new data.  



      FILES POINTED TO                      FIELDS

OBS_VIEW (#704.111)               VIEW_ID (#.01)

TERM (#704.101)                   FILTER_TERM (#.04)

TERM_TYPE (#704.102)              FILTER_TYPE (#.03)


File #704.1112

  Record Indexes:

  PK (#935)    RECORD    REGULAR    IR    LOOKUP & SORTING
       Unique for:  Key A (#100), File #704.1112
      Short Descr:  Uniqueness Index for Key 'A' of File #704.1112
      Description:  This will allow a quick reference to views and filters.  
        Set Logic:  S ^MDC(704.1112,"PK",$E(X(1),1,38),$E(X(2),1,3),$E(X(3),1,3),DA)=""
       Kill Logic:  K ^MDC(704.1112,"PK",$E(X(1),1,38),$E(X(2),1,3),$E(X(3),1,3),DA)
       Whole Kill:  K ^MDC(704.1112,"PK")
             X(1):  VIEW_ID  (704.1112,.01)  (Subscr 1)  (Len 38)
             X(2):  TERM_ORDER  (704.1112,.02)  (Subscr 2)  (Len 3)
             X(3):  FILTER_TYPE  (704.1112,.03)  (Subscr 3)  (Len 3)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):