STANDARD DATA DICTIONARY #161.7 -- FEE BASIS BATCH FILE                                                           6/27/25    PAGE 1
STORED IN ^FBAA(161.7,  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                      (VERSION 3.5)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
Contain all batches established by Fee Basis users. Payments are assigned to a batch and payment data is transmitted for payment in
batches.  
 
Per VHA Directive 10-93-142, this file definition should not be modified.  


              DD ACCESS: @
              RD ACCESS: #
              WR ACCESS: #
             DEL ACCESS: #
           LAYGO ACCESS: #
IDENTIFIED BY: OBLIGATION NUMBER (#1)[R]

POINTED TO BY: BATCH NUMBER field (#7) of the SERVICE PROVIDED sub-field (#162.03) of the INITIAL TREATMENT DATE sub-field 
                   (#162.02) of the VENDOR sub-field (#162.01) of the FEE BASIS PAYMENT File (#162) 
               OLD BATCH NUMBER field (#21) of the SERVICE PROVIDED sub-field (#162.03) of the INITIAL TREATMENT DATE sub-field 
                   (#162.02) of the VENDOR sub-field (#162.01) of the FEE BASIS PAYMENT File (#162) 
               TRAVEL BATCH NUMBER field (#1) of the TRAVEL PAYMENT DATE sub-field (#162.04) of the FEE BASIS PAYMENT File (#162) 
               OLD BATCH NUMBER field (#6) of the TRAVEL PAYMENT DATE sub-field (#162.04) of the FEE BASIS PAYMENT File (#162) 
               BATCH ASSIGNED field (#10) of the FEE BASIS PHARMACY INVOICE File (#162.1) 
               BATCH NUMBER field (#13) of the PRESCRIPTION NUMBER sub-field (#162.11) of the FEE BASIS PHARMACY INVOICE File 
                   (#162.1) 
               OLD BATCH NUMBER field (#19) of the PRESCRIPTION NUMBER sub-field (#162.11) of the FEE BASIS PHARMACY INVOICE File 
                   (#162.1) 
               OLD BATCH NUMBER field (#15) of the FEE BASIS INVOICE File (#162.5) 
               BATCH NUMBER field (#20) of the FEE BASIS INVOICE File (#162.5) 
               

CROSS
REFERENCED BY: STATUS(AB), STATUS(AC), DATE SUPERVISOR CLOSED(ADS), DATE FINALIZED(AF), NUMBER(B), CLERK WHO OPENED(C)

    LAST MODIFIED: JAN 30,2018@14:48:55

161.7,.01     NUMBER                 0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>7!($L(X)<1)!'(X'?1P.E)!(X'?.ANP) X I $D(X),'$$CHKBI^FBAAUTL4(
                                X,1) K X
              LAST EDITED:      JAN 19, 2015 
              HELP-PROMPT:      ANSWER MUST BE 1-7 CHARACTERS IN LENGTH 
              DESCRIPTION:      The number identifying this batch. The batch number is automatically assigned to the batch when a
                                clerk opens a batch. 

              DELETE TEST:      .01,0)= S Z=$P(^FBAA(161.7,D0,0),U,3) I $S(Z="B3":$S($D(^FBAAC("AC",D0)):1,1:0),Z="B2":$S($D(^FBAAC
                                ("AD",D0)):1,1:0),Z="B5":$S($D(^FBAA(162.1,"AE",D0)):1,1:0),1:0) W !,*7,"Batch has activity, cannot
                                 be deleted!"

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

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


161.7,1       OBLIGATION NUMBER      0;2 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<6) X D:$D(X) CKOB^FBAAUTL1
              LAST EDITED:      JUL 20, 1989 
              HELP-PROMPT:      ANSWER MUST BE 6 CHARACTERS IN LENGTH 
              DESCRIPTION:      The obligation number (which must exist in the obligation file) associated with this batch number.
                                When this batch is processed by the Austin Central Fee system, and passed to the CALM payment 
                                system, the funds for these payments will be from the obligation number identified here.  

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


161.7,2       TYPE                   0;3 SET (Required)

                                'B3' FOR MEDICAL PAYMENTS; 
                                'B5' FOR HOMETOWN PHARMACY PAYMENTS; 
                                'C1' FOR VENDOR FILE ACTIVITIES; 
                                'C2' FOR VETERAN MRA ACTIVITIES; 
                                'C4' FOR PHARMACY FILE ACTIVITIES; 
                                'B2' FOR TRAVEL PAYMENTS; 
                                'B9' FOR CH/CNH; 
              LAST EDITED:      SEP 21, 1994 
              DESCRIPTION:      The type field identifies what type of records will be contained in this batch. For example, this
                                could be a 'Pharmacy Payment' type batch or could be a 'Medical Payment' type batch.  


161.7,3       DATE OPENED            0;4 DATE

              INPUT TRANSFORM:  S %DT="EX",%DT(0)="-"_DT D ^%DT S X=Y K:Y<1 X K %DT(0)
              LAST EDITED:      NOV 29, 2000 
              DESCRIPTION:      The date this batch was opened by the clerk or the date it was last reopened by the clerk or
                                supervisor.  

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


161.7,4       CLERK WHO OPENED       0;5 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      APR 05, 1990 
              DESCRIPTION:
                                The clerk who opened the batch or the clerk or supervisor who last reopened this batch.  

              CROSS-REFERENCE:  161.7^C 
                                1)= S ^FBAA(161.7,"C",$E(X,1,30),DA)=""
                                2)= K ^FBAA(161.7,"C",$E(X,1,30),DA)


161.7,4.5     DATE CLERK CLOSED      0;13 DATE

              INPUT TRANSFORM:  S %DT="EX",%DT(0)="-"_DT D ^%DT S X=Y K:Y<1 X K %DT(0)
              LAST EDITED:      NOV 29, 2000 
              DESCRIPTION:
                                The date that the clerk closed the batch. Payments cannot be entered after the batch is closed.  

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


161.7,5       DATE SUPERVISOR CLOSED 0;6 DATE (Required)

              INPUT TRANSFORM:  S %DT="EXTS",%DT(0)="-NOW" D ^%DT S X=Y K:Y<1 X K %DT(0)
              LAST EDITED:      NOV 03, 2010 
              HELP-PROMPT:      Enter a date and time. 
              DESCRIPTION:      The date and time that the supervisor reviewed and released for payment or the date released to the
                                NVH Pricer.  

              TECHNICAL DESCR:  This field will contain a date instead of a date and time for batches that were released for
                                payment prior to installation of patch FB*3.5*117.  

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

              CROSS-REFERENCE:  161.7^ADS 
                                1)= S ^FBAA(161.7,"ADS",$E(X,1,30),DA)=""
                                2)= K ^FBAA(161.7,"ADS",$E(X,1,30),DA)
                                Regular cross-reference on DATE SUPERVISOR CLOSED field.  



161.7,6       SUPERVISOR WHO CERTIFIED 0;7 POINTER TO NEW PERSON FILE (#200) (Required)

              LAST EDITED:      APR 05, 1990 
              DESCRIPTION:      The supervisor who reviewed the batch to release/certify that the batch was approved for
                                transmission to Austin for payment.  


161.7,8       TOTAL DOLLARS          0;9 NUMBER (Required)

              INPUT TRANSFORM:  S:X["$" X=$P(X,"$",2) K:+X'=X&(X'?.N1"."2N)!(X>99999.99)!(X<.01) X
              HELP-PROMPT:      TYPE A NUMBER BETWEEN .01 AND 99999.99 
              DESCRIPTION:      The total dollars that will be paid for items in this batch. This field is calculated when the
                                batch is closed. This field will NOT be accurate if the batch has NOT been closed.  

              WRITE AUTHORITY:  ^
              NOTES:            TRIGGERED by the TRAVEL AMOUNT field of the TRAVEL PAYMENT DATE sub-field of the FEE BASIS PAYMENT 
                                File 


161.7,9       INVOICE COUNT          0;10 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
              HELP-PROMPT:      TYPE A WHOLE NUMBER BETWEEN 1 AND 99 
              DESCRIPTION:
                                The number of individual invoices associated/included in this batch.  


161.7,10      PAYMENT LINE COUNT     0;11 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
              HELP-PROMPT:      TYPE A WHOLE NUMBER BETWEEN 1 AND 999 
              DESCRIPTION:
                                The total number of payment line items included in this batch.  

              NOTES:            TRIGGERED by the TRAVEL AMOUNT field of the TRAVEL PAYMENT DATE sub-field of the FEE BASIS PAYMENT 
                                File 
                                TRIGGERED by the TRAVEL AMOUNT field of the TRAVEL PAYMENT DATE sub-field of the FEE BASIS PAYMENT 
                                File 


161.7,11      STATUS                 ST;1 SET (Required)

                                'C' FOR CLERK CLOSED; 
                                'S' FOR SUPERVISOR CLOSED; 
                                'O' FOR OPEN; 
                                'T' FOR TRANSMITTED; 
                                'F' FOR CENTRAL FEE ACCEPTED; 
                                'V' FOR VOUCHERED; 
                                'P' FOR FORWARDED TO PRICER; 
                                'A' FOR ASSIGNED PRICE; 
                                'R' FOR REVIEWED AFTER PRICER; 
              LAST EDITED:      JAN 30, 2012 
              DESCRIPTION:
                                The current status of the batch (ie Open, Clerk Closed, Transmitted).  

              TECHNICAL DESCR:  Patch FB*3.5*132 set the WRITE ACCESS of the STATUS field to the caret (^) to prevent users from
                                changing the batch status using the FileMan Enter/Edit option.  

              WRITE AUTHORITY:  ^
              CROSS-REFERENCE:  161.7^AC 
                                1)= S ^FBAA(161.7,"AC",$E(X,1,30),DA)=""
                                2)= K ^FBAA(161.7,"AC",$E(X,1,30),DA)

              CROSS-REFERENCE:  161.7^AB^MUMPS 
                                1)= I $P(^FBAA(161.7,DA,0),U,5)]"" S ^FBAA(161.7,"AB",$E(X,1,30),$P(^FBAA(161.7,DA,0),U,5),DA)=""
                                2)= I $P(^FBAA(161.7,DA,0),U,5)]"" K ^FBAA(161.7,"AB",$E(X,1,30),$P(^FBAA(161.7,DA,0),U,5),DA)


161.7,12      DATE TRANSMITTED       0;14 DATE

              INPUT TRANSFORM:  S %DT="EX",%DT(0)="-"_DT D ^%DT S X=Y K:Y<1 X K %DT(0)
              LAST EDITED:      NOV 29, 2000 
              DESCRIPTION:      The date/time the supervisor used the 'Queue Data for Transmission' option. This is NOT the actual
                                date/time the transmission occurred.  

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


161.7,13      DATE FINALIZED         0;12 DATE

              INPUT TRANSFORM:  S %DT="EX",%DT(0)="-"_DT D ^%DT S X=Y K:Y<1 X K %DT(0)
              LAST EDITED:      NOV 29, 2000 
              DESCRIPTION:      This is the date that the batch is finalized. This occurs after the batch has been sent to Austin
                                and the Austin processing has occurred. This is the final step where any items rejected by the
                                Austin system have been rejected and the batch is finalized.  

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

              CROSS-REFERENCE:  161.7^AF 
                                1)= S ^FBAA(161.7,"AF",$E(X,1,30),DA)=""
                                2)= K ^FBAA(161.7,"AF",$E(X,1,30),DA)


161.7,14      PERSON WHO COMPLETED   0;16 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      APR 05, 1990 
              DESCRIPTION:
                                The supervisor who completed/finalized the batch.  


161.7,15      REJECTS PENDING        0;17 SET

                                'Y' FOR YES; 
              LAST EDITED:      AUG 15, 1986 
              DESCRIPTION:      A flag which indicates whether this batch has any line items which were rejected and have yet to be
                                reassigned to a new batch.  


161.7,16      STATION NUMBER         0;8 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>3!($L(X)<3) X
              LAST EDITED:      JUL 31, 1989 
              HELP-PROMPT:      ANSWER MUST BE 3 CHARACTERS IN LENGTH 
              DESCRIPTION:
                                The station number (as defined centrally) for the station that is processing this batch.  


161.7,17      CONTRACT HOSPITAL BATCH 0;15 SET

                                'Y' FOR yes; 
              LAST EDITED:      APR 09, 1990 
              DESCRIPTION:
                                A flag set to 'Yes' if the batch is a Contract Hospital batch.  


161.7,18      BATCH EXEMPT           0;18 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      MAR 01, 1993 
              DESCRIPTION:
                                Population of this field indicates the batch is exempt from processing by the Austin Pricer.  


161.7,19      STATISTICAL BATCH      0;19 SET

                                '1' FOR YES; 
                                '0' FOR NO; 
              LAST EDITED:      SEP 19, 1994 
              DESCRIPTION:      This flag is set by the software.  Batches with this flag set to '1' (YES) will NOT make payment
                                through FMS.  It is used to update payment records both in DHCP and Central Fee.  

              TECHNICAL DESCR:  Set to '1' if sending Austin a statistical payment.  We only allow statistical payments to be put
                                into a batch with this flag set.  


161.7,20      FINALIZED WITH VISTA   1;1 SET

                                '1' FOR YES; 
              LAST EDITED:      DEC 12, 2011 
              HELP-PROMPT:      Enter YES if a Fee Basis option was used to complete the batch. 
              DESCRIPTION:      This field indicates if batch was finalized (completed) using the VistA Finalize a Batch option as
                                opposed to some other method such as the Fee Basis Claims System (FBCS). This field is
                                automatically populated by the software.  It was added by patch FB*3.5*132 and will not be
                                populated for batches finalized prior to installation of that patch.  


161.7,21      VOUCHER MSG DATE       1;2 DATE

              INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      DEC 12, 2011 
              HELP-PROMPT:      Enter date most recent voucher batch message was generated. 
              DESCRIPTION:      This field is automatically populated with the current date when a Voucher Batch message is
                                generated for the batch.  This field will be used to determine if the application acknowledgement
                                from Central Fee is overdue.  


161.7,22      VOUCHER MSG ACK STATUS 1;3 SET

                                'P' FOR PENDING; 
                                'E' FOR ERROR; 
                                'A' FOR ACKNOWLEDGED; 
              LAST EDITED:      DEC 12, 2011 
              HELP-PROMPT:      Select status of the voucher batch acknowledgement. 
              DESCRIPTION:      This field holds the status of the acknowledgement for the most recent voucher batch message. This
                                field will be automatically set to Pending when a voucher batch message is generated.  The FBAA
                                VOUCHER SERVER server option will update this field to Error or Acknowledged based on the voucher
                                batch acknowledgement message from Central Fee.  


161.7,23      STATUS SET TO RETRANSMIT BY 1;4 POINTER TO NEW PERSON FILE (#200)

              LAST EDITED:      DEC 12, 2011 
              HELP-PROMPT:      Enter person that reset the batch status. 
              DESCRIPTION:      This field is automatically populated with the current user when the Reprocess Overdue Batch option
                                is used to reset the status of a payment batch so the batch will be retransmitted to Central Fee. 
                                This field is used to track exceptions to the normal batch process.  


161.7,24      STATUS SET TO RETRANSMIT DATE 1;5 DATE

              INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      DEC 12, 2011 
              HELP-PROMPT:      Enter date the batch status was reset. 
              DESCRIPTION:      This field is automatically populated with the current date when the Reprocess Overdue Batch option
                                is used to reset the status of a payment batch so the batch will be retransmitted to Central Fee. 
                                This field is used to track exceptions to the normal batch process.  


161.7,25      TRANSMITTED BATCH WAS REJECTED 1;6 SET

                                '1' FOR YES; 
              LAST EDITED:      DEC 12, 2011 
              HELP-PROMPT:      Enter YES if a batch with TRANSMITTED status was rejected. 
              DESCRIPTION:      This field is automatically populated with YES when the Reprocess Overdue Batch option is used to
                                flag an entire batch as rejected.  This field is used to identify when an exception to the normal
                                batch process occurred.  



      FILES POINTED TO                      FIELDS

NEW PERSON (#200)                 CLERK WHO OPENED (#4)
                                  SUPERVISOR WHO CERTIFIED (#6)
                                  PERSON WHO COMPLETED (#14)
                                  STATUS SET TO RETRANSMIT BY (#23)



INPUT TEMPLATE(S):
FB CH OPEN BATCH              SEP 21, 1994@11:33  USER #705  
FB CHNH OPEN BATCH            SEP 20, 1994@15:06  USER #705  
FBAA BATCH EDIT               MAY 04, 1993@11:15  USER #1555 
FBAA MED IFCAP                SEP 20, 1994@15:07  USER #705  
FBAA PHARM IFCAP              SEP 20, 1994@15:12  USER #705  
FBAA TRAV IFCAP               SEP 20, 1994@15:14  USER #705  

PRINT TEMPLATE(S):
FB BATCH LIST                 JAN 11, 1993@08:13  USER #705                                                    FEE BASIS BATCH LIST
     List batch

SORT TEMPLATE(S):
FB BATCH LIST                 AUG 26, 1992@11:11  USER #705  
SORT BY: ]@NUMBER//    (User is asked range)
     List batch


FORM(S)/BLOCK(S):