IBINI088 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(357.6) 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(357.6,5.01,21,0)
;;=^^3^3^2930528^
;;^DD(357.6,5.01,21,1,0)
;;=
;;^DD(357.6,5.01,21,2,0)
;;=This code will be executed after the interface routine is called.
;;^DD(357.6,5.01,21,3,0)
;;=The effect of the NEW done on the PROTECTED VARIABLES is still in effect.
;;^DD(357.6,5.01,"DT")
;;=2930518
;;^DD(357.6,6,0)
;;=PROTECTED LOCAL VARIABLES^357.66^^6;0
;;^DD(357.6,6,21,0)
;;=^^11^11^2930608^^
;;^DD(357.6,6,21,1,0)
;;=
;;^DD(357.6,6,21,2,0)
;;=This is a list of variables that should be newed before the entry action
;;^DD(357.6,6,21,3,0)
;;=or calling the interface routine. It is protection against interfaces that
;;^DD(357.6,6,21,4,0)
;;=alter or kill variables, or entry actions that do so. Note that REQUIRED
;;^DD(357.6,6,21,5,0)
;;=VARIABLES should not also be PROTECTED VARIABLES. If an interface routine
;;^DD(357.6,6,21,6,0)
;;=changes a required variable, however, there is a way to protect it.
;;^DD(357.6,6,21,7,0)
;;=Supposing, for example, DFN is killed by the interface. This will protect
;;^DD(357.6,6,21,8,0)
;;=it:
;;^DD(357.6,6,21,9,0)
;;= PROTECTED VARIABLE: IBDFN
;;^DD(357.6,6,21,10,0)
;;= ENTRY ACTION: S IBDFN=DFN
;;^DD(357.6,6,21,11,0)
;;= EXIT ACTION: S DFN=IBDFN
;;^DD(357.6,7,0)
;;=REQUIRED LOCAL VARIABLES^357.67^^7;0
;;^DD(357.6,7,21,0)
;;=^^4^4^2930528^
;;^DD(357.6,7,21,1,0)
;;=
;;^DD(357.6,7,21,2,0)
;;=The interface may require inputs. This field is a list of the required
;;^DD(357.6,7,21,3,0)
;;=local variables. The interface will not be called unless the variables are
;;^DD(357.6,7,21,4,0)
;;=determined to exist.
;;^DD(357.6,8.01,0)
;;=PIECE 1 NODE^F^^8;1^K:$L(X)>10!($L(X)<1) X
;;^DD(357.6,8.01,3)
;;=You can optionally specify the subscript to store the data.
;;^DD(357.6,8.01,21,0)
;;=^^1^1^2931014^
;;^DD(357.6,8.01,21,1,0)
;;=For record type data, the node of the field can be optionally specified.
;;^DD(357.6,8.01,"DT")
;;=2931014
;;^DD(357.6,8.02,0)
;;=PIECE 2 NODE^F^^8;2^K:$L(X)>10!($L(X)<1) X
;;^DD(357.6,8.02,3)
;;=You can optionally specify the subscript to store the data.
;;^DD(357.6,8.02,21,0)
;;=^^1^1^2931014^
;;^DD(357.6,8.02,21,1,0)
;;=For records you can optionally specify the node to store the field.
;;^DD(357.6,8.02,"DT")
;;=2931014
;;^DD(357.6,8.03,0)
;;=PIECE 3 NODE^F^^8;3^K:$L(X)>10!($L(X)<1) X
;;^DD(357.6,8.03,3)
;;=You can optionally specify the subscript to store the data.
;;^DD(357.6,8.03,21,0)
;;=^^1^1^2931014^
;;^DD(357.6,8.03,21,1,0)
;;=For record type data you can optionally specify the node to store the data.
;;^DD(357.6,8.03,"DT")
;;=2931014
;;^DD(357.6,8.04,0)
;;=PIECE 4 NODE^F^^8;4^K:$L(X)>10!($L(X)<1) X
;;^DD(357.6,8.04,3)
;;=You can optionally specify the subscript to store the data.
;;^DD(357.6,8.04,21,0)
;;=^^1^1^2931014^
;;^DD(357.6,8.04,21,1,0)
;;=For record type data you can optionally specify the node to store the field.
;;^DD(357.6,8.04,"DT")
;;=2931014
;;^DD(357.6,8.05,0)
;;=PIECE 5 NODE^F^^8;5^K:$L(X)>10!($L(X)<1) X
;;^DD(357.6,8.05,3)
;;=You can optionally specify the subscript to store the data.
;;^DD(357.6,8.05,21,0)
;;=^^1^1^2931014^
;;^DD(357.6,8.05,21,1,0)
;;=For record type data you can optionally specify the node to store the field.
;;^DD(357.6,8.05,"DT")
;;=2931014
;;^DD(357.6,8.06,0)
;;=PIECE 6 NODE^F^^8;6^K:$L(X)>10!($L(X)<1) X
;;^DD(357.6,8.06,3)
;;=You can optionally specify the subscript to store the data.
;;^DD(357.6,8.06,21,0)
;;=^^1^1^2931014^
;;^DD(357.6,8.06,21,1,0)
;;=For records you can optionally specify the node to store the field.
IBINI088 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(357.6)
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(357.6,5.01,21,0)
+2 ;;=^^3^3^2930528^
+3 ;;^DD(357.6,5.01,21,1,0)
+4 ;;=
+5 ;;^DD(357.6,5.01,21,2,0)
+6 ;;=This code will be executed after the interface routine is called.
+7 ;;^DD(357.6,5.01,21,3,0)
+8 ;;=The effect of the NEW done on the PROTECTED VARIABLES is still in effect.
+9 ;;^DD(357.6,5.01,"DT")
+10 ;;=2930518
+11 ;;^DD(357.6,6,0)
+12 ;;=PROTECTED LOCAL VARIABLES^357.66^^6;0
+13 ;;^DD(357.6,6,21,0)
+14 ;;=^^11^11^2930608^^
+15 ;;^DD(357.6,6,21,1,0)
+16 ;;=
+17 ;;^DD(357.6,6,21,2,0)
+18 ;;=This is a list of variables that should be newed before the entry action
+19 ;;^DD(357.6,6,21,3,0)
+20 ;;=or calling the interface routine. It is protection against interfaces that
+21 ;;^DD(357.6,6,21,4,0)
+22 ;;=alter or kill variables, or entry actions that do so. Note that REQUIRED
+23 ;;^DD(357.6,6,21,5,0)
+24 ;;=VARIABLES should not also be PROTECTED VARIABLES. If an interface routine
+25 ;;^DD(357.6,6,21,6,0)
+26 ;;=changes a required variable, however, there is a way to protect it.
+27 ;;^DD(357.6,6,21,7,0)
+28 ;;=Supposing, for example, DFN is killed by the interface. This will protect
+29 ;;^DD(357.6,6,21,8,0)
+30 ;;=it:
+31 ;;^DD(357.6,6,21,9,0)
+32 ;;= PROTECTED VARIABLE: IBDFN
+33 ;;^DD(357.6,6,21,10,0)
+34 ;;= ENTRY ACTION: S IBDFN=DFN
+35 ;;^DD(357.6,6,21,11,0)
+36 ;;= EXIT ACTION: S DFN=IBDFN
+37 ;;^DD(357.6,7,0)
+38 ;;=REQUIRED LOCAL VARIABLES^357.67^^7;0
+39 ;;^DD(357.6,7,21,0)
+40 ;;=^^4^4^2930528^
+41 ;;^DD(357.6,7,21,1,0)
+42 ;;=
+43 ;;^DD(357.6,7,21,2,0)
+44 ;;=The interface may require inputs. This field is a list of the required
+45 ;;^DD(357.6,7,21,3,0)
+46 ;;=local variables. The interface will not be called unless the variables are
+47 ;;^DD(357.6,7,21,4,0)
+48 ;;=determined to exist.
+49 ;;^DD(357.6,8.01,0)
+50 ;;=PIECE 1 NODE^F^^8;1^K:$L(X)>10!($L(X)<1) X
+51 ;;^DD(357.6,8.01,3)
+52 ;;=You can optionally specify the subscript to store the data.
+53 ;;^DD(357.6,8.01,21,0)
+54 ;;=^^1^1^2931014^
+55 ;;^DD(357.6,8.01,21,1,0)
+56 ;;=For record type data, the node of the field can be optionally specified.
+57 ;;^DD(357.6,8.01,"DT")
+58 ;;=2931014
+59 ;;^DD(357.6,8.02,0)
+60 ;;=PIECE 2 NODE^F^^8;2^K:$L(X)>10!($L(X)<1) X
+61 ;;^DD(357.6,8.02,3)
+62 ;;=You can optionally specify the subscript to store the data.
+63 ;;^DD(357.6,8.02,21,0)
+64 ;;=^^1^1^2931014^
+65 ;;^DD(357.6,8.02,21,1,0)
+66 ;;=For records you can optionally specify the node to store the field.
+67 ;;^DD(357.6,8.02,"DT")
+68 ;;=2931014
+69 ;;^DD(357.6,8.03,0)
+70 ;;=PIECE 3 NODE^F^^8;3^K:$L(X)>10!($L(X)<1) X
+71 ;;^DD(357.6,8.03,3)
+72 ;;=You can optionally specify the subscript to store the data.
+73 ;;^DD(357.6,8.03,21,0)
+74 ;;=^^1^1^2931014^
+75 ;;^DD(357.6,8.03,21,1,0)
+76 ;;=For record type data you can optionally specify the node to store the data.
+77 ;;^DD(357.6,8.03,"DT")
+78 ;;=2931014
+79 ;;^DD(357.6,8.04,0)
+80 ;;=PIECE 4 NODE^F^^8;4^K:$L(X)>10!($L(X)<1) X
+81 ;;^DD(357.6,8.04,3)
+82 ;;=You can optionally specify the subscript to store the data.
+83 ;;^DD(357.6,8.04,21,0)
+84 ;;=^^1^1^2931014^
+85 ;;^DD(357.6,8.04,21,1,0)
+86 ;;=For record type data you can optionally specify the node to store the field.
+87 ;;^DD(357.6,8.04,"DT")
+88 ;;=2931014
+89 ;;^DD(357.6,8.05,0)
+90 ;;=PIECE 5 NODE^F^^8;5^K:$L(X)>10!($L(X)<1) X
+91 ;;^DD(357.6,8.05,3)
+92 ;;=You can optionally specify the subscript to store the data.
+93 ;;^DD(357.6,8.05,21,0)
+94 ;;=^^1^1^2931014^
+95 ;;^DD(357.6,8.05,21,1,0)
+96 ;;=For record type data you can optionally specify the node to store the field.
+97 ;;^DD(357.6,8.05,"DT")
+98 ;;=2931014
+99 ;;^DD(357.6,8.06,0)
+100 ;;=PIECE 6 NODE^F^^8;6^K:$L(X)>10!($L(X)<1) X
+101 ;;^DD(357.6,8.06,3)
+102 ;;=You can optionally specify the subscript to store the data.
+103 ;;^DD(357.6,8.06,21,0)
+104 ;;=^^1^1^2931014^
+105 ;;^DD(357.6,8.06,21,1,0)
+106 ;;=For records you can optionally specify the node to store the field.