STANDARD DATA DICTIONARY #9002313.91 -- BPS NCPDP FIELD DEFS FILE                                                 3/24/25    PAGE 1
STORED IN ^BPSF(9002313.91,  (525 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                              (VERSION 1.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
The NCPDP Data Dictionary Individual fields which combine into formatted packets.  
 
Per VHA Directive 2004-038, this file definition should not be modified.  


              DD ACCESS: @
              RD ACCESS: Pp
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @
IDENTIFIED BY: NAME (#.03)

POINTED TO BY: NCPDP FIELD # field (#.01) of the NCPDP FIELD # sub-field (#9002313.311) of the BPS CERTIFICATION File (#9002313.31) 
               NCPDP FIELD # field (#.01) of the NCPDP FIELD # sub-field (#9002313.3121) of the RX IN POSITION # sub-field 
                   (#9002313.312) of the BPS CERTIFICATION File (#9002313.31) 
               NCPDP FIELD field (#.01) of the NCPDP FIELD sub-field (#9002313.5111) of the BPS NCPDP OVERRIDE File (#9002313.511) 
               ADDL NCPDP FIELD field (#.01) of the ADDL NCPDP FIELD sub-field (#9002313.5112) of the BPS NCPDP OVERRIDE File 
                   (#9002313.511) 
               NCPDP FIELD NUMBER field (#.02) of the TRANSACTION HEADER SEGMENT sub-field (#9002313.9205) of the BPS NCPDP FORMATS 
                   File (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the PATIENT SEGMENT sub-field (#9002313.9206) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the INSURANCE SEGMENT sub-field (#9002313.9207) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the CLAIM SEGMENT sub-field (#9002313.9208) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the PHARMACY PROVIDER SEGMENT sub-field (#9002313.9209) of the BPS NCPDP FORMATS 
                   File (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the PRESCRIBER SEGMENT sub-field (#9002313.921) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the COB OTHER PAYMENTS SEGMENT sub-field (#9002313.9213) of the BPS NCPDP FORMATS 
                   File (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the WORKERS COMP SEGMENT sub-field (#9002313.9214) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the DUR PPS SEGMENT sub-field (#9002313.9215) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the PRICING SEGMENT sub-field (#9002313.9216) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the COUPON SEGMENT sub-field (#9002313.9217) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the COMPOUND SEGMENT sub-field (#9002313.9218) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the PRIOR AUTH SEGMENT sub-field (#9002313.9219) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the CLINICAL SEGMENT sub-field (#9002313.922) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the ADDL DOC SEGMENT sub-field (#9002313.9223) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the FACILITY SEGMENT sub-field (#9002313.9224) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the NARRATIVE SEGMENT sub-field (#9002313.9225) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the PURCHASER SEGMENT sub-field (#9002313.9227) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the SERVICE PROVIDER SEGMENT sub-field (#9002313.9228) of the BPS NCPDP FORMATS 
                   File (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the INTERMEDIARY SEGMENT sub-field (#9002313.9229) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               NCPDP FIELD NUMBER field (#.02) of the LAST KNOWN 4RX SEGMENT sub-field (#9002313.923) of the BPS NCPDP FORMATS File 
                   (#9002313.92) 
               

CROSS
REFERENCED BY: REQUEST SEGMENT(AC), RESPONSE SEGMENT(AD), NCPDP FIELD NUMBER(B), NAME(C), ID(D)

    LAST MODIFIED: AUG 8,2022@17:12:09

9002313.91,.01NCPDP FIELD NUMBER     0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>6!($L(X)<3) X
              LAST EDITED:      FEB 27, 2017 
              HELP-PROMPT:      Enter the NCPDP field number (either 0-997, 2 Decimal Digits or 3 Alphanumerics). 
              DESCRIPTION:
                                This is the NCPDP field number as specified in the NCPDP data dictionary.  

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

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


9002313.91,.03NAME                   0;3 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
              LAST EDITED:      DEC 27, 2007 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                Descriptive name the tells what the field is within the pharmacy environment.  

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


9002313.91,.04FORMAT                 0;4 SET

                                'N' FOR NUMERIC; 
                                'A/N' FOR ALPHA/NUMERIC; 
                                'D' FOR SIGNED NUMERIC; 
              LAST EDITED:      DEC 27, 2007 
              HELP-PROMPT:      Enter the field's format type. 
              DESCRIPTION:
                                This is the format of the field used within the NCPDP standard.  


9002313.91,.06ID                     5;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>2!($L(X)<2) X
              LAST EDITED:      DEC 27, 2007 
              HELP-PROMPT:      Answer must be 2 characters in length. 
              DESCRIPTION:      The same as the .02 field, but for specific use when creating 5.1 claims.  The 5.1 fields were
                                separated because 3.x and 5.1 claims were being submitted concurrently.  

              CROSS-REFERENCE:  9002313.91^D 
                                1)= S ^BPSF(9002313.91,"D",$E(X,1,30),DA)=""
                                2)= K ^BPSF(9002313.91,"D",$E(X,1,30),DA)
                                Cross reference of the 5.1 Field ID.  This cross reference will be used in the processing of the
                                response as a means of translating the value to a field number.  



9002313.91,.07LENGTH                 5;2 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      DEC 27, 2007 
              HELP-PROMPT:      Type a number between 1 and 9999, 0 Decimal Digits 
              DESCRIPTION:
                                Length of the field from the 5.1 NCPDP standard.  


9002313.91,.08D0 LENGTH              0;8 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      OCT 14, 2010 
              HELP-PROMPT:      Enter the length of the NCPDP field per the NCPDP data dictionary (1-999). 
              DESCRIPTION:      This is the NCPDP length as specified in the NCPDP Telecommunication Standard version D.0 data
                                dictionary.  


9002313.91,.09D0 FORMAT              0;9 SET

                                'N' FOR NUMERIC; 
                                'A/N' FOR ALPHANUMERIC; 
                                'D' FOR SIGNED NUMERIC; 
              LAST EDITED:      OCT 14, 2010 
              HELP-PROMPT:      Enter the data type for the field based on the NCPDP data dictionary. 
              DESCRIPTION:      This is the NCPDP data type as specified in the NCPDP Telecommunication Standard version D.0 data
                                dictionary.  


9002313.91,1  VISTA FIELD NUMBER     5;3 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>2999)!(X<1001)!(X?.E1"."1.N) X
              LAST EDITED:      APR 24, 2013 
              HELP-PROMPT:      Type a number between 1001 and 2999, 0 decimal digits. 
              DESCRIPTION:      This is the VistA field number used in BPS CLAIMS file #9002313.02 and BPS RESPONSES file
                                #9002313.03. Only used for NCPDP numbers where the first piece of the NCPDP number is non-numeric.  
                                 
                                For example, NCPDP field B04-BT - Next Available Fill Date.  


9002313.91,1.01STANDARD NCPDP FIELD NAME 1;1 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>100!($L(X)<1) X
              LAST EDITED:      JUL 06, 2011 
              HELP-PROMPT:      Enter the full NCPDP field name based on the NCPDP data dictionary (1-100 characters). 
              DESCRIPTION:      This field is used for those NCPDP field names that were too long to fit in the NAME (#.03) field. 
                                For those fields, this field will have the full NCPDP field name.  


9002313.91,2  REQUEST SEGMENT        5;4 POINTER TO BPS NCPDP SEGMENTS FILE (#9002313.9)

              LAST EDITED:      NOV 02, 2017 
              HELP-PROMPT:      Select the Request Segment which this field would appear on. 
              DESCRIPTION:      This data field indicates the segment of a claim request on which this NCPDP field would appear. 
                                If this NCPDP field appears only on the incoming response, then this field would remain blank.  

              CROSS-REFERENCE:  9002313.91^AC 
                                1)= S ^BPSF(9002313.91,"AC",$E(X,1,30),DA)=""
                                2)= K ^BPSF(9002313.91,"AC",$E(X,1,30),DA)
                                This cross-reference lists each field by its REQUEST SEGMENT.  



9002313.91,3  RESPONSE SEGMENT       5;5 POINTER TO BPS NCPDP SEGMENTS FILE (#9002313.9)

              LAST EDITED:      NOV 02, 2017 
              HELP-PROMPT:      Select the Response Segment which this field would appear on. 
              DESCRIPTION:      This data field indicates the segment of a claim response on which this NCPDP field would appear. 
                                If this NCPDP field appears only on the outgoing claim request, then this field would remain blank.  

              CROSS-REFERENCE:  9002313.91^AD 
                                1)= S ^BPSF(9002313.91,"AD",$E(X,1,30),DA)=""
                                2)= K ^BPSF(9002313.91,"AD",$E(X,1,30),DA)
                                This cross-reference lists each field by its RESPONSE SEGMENT.  



9002313.91,10 GET CODE               10;0   WORD-PROCESSING #9002313.9101   (NOWRAP)

              LAST EDITED:      DEC 27, 2007 
              HELP-PROMPT:      Enter the M code to extract the data for this field. 
              DESCRIPTION:
                                M code that tells the BPS system where to find the particular piece of data for this field.  

              WRITE AUTHORITY:  @

                LAST EDITED:      DEC 27, 2007 
                HELP-PROMPT:      Enter the M code to extract the data for this field. 
                WRITE AUTHORITY:  @



9002313.91,20 D0 FORMAT CODE         20;0   WORD-PROCESSING #9002313.9102   (NOWRAP)   (IGNORE "|")

              LAST EDITED:      OCT 05, 2010 
              DESCRIPTION:      This field holds the M code used to format the data according to the specifications of the NCPDP
                                Telecommunication Standard version D.0 data dictionary.  For instance, alphanumeric fields are
                                right-padded with spaces up to the length of the specified by the NCPDP standard.  

              WRITE AUTHORITY:  @

                LAST EDITED:      OCT 14, 2010 



9002313.91,30 SET CODE               30;0   WORD-PROCESSING #9002313.9103   (NOWRAP)

              LAST EDITED:      DEC 27, 2007 
              HELP-PROMPT:      Enter the M code for the field's data storage. 
              DESCRIPTION:
                                M code to store the data in the appropriate segment within the claim.  

              WRITE AUTHORITY:  @

                LAST EDITED:      DEC 27, 2007 
                HELP-PROMPT:      Enter the M code for the field's data storage. 
                WRITE AUTHORITY:  @



9002313.91,40 FORMAT CODE            25;0   WORD-PROCESSING #9002313.9104   (NOWRAP)

              LAST EDITED:      DEC 27, 2007 
              HELP-PROMPT:      Enter the M code to format the data in NCPDP format. 
              DESCRIPTION:      M code to format the data before storing it in the claim.  5.1 was separate because 3.2 and 5.1
                                claims were being submitted at the same time.  

              WRITE AUTHORITY:  @

                LAST EDITED:      DEC 27, 2007 
                HELP-PROMPT:      Enter the M code to format the data in NCPDP format. 
                WRITE AUTHORITY:  @




      FILES POINTED TO                      FIELDS

BPS NCPDP SEGMENTS (#9002313.9)   REQUEST SEGMENT (#2)
                                  RESPONSE SEGMENT (#3)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):