STANDARD DATA DICTIONARY #348.4 -- AR DATA QUEUE FILE                                                             3/24/25    PAGE 1
STORED IN ^RCXV(  *** NO DATA STORED YET ***   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                            (VERSION 4.5)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains bill entries which based upon certain criteria have been triggered into this file.  These bill entries are used 
to export data information for CBO to the Boston Allocation Resource Center (ARC).  


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

CROSS
REFERENCED BY: STATUS(AC), BATCH NUMBER(B), BATCH DATE(C)



348.4,.01     BATCH NUMBER           0;1 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      JUL 28, 2003 
              HELP-PROMPT:      Type a Number between 1 and 999999999, 0 Decimal Digits 
              DESCRIPTION:
                                The Batch Number is a sequential counter distinguishing each batch of data to be transmitted 

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


348.4,.02     BATCH DATE             0;2 DATE

              INPUT TRANSFORM:  S %DT="EX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUL 28, 2003 
              DESCRIPTION:
                                This field will contain the date for which the batch is generated.  

              CROSS-REFERENCE:  348.4^C 
                                1)= S ^RCXV("C",$E(X,1,30),DA)=""
                                2)= K ^RCXV("C",$E(X,1,30),DA)
                                This cross-reference is used to look up a batch by the batch date.  



348.4,.03     STATUS                 0;3 SET

                                'P' FOR PENDING; 
                                'T' FOR TRANSMITTED; 
                                'C' FOR COMPLETED; 
              LAST EDITED:      JUL 24, 2003 
              DESCRIPTION:      This field contains the status of the batch. 'Pending' will indicate that the batch is ready for
                                the nightly process. 'Transmitted' will indicate that the batch has been sent to the Vitria server
                                but no completed acknowledgement has been received. If the batch is still at the status of
                                'Transmitted' the next night, it will be sent to Vitria. 'Completed' will indicate that the batch
                                has been successfully received and processed on the Vitria server and records may now be available
                                for purging.  

              CROSS-REFERENCE:  348.4^AC 
                                1)= S ^RCXV("AC",$E(X,1,30),DA)=""
                                2)= K ^RCXV("AC",$E(X,1,30),DA)
                                This cross-reference tells the status of the batch.  



348.4,.04     BATCH TYPE             0;4 SET

                                'D' FOR DAILY; 
                                'H' FOR HISTORICAL; 
                                'A' FOR ACTIVE; 
                                'R' FOR DEPOSITS/RECEIPTS; 
                                'C' FOR CURRENT FY; 
                                'E' FOR FY 05; 
                                'P' FOR PRE-REGISTRATION; 
                                'B' FOR BUFFER; 
                                'I' FOR IB COPAY; 
              LAST EDITED:      JUL 18, 2006 
              DESCRIPTION:
                                This field contains the type of data contained in this batch.  

              TECHNICAL DESCR:
                                 


348.4,.05     BATCH SEQUENCE NUMBER  0;5 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      OCT 21, 2003 
              HELP-PROMPT:      Type a Number between 1 and 9999, 0 Decimal Digits 
              DESCRIPTION:      This field contains the sequence number of the batch where there may be more than one batch
                                transmitted in the daily transmission.  


348.4,.06     TOTAL BATCH SEQUENCE NUMBER 0;6 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      OCT 21, 2003 
              HELP-PROMPT:      Type a Number between 1 and 9999, 0 Decimal Digits 
              DESCRIPTION:
                                This field contains the total number of batches in a daily transmission.  


348.4,.07     NUMBER OF RECORDS      0;7 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>99999999999)!(X<0)!(X?.E1"."1N.N) X
              LAST EDITED:      JUL 16, 2003 
              HELP-PROMPT:      Type a Number between 0 and 99999999999, 0 Decimal Digits 
              DESCRIPTION:
                                This field will contain the number of records contained in this batch.  


348.4,.08     ACK RECEIVED DATE/TIME 0;8 DATE

              INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      JUL 16, 2003 
              DESCRIPTION:      This field will contain the date and time that the successful acknowledgement was received from the
                                Vitria server.  


348.4,.09     ARC ACK RECEIVED DATE/TIME 0;9 DATE

              INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
              LAST EDITED:      SEP 24, 2003 
              DESCRIPTION:      This field contains the date and time that the Boston Allocation Resource Center sent back an
                                acknowledgement that the data was loaded succesfully.  


348.4,.1      COPAY MONTH/YEAR       0;10 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:X<1 X
              LAST EDITED:      AUG 22, 2005 
              HELP-PROMPT:      Month and year for this transmission 
              DESCRIPTION:      If this batch is a Co-Pay Transmission, ("I" batch type), this field will hold the month/year that
                                the transmission is for.  


348.4,1.01    BILL NUMBER            1;0 POINTER Multiple #348.41 (Add New Entry without Asking)


348.41,.01      BILL NUMBER            0;1 POINTER TO ACCOUNTS RECEIVABLE FILE (#430) (Multiply asked)

                INPUT TRANSFORM:  S X=DINUM
                LAST EDITED:      JUL 23, 2003 
                DESCRIPTION:      This field will contain the IEN of the bill who was triggered to be processed for this BATCH
                                  DATE.  This field will be DINUM'd so there will not be any duplicates.  

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

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


348.41,.02      PATIENT                0;2 POINTER TO PATIENT FILE (#2)

                LAST EDITED:      JUL 22, 2003 
                DESCRIPTION:
                                  This is the patient associated with the bill.  




348.4,2.01    AR BATCH PAYMENT       2;0 POINTER Multiple #348.42


348.42,.01      AR BATCH PAYMENT       0;1 POINTER TO AR BATCH PAYMENT FILE (#344) (Multiply asked)

                INPUT TRANSFORM:  S DINUM=X Q
                LAST EDITED:      OCT 22, 2003 
                DESCRIPTION:      This field will contain any batch payments for a specific date.  It will be used to transmit
                                  information to the Boston Allocation Resource Center or re-transmit as needed.  

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

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




348.4,3.01    COPAY PATIENT          3;0 POINTER Multiple #348.43


348.43,.01      COPAY PATIENT          0;1 POINTER TO PATIENT FILE (#2)

                INPUT TRANSFORM:  S X=DINUM
                LAST EDITED:      AUG 29, 2005 
                HELP-PROMPT:      This is the patient's DFN 
                DESCRIPTION:      If this transmission is a Co-Pay transmission ("P" batch type), this field will contain the IEN
                                  of the patient whose data will be transmitted.  This field will be DINUMed, so there are no
                                  duplicates.  
                                   
                                  This field is populated from routine RCXVDC10.  

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

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




348.4,4       PRE-REGISTRATION MONTH/YEAR 4;1 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:X<1 X
              LAST EDITED:      AUG 22, 2005 
              HELP-PROMPT:      (No range limit on date) 
              DESCRIPTION:      If this batch is a Pre-registration transmission, ("P" batch type), this field will hold the
                                month/year that the transmission is for.  


348.4,5       INSURANCE BUFFER MONTH/YEAR 5;1 DATE

              INPUT TRANSFORM:  S %DT="E" D ^%DT S X=Y K:X<1 X
              LAST EDITED:      AUG 22, 2005 
              HELP-PROMPT:      (No range limit on date) 
              DESCRIPTION:      If this batch is a Buffer file transmission, ("B" batch type), this field will hold the month/year
                                that the transmission is for.  



      FILES POINTED TO                      FIELDS

ACCOUNTS RECEIVABLE (#430)        BILL NUMBER:BILL NUMBER (#.01)

AR BATCH PAYMENT (#344)           AR BATCH PAYMENT:AR BATCH PAYMENT (#.01)

PATIENT (#2)                      BILL NUMBER:PATIENT (#.02)
                                  COPAY PATIENT:COPAY PATIENT (#.01)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):