IBINI027 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
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
Q Q
;;^DD(350.8,.03,"DT")
;;=2920219
;;^DD(350.8,.04,0)
;;=PACKAGE REPORTING ERROR^S^1:INTEGRATED BILLING;2:ACCOUNTS RECEIVABLE;3:PHARMACY;^0;4^Q
;;^DD(350.8,.04,21,0)
;;=^^2^2^2920415^^^
;;^DD(350.8,.04,21,1,0)
;;=This is the package that requested this entry in this file and will
;;^DD(350.8,.04,21,2,0)
;;=report it to IB as an error if the conditions are detected.
;;^DD(350.8,.05,0)
;;=ERROR ACTION^S^1:DISPLAY MESSAGE;2:SEND BULLETIN;3:EDIT FILE;^0;5^Q
;;^DD(350.8,.05,21,0)
;;=^^6^6^2910227^
;;^DD(350.8,.05,21,1,0)
;;=This is the type of action that should be taken when this error is
;;^DD(350.8,.05,21,2,0)
;;=reported to IB. If action other than displaying a message is indicated
;;^DD(350.8,.05,21,3,0)
;;=then the MUMPS code in the ERROR ACTION field will be executed.
;;^DD(350.8,.05,21,4,0)
;;=
;;^DD(350.8,.05,21,5,0)
;;=Currently only display actions are implemented. Please contact the
;;^DD(350.8,.05,21,6,0)
;;=developing ISC if other action types are desired.
;;^DD(350.8,.06,0)
;;=CORRESPONDING ALERT^P354.5'^IBE(354.5,^0;6^Q
;;^DD(350.8,.06,21,0)
;;=^^1^1^2940209^
;;^DD(350.8,.06,21,1,0)
;;=This is the type of alert that should be sent when this error occurs.
;;^DD(350.8,.06,"DT")
;;=2930322
;;^DD(350.8,10,0)
;;=EXECUTABLE LOGIC^K^^10;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
;;^DD(350.8,10,3)
;;=This is Standard MUMPS code.
;;^DD(350.8,10,21,0)
;;=^^2^2^2910227^
;;^DD(350.8,10,21,1,0)
;;=This is the MUMPS code that will be executed if an error is reported
;;^DD(350.8,10,21,2,0)
;;=with an ERROR ACTION of other than to display a message.
IBINI027 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(350.8)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DD(350.8,.03,"DT")
+2 ;;=2920219
+3 ;;^DD(350.8,.04,0)
+4 ;;=PACKAGE REPORTING ERROR^S^1:INTEGRATED BILLING;2:ACCOUNTS RECEIVABLE;3:PHARMACY;^0;4^Q
+5 ;;^DD(350.8,.04,21,0)
+6 ;;=^^2^2^2920415^^^
+7 ;;^DD(350.8,.04,21,1,0)
+8 ;;=This is the package that requested this entry in this file and will
+9 ;;^DD(350.8,.04,21,2,0)
+10 ;;=report it to IB as an error if the conditions are detected.
+11 ;;^DD(350.8,.05,0)
+12 ;;=ERROR ACTION^S^1:DISPLAY MESSAGE;2:SEND BULLETIN;3:EDIT FILE;^0;5^Q
+13 ;;^DD(350.8,.05,21,0)
+14 ;;=^^6^6^2910227^
+15 ;;^DD(350.8,.05,21,1,0)
+16 ;;=This is the type of action that should be taken when this error is
+17 ;;^DD(350.8,.05,21,2,0)
+18 ;;=reported to IB. If action other than displaying a message is indicated
+19 ;;^DD(350.8,.05,21,3,0)
+20 ;;=then the MUMPS code in the ERROR ACTION field will be executed.
+21 ;;^DD(350.8,.05,21,4,0)
+22 ;;=
+23 ;;^DD(350.8,.05,21,5,0)
+24 ;;=Currently only display actions are implemented. Please contact the
+25 ;;^DD(350.8,.05,21,6,0)
+26 ;;=developing ISC if other action types are desired.
+27 ;;^DD(350.8,.06,0)
+28 ;;=CORRESPONDING ALERT^P354.5'^IBE(354.5,^0;6^Q
+29 ;;^DD(350.8,.06,21,0)
+30 ;;=^^1^1^2940209^
+31 ;;^DD(350.8,.06,21,1,0)
+32 ;;=This is the type of alert that should be sent when this error occurs.
+33 ;;^DD(350.8,.06,"DT")
+34 ;;=2930322
+35 ;;^DD(350.8,10,0)
+36 ;;=EXECUTABLE LOGIC^K^^10;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
+37 ;;^DD(350.8,10,3)
+38 ;;=This is Standard MUMPS code.
+39 ;;^DD(350.8,10,21,0)
+40 ;;=^^2^2^2910227^
+41 ;;^DD(350.8,10,21,1,0)
+42 ;;=This is the MUMPS code that will be executed if an error is reported
+43 ;;^DD(350.8,10,21,2,0)
+44 ;;=with an ERROR ACTION of other than to display a message.