STANDARD DATA DICTIONARY #47.761 -- SOURCE OF NOTIFICATION BUSINESS RULES FILE                                    3/24/25    PAGE 1
STORED IN ^DG(47.761,  (3 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                      (VERSION 5.3)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains all of the allowable SUPPORTING DOCUMENTATION TYPES (#47.75) and SOURCE OF NOTIFICATIONS (#47.76) combinations
that can exist between these two files. By placing these valid combinations into a file, existing hard-coded sections of code can
be removed allowing for a more dynamic implementation of this business rule.  
 
NOTE: Future combination additions/changes (including inactivation) will 
      be performed through an RPC on the Master Patient Index and 
      distributed out to all sites as needed.  


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

CROSS
REFERENCED BY: SOURCE OF NOTIFICATION(B)

INDEXED BY:    DOCUMENT TYPE & ACTIVE? (AD), DOCUMENT TYPE & ACTIVE? (AF), SOURCE OF NOTIFICATION & ACTIVE? (AS)


    LAST MODIFIED: NOV 27,2017@12:25:09

47.761,.01    SOURCE OF NOTIFICATION 0;1 POINTER TO SOURCE OF NOTIFICATIONS FILE (#47.76) (Required)

              Source of Notification   
              LAST EDITED:      JUL 24, 2017 
              HELP-PROMPT:      Select the appropriate SOURCE OF NOTIFICATION from the list that specifies the business rule 
                                combination(s) to modify.  
              DESCRIPTION:      SOURCE OF NOTIFICATION identifies the entry from the SOURCE OF NOTIFICATIONS (#47.76) file that has
                                valid corresponding SUPPORTING DOCUMENTATION TYPES (#47.75) entry(ies).  

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

              RECORD INDEXES:   AS (#1482)

47.761,.02    ACTIVE?                0;2 SET (Required) (audited)

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      JUL 26, 2017 
              HELP-PROMPT:      Is this SOURCE OF NOTIFICATION business rule active (YES/NO)? 
              DESCRIPTION:      ACTIVE? will indicate whether the business rules for this SOURCE OF NOTIFICATION are active and
                                available for use.  

              AUDIT:            YES, ALWAYS
              RECORD INDEXES:   AS (#1482)

47.761,.03    DATE LAST UPDATED      0;3 DATE

              INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUL 24, 2017 
              HELP-PROMPT:      Enter the date that the business rule for this Source of Notification was modified. 
              DESCRIPTION:      The DATE LAST UPDATED is a date attribute for when the business rule for the corresponding SOURCE
                                OF NOTIFICATION was last changed.  


47.761,1      DOCUMENT TYPES         1;0 POINTER Multiple #47.7611 (Add New Entry without Asking)

              DESCRIPTION:      For each SOURCE OF NOTIFICATION, the DOCUMENT TYPES multiple specifies the allowable DOCUMENT
                                TYPE(s) that will be considered as a valid combination business rule.  


47.7611,.01     DOCUMENT TYPE          0;1 POINTER TO SUPPORTING DOCUMENTATION TYPES FILE (#47.75) (Multiply asked)

                Document Type   
                LAST EDITED:      JUL 25, 2017 
                HELP-PROMPT:      Select the appropriate DOCUMENT TYPE from the list to associate with the SOURCE OF NOTIFICATION 
                                  business rule. 
                DESCRIPTION:      DOCUMENT TYPE identifies the entry from the SUPPORTING DOCUMENTATION TYPES (#47.75) file that
                                  will be considered as valid combination business rule for the SOURCE OF NOTIFICATION.  

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

                RECORD INDEXES:   AD (#1480) (WHOLE FILE #47.761), AF (#1481) (WHOLE FILE #47.761)

47.7611,.02     ACTIVE?                0;2 SET (Required) (audited)

                                  '1' FOR YES; 
                                  '0' FOR NO; 
                LAST EDITED:      JUL 26, 2017 
                HELP-PROMPT:      Is this DOCUMENT TYPE business rule combination with the SOURCE OF NOTIFICATION active (YES/NO)? 
                DESCRIPTION:      ACTIVE? will indicate whether the business rule combination of SOURCE OF NOTIFICATION and
                                  DOCUMENT TYPE is still active and available for use.  

                AUDIT:            YES, ALWAYS
                RECORD INDEXES:   AD (#1480) (WHOLE FILE #47.761), AF (#1481) (WHOLE FILE #47.761)




      FILES POINTED TO                      FIELDS

SOURCE OF NOTIFICATIONS (#47.76)  SOURCE OF NOTIFICATION (#.01)

SUPPORTING DOCUMENTATION TYPES 
                   (#47.75)       DOCUMENT TYPES:DOCUMENT TYPE (#.01)


File #47.761

  Record Indexes:

  AS (#1482)    RECORD    MUMPS    IR    SORTING ONLY
      Short Descr:  Active Source of Notification Rules
      Description:  The AS cross-reference is used as a quick check to see if a specific SOURCE OF NOTIFICATION business rule is
                    active.  
        Set Logic:  S ^DG(47.761,"AS",X(1),X(2))=""
       Kill Logic:  K ^DG(47.761,"AS",X(1),X(2))
       Whole Kill:  K ^DG(47.761,"AS")
             X(1):  SOURCE OF NOTIFICATION  (47.761,.01)  (Subscr 1)  (forwards)
             X(2):  ACTIVE?  (47.761,.02)  (Subscr 2)  (forwards)

Subfile #47.7611

  Record Indexes:

  AD (#1480)    RECORD    MUMPS    IR    SORTING ONLY    WHOLE FILE (#47.761)
      Short Descr:  Allowed Document Type(s)
      Description:  The AD cross-reference is used as a quick check to see if a specific SOURCE of NOTIFICATION and DOCUMENT TYPE
                    combination is active.  
        Set Logic:  S ^DG(47.761,"AD",$P(^DG(47.761,DA(1),0),"^"),X(1),X(2))=""
       Kill Logic:  K ^DG(47.761,"AD",$P(^DG(47.761,DA(1),0),"^"),X(1),X(2))
       Whole Kill:  K ^DG(47.761,"AD")
             X(1):  DOCUMENT TYPE  (47.7611,.01)  (Subscr 1)  (forwards)
             X(2):  ACTIVE?  (47.7611,.02)  (Subscr 2)  (forwards)

  AF (#1481)    RECORD    MUMPS    IR    SORTING ONLY    WHOLE FILE (#47.761)
      Short Descr:  Active Document Types Regardless of Notification Source
      Description:  The AF whole file cross-reference is used as a quick check to see if a specific DOCUMENT TYPE is active within
                    any SOURCE OF NOTIFICATION.  
        Set Logic:  S ^DG(47.761,"AF",X(1),X(2),DA(1))=""
       Kill Logic:  K ^DG(47.761,"AF",X(1),X(2),DA(1))
       Whole Kill:  K ^DG(47.761,"AF")
             X(1):  DOCUMENT TYPE  (47.7611,.01)  (Subscr 1)  (forwards)
             X(2):  ACTIVE?  (47.7611,.02)  (Subscr 2)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):