STANDARD DATA DICTIONARY #350.8 -- IB ERROR FILE                                                                  6/27/25    PAGE 1
STORED IN ^IBE(350.8,  (415 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                    (VERSION 2.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains errors for billing functions.  It may be used by applications, IB or AR.  The normal format for a routine to
return an error is to return the variable: 
  Y=1^... a successful event occured 
  Y=-1^error code[;error code;error code...]^additional text The error messages can be displayed by calling routine ^IBAERR.  If 
the error occurs in a tasked job ($D(ZTQUEUED)'=0) the routine will put the error message in a bulletin and post it to the group
defined in the IB SITE PARAMETER FILE.  
 
Per VHA Directive 10-93-142, this file definition should not be modified.  


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

POINTED TO BY: AUTO PROCESS REASON field (#36) of the BILL/CLAIMS File (#399) 
               

CROSS
REFERENCED BY: ERROR CODE(AC), NAME(B), ERROR CODE(C)



350.8,.01     NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
              HELP-PROMPT:      NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION 
              DESCRIPTION:      This is a free text name of the entry.  It should be namespaced with the namespace of the package
                                reporting the error.  

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


350.8,.02     ERROR MESSAGE          0;2 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>80!($L(X)<3) X
              HELP-PROMPT:      Answer must be 3-80 characters in length. 
              DESCRIPTION:      This is the text of the message as it will be displayed to a user or posted in a bulletin.  It
                                should be as meaningful as possible to the person seeing the message.  


350.8,.03     ERROR CODE             0;3 FREE TEXT

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>9!($L(X)<1) X
              LAST EDITED:      FEB 19, 1992 
              HELP-PROMPT:      Answer must be 1-9 characters in length. 
              DESCRIPTION:      This is the error code that will be passed to or determined by Integrated Billing.  The format for
                                the Error Code should be nnxxx, where nn is the reporting package namespace and xxx are numeric 
                                values.  
                                 
                                This is the error code that will be passed as the second piece of the variable Y to IB when +Y=-1. 
                                More than one error code can be placed in the second ^ piece of Y delimited by semi-colons. 
                                Applications may call ^IBAERR to display the error message(s).  

              CROSS-REFERENCE:  350.8^AC 
                                1)= S ^IBE(350.8,"AC",$E(X,1,30),DA)=""
                                2)= K ^IBE(350.8,"AC",$E(X,1,30),DA)

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


350.8,.04     PACKAGE REPORTING ERROR 0;4 SET

                                '1' FOR INTEGRATED BILLING; 
                                '2' FOR ACCOUNTS RECEIVABLE; 
                                '3' FOR PHARMACY; 
              DESCRIPTION:      This is the package that requested this entry in this file and will report it to IB as an error if
                                the conditions are detected.  


350.8,.05     ERROR ACTION           0;5 SET

                                '1' FOR DISPLAY MESSAGE; 
                                '2' FOR SEND BULLETIN; 
                                '3' FOR EDIT FILE; 
              DESCRIPTION:      This is the type of action that should be taken when this error is reported to IB.  If action other
                                than displaying a message is indicated then the MUMPS code in the ERROR ACTION field will be
                                executed.  
                                 
                                Currently only display actions are implemented.  Please contact the developing ISC if other action
                                types are desired.  


350.8,.06     CORRESPONDING ALERT    0;6 POINTER TO BILLING ALERT DEFINITION FILE (#354.5)

              LAST EDITED:      MAR 22, 1993 
              DESCRIPTION:
                                This is the type of alert that should be sent when this error occurs.  


350.8,10      EXECUTABLE LOGIC       10;E1,245 MUMPS

              INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
              HELP-PROMPT:      This is Standard MUMPS code. 
              DESCRIPTION:      This is the MUMPS code that will be executed if an error is reported with an ERROR ACTION of other
                                than to display a message.  



      FILES POINTED TO                      FIELDS

BILLING ALERT DEFINITION 
                   (#354.5)       CORRESPONDING ALERT (#.06)



INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):