STANDARD DATA DICTIONARY #58.812 -- DA UPLOAD FILE                                                                6/27/25    PAGE 1
STORED IN ^PSD(58.812,  (1 ENTRY)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                       (VERSION 3.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains Supply Items and Order Units used in matching uploaded Prime Vendor invoice data.  
 
The user inputs the name of a supply item and the item's corresponding Vendor Stock Number (VSN). When an item is uploaded from the
vendor, the Drug Accountability software attempts to identify the item by the NDC.  If a match cannot be found, the entries in this
file will be checked.  By storing the supply items, the user does not have to identify the item on the invoice as a supply item
each time it is uploaded. 
 
The Prime Vendor ships drugs in a variety of order unit sizes. In some instances, the order unit on a invoiced item does not match
the order unit in the facility's files. When this occurs the user has to perform a manual match on the item.  
 
By entering the order unit sent by the Prime Vendor to the order unit in VISTA, the matching can be performed automatically during
the upload process.  



CROSS
REFERENCED BY: PRIME VENDOR(B)



58.812,.01    PRIME VENDOR           0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      SEP 29, 2000 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                 This field identifies the sender of the invoice data.  

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


58.812,1      SUPPLY ITEM            SUP;0 Multiple #58.8121 (Add New Entry without Asking)


58.8121,.01     SUPPLY ITEM            0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>60!($L(X)<3) X
                LAST EDITED:      SEP 29, 2000 
                HELP-PROMPT:      Answer must be 3-60 characters in length. 
                DESCRIPTION:       This multiple contains a list of items transported from the Prime Vendor 
                                   to VISTA as supply items. This field has a corresponding entry in the 
                                   VSN field. During uploading/processing of invoices, line items uploaded 
                                   from the invoice are compared against the values stored here. By matching 
                                   these items automatically, the processing time is greatly reduced.  

                CROSS-REFERENCE:  58.8121^B 
                                  1)= S ^PSD(58.812,DA(1),"SUP","B",$E(X,1,30),DA)=""
                                  2)= K ^PSD(58.812,DA(1),"SUP","B",$E(X,1,30),DA)


58.8121,1       VSN                    0;2 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>15!($L(X)<1) X
                LAST EDITED:      SEP 29, 2000 
                HELP-PROMPT:      Answer must be 1-15 characters in length. 
                DESCRIPTION:       This Vendor Stock Number (VSN) is matched to the Supply Item field. During 
                                   the upload/processing of invoice data, if an item cannot be located in 
                                   VISTA according to the NDC, this field is checked for a match. This 
                                   automatic matching of items greatly decreases the amount of time needed 
                                   to process invoices.  




58.812,2      ORDER UNIT             OU;0 Multiple #58.8122 (Add New Entry without Asking)


58.8122,.01     VENDOR ORDER UNIT      0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>10!($L(X)<1) X
                LAST EDITED:      SEP 29, 2000 
                HELP-PROMPT:      Please enter the order unit provided by the vendor 
                DESCRIPTION:       This field contains the order unit as provided by the Prime Vendor on 
                                   invoices transmitted to VISTA. Because of the large number of order 
                                   units available to the Prime Vendor, conversions need to be performed 
                                   to successfully process invoices.  

                CROSS-REFERENCE:  58.8122^B 
                                  1)= S ^PSD(58.812,DA(1),"OU","B",$E(X,1,30),DA)=""
                                  2)= K ^PSD(58.812,DA(1),"OU","B",$E(X,1,30),DA)


58.8122,1       MATCHED ORDER UNIT     0;2 POINTER TO ORDER UNIT FILE (#51.5)

                LAST EDITED:      SEP 29, 2000 
                DESCRIPTION:
                                   This is the corresponding order unit.  


58.8122,2       ITEM NUMBER            0;3 NUMBER

                INPUT TRANSFORM:  K:+X'=X!(X>99999999)!(X<0)!(X?.E1"."1N.N) X
                LAST EDITED:      JAN 03, 2001 
                HELP-PROMPT:      Type a Number between 0 and 99999999, 0 Decimal Digits 



58.812,3      BACK GROUND JOB        T;0 Multiple #58.8123 (Add New Entry without Asking)


58.8123,.01     BACK GROUND JOB        0;1 FREE TEXT

                INPUT TRANSFORM:  K:$L(X)>40!($L(X)<3) X
                LAST EDITED:      SEP 29, 2000 
                HELP-PROMPT:      Answer must be 3-40 characters in length. 
                DESCRIPTION:       This field will contain a set of dates to use as parameters for 
                                   obtaining dispensing data.  

                CROSS-REFERENCE:  58.8123^B 
                                  1)= S ^PSD(58.812,DA(1),"T","B",$E(X,1,30),DA)=""
                                  2)= K ^PSD(58.812,DA(1),"T","B",$E(X,1,30),DA)


58.8123,1       BEGIN DATE             0;2 DATE

                INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      SEP 29, 2000 
                DESCRIPTION:
                                  This is how far back the background job will look for data 


58.8123,2       STOP DATE              0;3 DATE

                INPUT TRANSFORM:  S %DT="ESTX" D ^%DT S X=Y K:Y<1 X
                LAST EDITED:      SEP 29, 2000 
                DESCRIPTION:
                                   This is the date the report will stop searching for data.  





      FILES POINTED TO                      FIELDS

ORDER UNIT (#51.5)                ORDER UNIT:MATCHED ORDER UNIT (#1)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):