STANDARD DATA DICTIONARY #810.7 -- REMINDER EXTRACT COUNTING RULE FILE                                            3/24/25    PAGE 1
STORED IN ^PXRM(810.7,  (9 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                     (VERSION 2.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is used during extract processing when an extract definition's TYPE OF TOTALS field is defined with COMPLIANCE AND
FINDING TOTALS. When the extract type is for COMPLIANCE TOTALS only, there will not be an extract counting rule defined in the
REMINDER EXTRACT DEFINITION file (#810.2). When the extract type includes FINDING TOTALS, then the extract definition needs to 
reference a counting rule for each reminder processed by the extract. 
 
In the Extract definition, there is a basic hierarchy as follows Extract general information 
   Patient List to build and list rules to build them 
      Reminders to be run with the Patient List 
         Extract Counting Rules that define how to count findings 
 
An entry in the REMINDER EXTRACT COUNTING RULE file identifies how groups of findings should be accumulated based on the reminder
status.  Each group of findings is defined as a counting group in the REMINDER EXTRACT COUNTING GROUP file (#810.8).  
 
One counting group can be referenced multiple times in a particular counting rule to collect counts in multiple ways. The unique
combination of a counting group and a Reminder Status field is what makes the counts different. The Reminder Status field is the
status associated with the patient when the reminder was evaluated. Each patient is always in the TOTAL PATIENTS count, but the
patient is included in the APPLICABLE PATIENTS, DUE PATIENTS, or NOT DUE PATIENTS counts depending on the reminder status for each
patient. 
 
For example: A counting group defined with possible LDL value ranges, can be defined to get multiple counts, depending on the
patient's REMINDER STATUS.  When TOTAL PATIENTS Reminder Status is defined with the counting group: Every patient in the patient
list is used to find a match on the findings in the group. If a finding match is found, a count is accumulated into columns based 
on the reminder status of APPLICABLE, NOT APPLICABLE, DUE or NOT DUE. 
 
When APPLICABLE PATIENTS Reminder Status is defined with the counting group: Patients from the patient list, where the reminder was
applicable, are used to find a match on the findings in the group. If a finding match is found, a count is accumulated into columns
for each finding in the group based on the reminder status of APPLICABLE, NOT APPLICABLE, DUE or NOT DUE. Applicable patients 
should have 0 counts in the NOT APPLICABLE count for each finding.  
 
When DUE PATIENTS Reminder Status is defined with the counting group: Patients from the patient list, where the reminder was due
are used to find a match on the findings in the group. If a finding match is found, a count is accumulated into columns for each
finding in the group based on the reminder status of APPLICABLE, NOT APPLICABLE, DUE or NOT DUE. Due patients should have 0 counts 
in the NOT APPLICABLE and NOT DUE count for each finding.  
 
When NOT DUE PATIENTS Reminder Status is defined with the counting group: Patients from the patient list, where the reminder was
not due are used to find a match on the findings in the group. If a finding match is found, a count is accumulated into columns for
each finding in the group based on the reminder status of APPLICABLE, NOT APPLICABLE, DUE or NOT DUE. Due patients should have 0
counts in the NOT APPLICABLE and DUE count for each finding.  
 
The accumulated counts for each finding are stored in the REMINDER EXTRACT SUMMARY file (#810.3). The sequence number in the file
determines the order the counts will be accumulated for, saved to, and displayed from the REMINDER EXTRACT SUMMARY file (#810.3). 
The counts can be used to make comparisons between TOTAL PATIENTS, APPLICABLE PATIENTS, DUE PATIENTS, and NOT DUE PATIENTS counts. 
       
If no counting groups are defined in the extract counting rule, then no finding totals will be accumulated. Nationally distributed
extract counting rules are prefixed 'VA-' and cannot be modified by sites. 
 
Sites should name locally created extract counting rules according to their local naming convention. 
 
 


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

PRIMARY KEY:        A (#32)
  Uniqueness Index: B (#747)
       File, Field: 1) NAME (810.7,.01)
POINTED TO BY: COUNTING RULE field (#2) of the REMINDERS/COUNTING RULES sub-field (#810.22) of the EXTRACT RULES sub-field 
                   (#810.21) of the REMINDER EXTRACT DEFINITION File (#810.2) 
               


INDEXED BY:    NAME (B)




810.7,.01     NAME                   0;1 FREE TEXT (Required) (Key field)

              INPUT TRANSFORM:  K:$L(X)>64!($L(X)<3)!'(X'?1P.E)!('$$VNAME^PXRMINTR(.X)) X
              LAST EDITED:      MAY 29, 2009 
              HELP-PROMPT:      Answer must be 3-64 characters in length 
              DESCRIPTION:      This is the name of the Counting Rule. Nationally distributed extract counting rules are prefixed
                                'VA-'.  
                                 

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

              FIELD INDEX:      B (#747)    REGULAR    IR    LOOKUP & SORTING
                   Unique for:  Key A (#32), File #810.7
                  Short Descr:  B Index
                  Description:  New-style B index.  
                                 
                                
                    Set Logic:  S ^PXRM(810.7,"B",$E(X,1,64),DA)=""
                   Kill Logic:  K ^PXRM(810.7,"B",$E(X,1,64),DA)
                   Whole Kill:  K ^PXRM(810.7,"B")
                         X(1):  NAME  (810.7,.01)  (Subscr 1)  (Len 64)  (forwards)


810.7,1       DESCRIPTION            1;0   WORD-PROCESSING #810.71

              DESCRIPTION:      Description is used to enter a text description of the counting groups defined in the counting
                                rule.  
                                 


                LAST EDITED:      AUG 19, 2004 
                DESCRIPTION:      Description is used to enter a text description of the finding groups defined in the finding
                                  rule.  




810.7,10      EXTRACT COUNTING GROUPS 10;0 Multiple #810.701

              LAST EDITED:      MAY 04, 2006 
              DESCRIPTION:      This field contains the associated Extract Counting Group.  
                                 

              IDENTIFIED BY:    COUNTING GROUP(#1)

              PRIMARY KEY:      A (#35)
              Uniqueness Index: B (#748)
                   File, Field: 1) SEQUENCE NUMBER (810.701,.01)

              INDEXED BY:       SEQUENCE NUMBER (B)

810.701,.01     SEQUENCE NUMBER        0;1 NUMBER (Multiply asked) (Key field)

                INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:      JUL 02, 2007 
                HELP-PROMPT:      Type a Number between 1 and 999, 0 Decimal Digits 
                DESCRIPTION:      This is the numeric sequence of an individual counting group.  
                                   

                FIELD INDEX:      B (#748)    REGULAR    IR    LOOKUP & SORTING
                     Unique for:  Key A (#35), File #810.701
                    Short Descr:  Uniqueness Index for Key 'A' of Subfile #810.701
                      Set Logic:  S ^PXRM(810.7,DA(1),10,"B",X,DA)=""
                     Kill Logic:  K ^PXRM(810.7,DA(1),10,"B",X,DA)
                     Whole Kill:  K ^PXRM(810.7,DA(1),10,"B")
                           X(1):  SEQUENCE NUMBER  (810.701,.01)  (Subscr 1)


810.701,1       COUNTING GROUP         0;2 POINTER TO REMINDER COUNTING GROUP FILE (#810.8)

                LAST EDITED:      MAY 04, 2006 
                DESCRIPTION:      This is a pointer to the Reminder Counting Group File. Each group defines reminder terms and type
                                  of count to be totaled by the extract process.  
                                   


810.701,2       REMINDER STATUS        0;3 SET

                                  'T' FOR TOTAL PATIENTS; 
                                  'A' FOR APPLICABLE PATIENTS; 
                                  'D' FOR DUE PATIENTS; 
                                  'N' FOR NOT DUE PATIENTS; 
                LAST EDITED:      MAY 04, 2006 
                DESCRIPTION:      This field determines which group of patients the counting group is accumulated for. The default
                                  value for this field is TOTAL PATIENTS (i.e. all  patients in the denominator list are used to
                                  accumulate counts.  
                                   
                                   




810.7,100     CLASS                  100;1 SET

                                'N' FOR NATIONAL; 
                                'V' FOR VISN; 
                                'L' FOR LOCAL; 
              LAST EDITED:      MAY 04, 2006 
              HELP-PROMPT:      Enter the class. 
              DESCRIPTION:      This is the class of the Extract Counting Rule. National Extract Counting Rules are not editable.  
                                 


810.7,110     EDIT HISTORY           110;0 DATE Multiple #810.72

              DESCRIPTION:      This multiple is used to record a history of changes made to the Extract Counting Rule.  
                                 


810.72,.01      EDIT DATE              0;1 DATE

                INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:X<1 X
                LAST EDITED:      AUG 19, 2004 
                HELP-PROMPT:      (No range limit on date) 
                DESCRIPTION:      This is the date and time when the editing was done. This field is set automatically and should
                                  not be changed by the user.  

                CROSS-REFERENCE:  810.72^B 
                                  1)= S ^PXRM(810.7,DA(1),110,"B",$E(X,1,30),DA)=""
                                  2)= K ^PXRM(810.7,DA(1),110,"B",$E(X,1,30),DA)


810.72,1        EDIT BY                0;2 POINTER TO NEW PERSON FILE (#200)

                LAST EDITED:      AUG 19, 2004 
                DESCRIPTION:      This is the person who did the editing. This field is set automatically and should not be changed
                                  by the user.  


810.72,2        EDIT COMMENTS          1;0   WORD-PROCESSING #810.722

                DESCRIPTION:
                                  This word-processing field can be used to record the changes made during the editing session.  


                  LAST EDITED:      AUG 19, 2004 






      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 EDIT HISTORY:EDIT BY (#1)

REMINDER COUNTING GROUP (#810.8)  EXTRACT COUNTING GROUPS:COUNTING GROUP (#1)



INPUT TEMPLATE(S):
PXRM EXTRACT COUNTING         SEP 06, 2002@11:35  USER #0    

PRINT TEMPLATE(S):
PXRM EXTRACT COUNTING         AUG 09, 2006@14:58  USER #0                                        REMINDER EXTRACT FINDING RULE LIST

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):