Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: IBINI026

IBINI026.m

Go to the documentation of this file.
  1. IBINI026 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(350.8) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
  1. Q Q
  1. ;;^DIC(350.8,0,"GL")
  1. ;;=^IBE(350.8,
  1. ;;^DIC("B","IB ERROR",350.8)
  1. ;;=
  1. ;;^DIC(350.8,"%D",0)
  1. ;;=^^11^11^2940214^^^^
  1. ;;^DIC(350.8,"%D",1,0)
  1. ;;=This file contains errors for billing functions. It may be used by
  1. ;;^DIC(350.8,"%D",2,0)
  1. ;;=applications, IB or AR. The normal format for a routine to return
  1. ;;^DIC(350.8,"%D",3,0)
  1. ;;=an error is to return the variable:
  1. ;;^DIC(350.8,"%D",4,0)
  1. ;;= Y=1^... a successful event occured
  1. ;;^DIC(350.8,"%D",5,0)
  1. ;;= Y=-1^error code[;error code;error code...]^additional text
  1. ;;^DIC(350.8,"%D",6,0)
  1. ;;=The error messages can be displayed by calling routine ^IBAERR. If
  1. ;;^DIC(350.8,"%D",7,0)
  1. ;;=the error occurs in a tasked job ($D(ZTQUEUED)'=0) the routine will
  1. ;;^DIC(350.8,"%D",8,0)
  1. ;;=put the error message in a bulletin and post it to the group defined
  1. ;;^DIC(350.8,"%D",9,0)
  1. ;;=in the IB SITE PARAMETER FILE.
  1. ;;^DIC(350.8,"%D",10,0)
  1. ;;=
  1. ;;^DIC(350.8,"%D",11,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(350.8,0)
  1. ;;=FIELD^^10^7
  1. ;;^DD(350.8,0,"DDA")
  1. ;;=N
  1. ;;^DD(350.8,0,"DT")
  1. ;;=2930322
  1. ;;^DD(350.8,0,"ID",.03)
  1. ;;=W " ",$P(^(0),U,3)
  1. ;;^DD(350.8,0,"IX","AC",350.8,.03)
  1. ;;=
  1. ;;^DD(350.8,0,"IX","B",350.8,.01)
  1. ;;=
  1. ;;^DD(350.8,0,"IX","C",350.8,.03)
  1. ;;=
  1. ;;^DD(350.8,0,"NM","IB ERROR")
  1. ;;=
  1. ;;^DD(350.8,.01,0)
  1. ;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
  1. ;;^DD(350.8,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(350.8,.01,1,1,0)
  1. ;;=350.8^B
  1. ;;^DD(350.8,.01,1,1,1)
  1. ;;=S ^IBE(350.8,"B",$E(X,1,30),DA)=""
  1. ;;^DD(350.8,.01,1,1,2)
  1. ;;=K ^IBE(350.8,"B",$E(X,1,30),DA)
  1. ;;^DD(350.8,.01,3)
  1. ;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
  1. ;;^DD(350.8,.01,21,0)
  1. ;;=^^2^2^2910305^^
  1. ;;^DD(350.8,.01,21,1,0)
  1. ;;=This is a free text name of the entry. It should be namespaced with
  1. ;;^DD(350.8,.01,21,2,0)
  1. ;;=the namespace of the package reporting the error.
  1. ;;^DD(350.8,.02,0)
  1. ;;=ERROR MESSAGE^F^^0;2^K:$L(X)>80!($L(X)<3) X
  1. ;;^DD(350.8,.02,3)
  1. ;;=Answer must be 3-80 characters in length.
  1. ;;^DD(350.8,.02,21,0)
  1. ;;=^^3^3^2940209^^^^
  1. ;;^DD(350.8,.02,21,1,0)
  1. ;;=This is the text of the message as it will be displayed to a user or
  1. ;;^DD(350.8,.02,21,2,0)
  1. ;;=posted in a bulletin. It should be as meaningful as possible to the
  1. ;;^DD(350.8,.02,21,3,0)
  1. ;;=person seeing the message.
  1. ;;^DD(350.8,.03,0)
  1. ;;=ERROR CODE^F^^0;3^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>9!($L(X)<1) X
  1. ;;^DD(350.8,.03,1,0)
  1. ;;=^.1
  1. ;;^DD(350.8,.03,1,1,0)
  1. ;;=350.8^AC
  1. ;;^DD(350.8,.03,1,1,1)
  1. ;;=S ^IBE(350.8,"AC",$E(X,1,30),DA)=""
  1. ;;^DD(350.8,.03,1,1,2)
  1. ;;=K ^IBE(350.8,"AC",$E(X,1,30),DA)
  1. ;;^DD(350.8,.03,1,2,0)
  1. ;;=350.8^C
  1. ;;^DD(350.8,.03,1,2,1)
  1. ;;=S ^IBE(350.8,"C",$E(X,1,30),DA)=""
  1. ;;^DD(350.8,.03,1,2,2)
  1. ;;=K ^IBE(350.8,"C",$E(X,1,30),DA)
  1. ;;^DD(350.8,.03,3)
  1. ;;=Answer must be 1-9 characters in length.
  1. ;;^DD(350.8,.03,21,0)
  1. ;;=^^9^9^2920219^^^^
  1. ;;^DD(350.8,.03,21,1,0)
  1. ;;=This is the error code that will be passed to or determined by
  1. ;;^DD(350.8,.03,21,2,0)
  1. ;;=Integrated Billing. The format for the Error Code should be
  1. ;;^DD(350.8,.03,21,3,0)
  1. ;;=nnxxx, where nn is the reporting package namespace and xxx are numeric
  1. ;;^DD(350.8,.03,21,4,0)
  1. ;;=values.
  1. ;;^DD(350.8,.03,21,5,0)
  1. ;;=
  1. ;;^DD(350.8,.03,21,6,0)
  1. ;;=This is the error code that will be passed as the second piece of
  1. ;;^DD(350.8,.03,21,7,0)
  1. ;;=the variable Y to IB when +Y=-1. More than one error code can be
  1. ;;^DD(350.8,.03,21,8,0)
  1. ;;=placed in the second ^ piece of Y delimited by semi-colons. Applications
  1. ;;^DD(350.8,.03,21,9,0)
  1. ;;=may call ^IBAERR to display the error message(s).