IBDEI01I ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(358.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(358.6,3,21,3,0)
;;=assist the user in located the package interface he needs to display a
;;^DD(358.6,3,21,4,0)
;;=particular item of data to a form.
;;^DD(358.6,3,"DT")
;;=2930726
;;^DD(358.6,4.01,0)
;;=ENTRY ACTION^K^^4;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
;;^DD(358.6,4.01,3)
;;=This is Standard MUMPS code.
;;^DD(358.6,4.01,9)
;;=@
;;^DD(358.6,4.01,21,0)
;;=^^3^3^2930527^
;;^DD(358.6,4.01,21,1,0)
;;=
;;^DD(358.6,4.01,21,2,0)
;;=This code will be executed after the PROTECTED VARIABLES are newed, but
;;^DD(358.6,4.01,21,3,0)
;;=before the interface routine is called.
;;^DD(358.6,4.01,"DT")
;;=2930521
;;^DD(358.6,5.01,0)
;;=EXIT ACTION^K^^5;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
;;^DD(358.6,5.01,3)
;;=This is Standard MUMPS code.
;;^DD(358.6,5.01,9)
;;=@
;;^DD(358.6,5.01,21,0)
;;=^^3^3^2930528^
;;^DD(358.6,5.01,21,1,0)
;;=
;;^DD(358.6,5.01,21,2,0)
;;=This code will be executed after the interface routine is called.
;;^DD(358.6,5.01,21,3,0)
;;=The effect of the NEW done on the PROTECTED VARIABLES is still in effect.
;;^DD(358.6,5.01,"DT")
;;=2930518
;;^DD(358.6,6,0)
;;=PROTECTED LOCAL VARIABLES^358.66^^6;0
;;^DD(358.6,6,21,0)
;;=^^11^11^2930608^^
;;^DD(358.6,6,21,1,0)
;;=
;;^DD(358.6,6,21,2,0)
;;=This is a list of variables that should be newed before the entry action
;;^DD(358.6,6,21,3,0)
;;=or calling the interface routine. It is protection against interfaces that
;;^DD(358.6,6,21,4,0)
;;=alter or kill variables, or entry actions that do so. Note that REQUIRED
;;^DD(358.6,6,21,6,0)
;;=changes a required variable, however, there is a way to protect it.
;;^DD(358.6,6,21,7,0)
;;=Supposing, for example, DFN is killed by the interface. This will protect
;;^DD(358.6,6,21,8,0)
;;=it:
;;^DD(358.6,6,21,9,0)
;;= PROTECTED VARIABLE: IBDFN
;;^DD(358.6,6,21,10,0)
;;= ENTRY ACTION: S IBDFN=DFN
;;^DD(358.6,6,21,11,0)
;;= EXIT ACTION: S DFN=IBDFN
;;^DD(358.6,7,0)
;;=REQUIRED LOCAL VARIABLES^358.67^^7;0
;;^DD(358.6,7,21,0)
;;=^^4^4^2930528^
;;^DD(358.6,7,21,1,0)
;;=
;;^DD(358.6,7,21,2,0)
;;=The interface may require inputs. This field is a list of the required
;;^DD(358.6,7,21,3,0)
;;=local variables. The interface will not be called unless the variables are
;;^DD(358.6,7,21,4,0)
;;=determined to exist.
;;^DD(358.6,8.01,0)
;;=PIECE 1 NODE^F^^8;1^K:$L(X)>10!($L(X)<1) X
;;^DD(358.6,8.01,3)
;;=Answer must be 1-10 characters in length.
;;^DD(358.6,8.01,"DT")
;;=2931203
;;^DD(358.6,8.02,0)
;;=PIECE 2 NODE^F^^8;2^K:$L(X)>10!($L(X)<1) X
;;^DD(358.6,8.02,3)
;;=Answer must be 1-10 characters in length.
;;^DD(358.6,8.02,"DT")
;;=2931203
;;^DD(358.6,8.03,0)
;;=PIECE 3 NODE^F^^8;3^K:$L(X)>10!($L(X)<1) X
;;^DD(358.6,8.03,3)
;;=Answer must be 1-10 characters in length.
;;^DD(358.6,8.03,"DT")
;;=2931203
;;^DD(358.6,8.04,0)
;;=PIECE 4 NODE^F^^8;4^K:$L(X)>10!($L(X)<1) X
;;^DD(358.6,8.04,3)
;;=Answer must be 1-10 characters in length.
;;^DD(358.6,8.04,"DT")
;;=2931203
;;^DD(358.6,8.05,0)
;;=PIECE 5 NODE^F^^8;5^K:$L(X)>10!($L(X)<1) X
;;^DD(358.6,8.05,3)
;;=Answer must be 1-10 characters in length.
;;^DD(358.6,8.05,"DT")
;;=2931203
;;^DD(358.6,8.06,0)
;;=PIECE 6 NODE^F^^8;6^K:$L(X)>10!($L(X)<1) X
;;^DD(358.6,8.06,3)
;;=Answer must be 1-10 characters in length.
;;^DD(358.6,8.06,"DT")
;;=2931203
;;^DD(358.6,8.07,0)
;;=PIECE 7 NODE^F^^8;7^K:$L(X)>10!($L(X)<1) X
;;^DD(358.6,8.07,3)
;;=Answer must be 1-10 characters in length.
;;^DD(358.6,8.07,"DT")
;;=2931203
;;^DD(358.61,0)
;;=DESCRIPTION SUB-FIELD^^.01^1
IBDEI01I ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(358.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(358.6,3,21,3,0)
+2 ;;=assist the user in located the package interface he needs to display a
+3 ;;^DD(358.6,3,21,4,0)
+4 ;;=particular item of data to a form.
+5 ;;^DD(358.6,3,"DT")
+6 ;;=2930726
+7 ;;^DD(358.6,4.01,0)
+8 ;;=ENTRY ACTION^K^^4;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
+9 ;;^DD(358.6,4.01,3)
+10 ;;=This is Standard MUMPS code.
+11 ;;^DD(358.6,4.01,9)
+12 ;;=@
+13 ;;^DD(358.6,4.01,21,0)
+14 ;;=^^3^3^2930527^
+15 ;;^DD(358.6,4.01,21,1,0)
+16 ;;=
+17 ;;^DD(358.6,4.01,21,2,0)
+18 ;;=This code will be executed after the PROTECTED VARIABLES are newed, but
+19 ;;^DD(358.6,4.01,21,3,0)
+20 ;;=before the interface routine is called.
+21 ;;^DD(358.6,4.01,"DT")
+22 ;;=2930521
+23 ;;^DD(358.6,5.01,0)
+24 ;;=EXIT ACTION^K^^5;E1,245^K:$L(X)>245 X D:$D(X) ^DIM
+25 ;;^DD(358.6,5.01,3)
+26 ;;=This is Standard MUMPS code.
+27 ;;^DD(358.6,5.01,9)
+28 ;;=@
+29 ;;^DD(358.6,5.01,21,0)
+30 ;;=^^3^3^2930528^
+31 ;;^DD(358.6,5.01,21,1,0)
+32 ;;=
+33 ;;^DD(358.6,5.01,21,2,0)
+34 ;;=This code will be executed after the interface routine is called.
+35 ;;^DD(358.6,5.01,21,3,0)
+36 ;;=The effect of the NEW done on the PROTECTED VARIABLES is still in effect.
+37 ;;^DD(358.6,5.01,"DT")
+38 ;;=2930518
+39 ;;^DD(358.6,6,0)
+40 ;;=PROTECTED LOCAL VARIABLES^358.66^^6;0
+41 ;;^DD(358.6,6,21,0)
+42 ;;=^^11^11^2930608^^
+43 ;;^DD(358.6,6,21,1,0)
+44 ;;=
+45 ;;^DD(358.6,6,21,2,0)
+46 ;;=This is a list of variables that should be newed before the entry action
+47 ;;^DD(358.6,6,21,3,0)
+48 ;;=or calling the interface routine. It is protection against interfaces that
+49 ;;^DD(358.6,6,21,4,0)
+50 ;;=alter or kill variables, or entry actions that do so. Note that REQUIRED
+51 ;;^DD(358.6,6,21,6,0)
+52 ;;=changes a required variable, however, there is a way to protect it.
+53 ;;^DD(358.6,6,21,7,0)
+54 ;;=Supposing, for example, DFN is killed by the interface. This will protect
+55 ;;^DD(358.6,6,21,8,0)
+56 ;;=it:
+57 ;;^DD(358.6,6,21,9,0)
+58 ;;= PROTECTED VARIABLE: IBDFN
+59 ;;^DD(358.6,6,21,10,0)
+60 ;;= ENTRY ACTION: S IBDFN=DFN
+61 ;;^DD(358.6,6,21,11,0)
+62 ;;= EXIT ACTION: S DFN=IBDFN
+63 ;;^DD(358.6,7,0)
+64 ;;=REQUIRED LOCAL VARIABLES^358.67^^7;0
+65 ;;^DD(358.6,7,21,0)
+66 ;;=^^4^4^2930528^
+67 ;;^DD(358.6,7,21,1,0)
+68 ;;=
+69 ;;^DD(358.6,7,21,2,0)
+70 ;;=The interface may require inputs. This field is a list of the required
+71 ;;^DD(358.6,7,21,3,0)
+72 ;;=local variables. The interface will not be called unless the variables are
+73 ;;^DD(358.6,7,21,4,0)
+74 ;;=determined to exist.
+75 ;;^DD(358.6,8.01,0)
+76 ;;=PIECE 1 NODE^F^^8;1^K:$L(X)>10!($L(X)<1) X
+77 ;;^DD(358.6,8.01,3)
+78 ;;=Answer must be 1-10 characters in length.
+79 ;;^DD(358.6,8.01,"DT")
+80 ;;=2931203
+81 ;;^DD(358.6,8.02,0)
+82 ;;=PIECE 2 NODE^F^^8;2^K:$L(X)>10!($L(X)<1) X
+83 ;;^DD(358.6,8.02,3)
+84 ;;=Answer must be 1-10 characters in length.
+85 ;;^DD(358.6,8.02,"DT")
+86 ;;=2931203
+87 ;;^DD(358.6,8.03,0)
+88 ;;=PIECE 3 NODE^F^^8;3^K:$L(X)>10!($L(X)<1) X
+89 ;;^DD(358.6,8.03,3)
+90 ;;=Answer must be 1-10 characters in length.
+91 ;;^DD(358.6,8.03,"DT")
+92 ;;=2931203
+93 ;;^DD(358.6,8.04,0)
+94 ;;=PIECE 4 NODE^F^^8;4^K:$L(X)>10!($L(X)<1) X
+95 ;;^DD(358.6,8.04,3)
+96 ;;=Answer must be 1-10 characters in length.
+97 ;;^DD(358.6,8.04,"DT")
+98 ;;=2931203
+99 ;;^DD(358.6,8.05,0)
+100 ;;=PIECE 5 NODE^F^^8;5^K:$L(X)>10!($L(X)<1) X
+101 ;;^DD(358.6,8.05,3)
+102 ;;=Answer must be 1-10 characters in length.
+103 ;;^DD(358.6,8.05,"DT")
+104 ;;=2931203
+105 ;;^DD(358.6,8.06,0)
+106 ;;=PIECE 6 NODE^F^^8;6^K:$L(X)>10!($L(X)<1) X
+107 ;;^DD(358.6,8.06,3)
+108 ;;=Answer must be 1-10 characters in length.
+109 ;;^DD(358.6,8.06,"DT")
+110 ;;=2931203
+111 ;;^DD(358.6,8.07,0)
+112 ;;=PIECE 7 NODE^F^^8;7^K:$L(X)>10!($L(X)<1) X
+113 ;;^DD(358.6,8.07,3)
+114 ;;=Answer must be 1-10 characters in length.
+115 ;;^DD(358.6,8.07,"DT")
+116 ;;=2931203
+117 ;;^DD(358.61,0)
+118 ;;=DESCRIPTION SUB-FIELD^^.01^1