STANDARD DATA DICTIONARY #801.46 -- REMINDER GENERAL FINDINGS FILE                                                6/27/25    PAGE 1
STORED IN ^PXRMD(801.46,  (50 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                  (VERSION 2.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is used by Reminder Dialogs and CPRS to allow updating packages normally not handled by CPRS. This file is to be
controlled by national development and should not be modified at the site.  



PRIMARY KEY:        A (#141)
  Uniqueness Index: C (#1669)
       File, Field: 1) PACKAGE (801.46,2)  2) FINDING TEXT (801.46,.01)

POINTED TO BY: FINDING ITEM field (#15) of the REMINDER DIALOG File (#801.41) 
               ADDITIONAL FINDINGS field (#.01) of the ADDITIONAL FINDINGS sub-field (#801.4118) of the REMINDER DIALOG File 
                   (#801.41) 
               

CROSS
REFERENCED BY: PACKAGE(P)

INDEXED BY:    FINDING TEXT (B), PACKAGE & FINDING TEXT (C), PACKAGE & FILE NUMBER & PROMPT TYPE SUBSCIPT (PFSP), PACKAGE & FILE
               NUMBER & VALUE SUBSCRIPT & VALUE (PFSV)


    LAST MODIFIED: JUN 24,2020@12:14:07

801.46,.01    FINDING TEXT           0;1 FREE TEXT (Required) (Key field)

              INPUT TRANSFORM:  K:$L(X)>100!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      OCT 05, 2015 
              HELP-PROMPT:      Answer must be 3-100 characters in length. 
              DESCRIPTION:
                                This is the name of the general finding. This field should have meaning to the user in CPRS.  

              FIELD INDEX:      B (#1668)    REGULAR    IR    LOOKUP & SORTING
                  Short Descr:  B Cross reference
                  Description:  This is the "B" cross-reference redone as a new style cross reference.  
                    Set Logic:  S ^PXRMD(801.46,"B",$E(X,1,100),DA)=""
                   Kill Logic:  K ^PXRMD(801.46,"B",$E(X,1,100),DA)
                   Whole Kill:  K ^PXRMD(801.46,"B")
                         X(1):  FINDING TEXT  (801.46,.01)  (Subscr 1)  (Len 100)  (forwards)

              RECORD INDEXES:   C (#1669)

801.46,2      PACKAGE                0;2 POINTER TO PACKAGE FILE (#9.4) (Key field)

              LAST EDITED:      SEP 02, 2017 
              HELP-PROMPT:      Select the package to update 
              DESCRIPTION:      This is the package that the general finding will try to update. This field is used by the
                                receiving APIs to determine if the API should use the data to update their files.  

              CROSS-REFERENCE:  801.46^P 
                                1)= S ^PXRMD(801.46,"P",$E(X,1,30),DA)=""
                                2)= K ^PXRMD(801.46,"P",$E(X,1,30),DA)
                                This cross reference is used to sort all general findings by packages.  


              RECORD INDEXES:   C (#1669), PFSP (#1670), PFSV (#1671)

801.46,3      FILE NUMBER            0;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
              LAST EDITED:      SEP 10, 2016 
              HELP-PROMPT:      Answer must be 1-10 characters in length. 
              DESCRIPTION:      This is the file number the general finding should update. This field with the FIELD NUMBER, VALUE
                                or PROMPT TYPE fields should be used by the receiving API to determine what to update.  

              RECORD INDEXES:   PFSP (#1670), PFSV (#1671)

801.46,4      VALUE                  1;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>100!($L(X)<1) X
              LAST EDITED:      SEP 12, 2016 
              HELP-PROMPT:      Answer must be 1-100 characters in length. 
              DESCRIPTION:      This is the value to update for the FIELD and FILE NUMBER fields by the receiving API. The format
                                should be determined by the receiving package developer. (Internal or External).  

              RECORD INDEXES:   PFSV (#1671)

801.46,5      VALUE SUBSCRIPT        1;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              LAST EDITED:      SEP 12, 2016 
              HELP-PROMPT:      Answer must be 1-30 characters in length. 
              DESCRIPTION:
                                This is the subscript value the general finding will use to build the update array.  

              RECORD INDEXES:   PFSV (#1671)

801.46,6      VALUE FIEVAL SUBSCRIPT 1;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>75!($L(X)<3) X
              LAST EDITED:      SEP 07, 2016 
              HELP-PROMPT:      Enter the subscript name within the finding where the existing data for this is returned (3 to 75 
                                characters). 
              DESCRIPTION:
                                This is the name of the subscript in the FIEVAL array where data for this finding is returned.  

              TECHNICAL DESCR:  Reminder branching logic is used to evaluate a reminder definition that returns data from an
                                existing record if one exists. That data is stored in the FIEVAL array.  


801.46,10     PROMPT TYPE            2;1 POINTER TO REMINDER GUI PROCESS FILE (#801.42)

              LAST EDITED:      SEP 06, 2017 
              HELP-PROMPT:      Select the type of prompt by GUI PROCESS ID to use with this general finding. 
              DESCRIPTION:      This field is used to associated data entered by the user based off the prompt in the Reminder
                                Dialog. This field is used with FILE NUMBER and PROMPT TYPE SUBSCRIPT fields to update a value in
                                the receiving API(s).  


801.46,11     PROMPT TYPE SUBSCIPT   2;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
              LAST EDITED:      SEP 02, 2017 
              HELP-PROMPT:      Answer must be 1-30 characters in length. 
              DESCRIPTION:      This is the subscript the general finding will use to build the update array. The value the
                                subscript is set to is based off the user interaction in the Reminder Dialog.  

              RECORD INDEXES:   PFSP (#1670)

801.46,12     PROMPT TYPE FIEVAL SUBSCRIPT 2;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>75!($L(X)<1) X
              LAST EDITED:      SEP 07, 2016 
              HELP-PROMPT:      Answer must be 1-75 characters in length. 
              DESCRIPTION:
                                This is the name of the subscript in the FIEVAL array where data for this prompt is returned.  


801.46,20     FIEVAL SUBSCRIPT TYPE  3;1 SET

                                'S' FOR SINGLE VALUE; 
                                'M' FOR MULTIPLE VALUES; 
              LAST EDITED:      SEP 17, 2017 
              HELP-PROMPT:      Select S if retrieving a single entry or M if retrieving multiple entry from the reminder 
                                evaluation output. 
              DESCRIPTION:
                                This is the value type of the FIEVAL SUBSCRIPT NAME field.  

              TECHNICAL DESCR:  Reminder branching logic is used to evaluate a reminder definition that returns data from an
                                existing record if one exists. That data is stored in the FIEVAL array.  


801.46,22     CONTAINS RECORD ID     3;3 SET

                                '0' FOR NO; 
                                '1' FOR YES; 
              LAST EDITED:      SEP 06, 2017 
              HELP-PROMPT:      Select Yes if this general finding is used to update an existing record. Select No if this general 
                                finding is used to create a new record. 
              DESCRIPTION:      This field stores whether this general finding, when returned from the reminder dialog, contains
                                the record id of the edited record.  

              TECHNICAL DESCR:  When this field is set, it is expected that this general finding, when returned from the reminder
                                dialog, will contain the record id of the record that the user wants to edit. This id will be
                                copied to other general findings from that same dialog if they do not already have an id.  



      FILES POINTED TO                      FIELDS

PACKAGE (#9.4)                    PACKAGE (#2)

REMINDER GUI PROCESS (#801.42)    PROMPT TYPE (#10)


File #801.46

  Record Indexes:

  C (#1669)    RECORD    REGULAR    IR    LOOKUP & SORTING
       Unique for:  Key A (#141), File #801.46
      Short Descr:  Uniqueness Index for Key 'A' of File #801.46
      Description:  This cross reference is used a KEY defintion to make sure the Finding Text field is unique for each PACKAGE
                    field entry.  
        Set Logic:  S ^PXRMD(801.46,"C",X(1),X(2),DA)=""
       Kill Logic:  K ^PXRMD(801.46,"C",X(1),X(2),DA)
       Whole Kill:  K ^PXRMD(801.46,"C")
             X(1):  PACKAGE  (801.46,2)  (Subscr 1)
             X(2):  FINDING TEXT  (801.46,.01)  (Subscr 2)

  PFSP (#1670)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  This cross-reference is sort records by package, file, and prompt subscript
      Description:  This cross reference is used to sort records by the PACKAGE, FILE, and PROMPT SUBSCRIPT fields.  
        Set Logic:  S ^PXRMD(801.46,"PFSP",X(1),X(2),X(3),DA)=""
         Set Cond:  N SUB S X=1 F SUB=1:1:3 I $G(X2(SUB))="" S X=0
       Kill Logic:  K ^PXRMD(801.46,"PFSP",X(1),X(2),X(3),DA)
        Kill Cond:  N SUB S X=1 F SUB=1:1:3 I $G(X1(SUB))="" S X=0
       Whole Kill:  K ^PXRMD(801.46,"PFSP")
             X(1):  PACKAGE  (801.46,2)  (Subscr 1)  (forwards)
             X(2):  FILE NUMBER  (801.46,3)  (Subscr 2)  (forwards)
             X(3):  PROMPT TYPE SUBSCIPT  (801.46,11)  (Subscr 3)  (forwards)

  PFSV (#1671)    RECORD    REGULAR    IR    LOOKUP & SORTING
      Short Descr:  This xref sorts records by package, file, value subscript, and value
      Description:  This cross reference is used to sort entry by the following fields PACKAGE, FILE, VALUE SUBSCRIPT and VALUE.  
        Set Logic:  S ^PXRMD(801.46,"PFSV",X(1),X(2),X(3),X(4),DA)=""
         Set Cond:  N SUB S X=1 F SUB=1:1:4 I $G(X2(SUB))="" S X=0
       Kill Logic:  K ^PXRMD(801.46,"PFSV",X(1),X(2),X(3),X(4),DA)
        Kill Cond:  N SUB S X=1 F SUB=1:1:4 I $G(X1(SUB))="" S X=0
       Whole Kill:  K ^PXRMD(801.46,"PFSV")
             X(1):  PACKAGE  (801.46,2)  (Subscr 1)  (forwards)
             X(2):  FILE NUMBER  (801.46,3)  (Subscr 2)  (forwards)
             X(3):  VALUE SUBSCRIPT  (801.46,5)  (Subscr 3)  (forwards)
             X(4):  VALUE  (801.46,4)  (Subscr 4)  (forwards)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):