IBINI09C ; ; 21-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,2.03,3)
;;=Answer must be 3-30 characters in length.
;;^DD(358.6,2.03,21,0)
;;=^^3^3^2930528^
;;^DD(358.6,2.03,21,1,0)
;;=
;;^DD(358.6,2.03,21,2,0)
;;=A descriptive name of the second field of the record returned by the
;;^DD(358.6,2.03,21,3,0)
;;=interface routine.
;;^DD(358.6,2.03,"DT")
;;=2930726
;;^DD(358.6,2.04,0)
;;=WHAT IS ITS MAXIMUM LENGTH?^NJ3,0^^2;4^K:+X'=X!(X>210)!(X<1)!(X?.E1"."1N.N) X
;;^DD(358.6,2.04,3)
;;=Type a Number between 1 and 210, 0 Decimal Digits
;;^DD(358.6,2.04,21,0)
;;=^^3^3^2930528^
;;^DD(358.6,2.04,21,1,0)
;;=
;;^DD(358.6,2.04,21,2,0)
;;=The maximum length of the second field of the record returned by the
;;^DD(358.6,2.04,21,3,0)
;;=interface routine.
;;^DD(358.6,2.04,"DT")
;;=2930726
;;^DD(358.6,2.05,0)
;;=PIECE 3 DESCRIPTIVE NAME^F^^2;5^K:$L(X)>30!($L(X)<3) X
;;^DD(358.6,2.05,.1)
;;=WHAT IS THE THIRD PIECE OF DATA RETURNED BY THE INTERFACE?
;;^DD(358.6,2.05,3)
;;=Answer must be 3-30 characters in length.
;;^DD(358.6,2.05,21,0)
;;=^^3^3^2930528^
;;^DD(358.6,2.05,21,1,0)
;;=
;;^DD(358.6,2.05,21,2,0)
;;=A descriptive name of the third field of the record returned by the
;;^DD(358.6,2.05,21,3,0)
;;=interface routine.
;;^DD(358.6,2.05,"DT")
;;=2930726
;;^DD(358.6,2.06,0)
;;=PIECE 3 MAXIMUM LENGTH^NJ3,0^^2;6^K:+X'=X!(X>210)!(X<1)!(X?.E1"."1N.N) X
;;^DD(358.6,2.06,.1)
;;=WHAT IS ITS MAXIMUM LENGTH?
;;^DD(358.6,2.06,3)
;;=Type a Number between 1 and 210, 0 Decimal Digits
;;^DD(358.6,2.06,21,0)
;;=^^2^2^2930528^
;;^DD(358.6,2.06,21,1,0)
;;=
;;^DD(358.6,2.06,21,2,0)
;;=The maximum length of the 3rd field returned by the interface routine.
;;^DD(358.6,2.06,"DT")
;;=2930726
;;^DD(358.6,2.07,0)
;;=PIECE 4 DESCRIPTIVE NAME^F^^2;7^K:$L(X)>30!($L(X)<3) X
;;^DD(358.6,2.07,.1)
;;=WHAT IS THE FOURTH PIECE OF DATA RETURNED BY THE INTERFACE?
;;^DD(358.6,2.07,3)
;;=Answer must be 3-30 characters in length.
;;^DD(358.6,2.07,21,0)
;;=^^2^2^2930528^
;;^DD(358.6,2.07,21,1,0)
;;=
;;^DD(358.6,2.07,21,2,0)
;;=A descriptive name of the 4th field returned by the interface routine.
;;^DD(358.6,2.07,"DT")
;;=2930726
;;^DD(358.6,2.08,0)
;;=PIECE 4 MAXIMUM LENGTH^NJ3,0^^2;8^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
;;^DD(358.6,2.08,.1)
;;=WHAT IS ITS MAXIMUM LENGTH?
;;^DD(358.6,2.08,3)
;;=Type a Number between 1 and 200, 0 Decimal Digits
;;^DD(358.6,2.08,21,0)
;;=^^2^2^2930528^
;;^DD(358.6,2.08,21,1,0)
;;=
;;^DD(358.6,2.08,21,2,0)
;;=The maximum length of the 4th field returned by the interface routine.
;;^DD(358.6,2.08,"DT")
;;=2930726
;;^DD(358.6,2.09,0)
;;=PIECE 5 DESCRIPTIVE NAME^F^^2;9^K:$L(X)>30!($L(X)<3) X
;;^DD(358.6,2.09,.1)
;;=WHAT IS THE FIFTH PIECE OF DATA RETURNED BY THE INTERFACE?
;;^DD(358.6,2.09,3)
;;=Answer must be 3-30 characters in length.
;;^DD(358.6,2.09,21,0)
;;=^^2^2^2930528^
;;^DD(358.6,2.09,21,1,0)
;;=
;;^DD(358.6,2.09,21,2,0)
;;=A descriptive name of the 5th field returned by the interface routine.
;;^DD(358.6,2.09,"DT")
;;=2930726
;;^DD(358.6,2.1,0)
;;=PIECE 5 MAXIMUM LENGTH^NJ3,0^^2;10^K:+X'=X!(X>210)!(X<1)!(X?.E1"."1N.N) X
;;^DD(358.6,2.1,.1)
;;=WHAT IS ITS MAXIMUM LENGTH?
;;^DD(358.6,2.1,3)
;;=Type a Number between 1 and 210, 0 Decimal Digits
;;^DD(358.6,2.1,21,0)
;;=^^2^2^2930528^
;;^DD(358.6,2.1,21,1,0)
;;=
;;^DD(358.6,2.1,21,2,0)
;;=The maximum length of the 5th field returned by the interface routine.
;;^DD(358.6,2.1,"DT")
;;=2930726
;;^DD(358.6,2.11,0)
;;=PIECE 6 DESCRIPTIVE NAME^F^^2;11^K:$L(X)>30!($L(X)<3) X
;;^DD(358.6,2.11,.1)
;;=WHAT IS THE SIXTH PIECE OF DATA RETURNED BY THE INTERFACE?
IBINI09C ; ; 21-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,2.03,3)
+2 ;;=Answer must be 3-30 characters in length.
+3 ;;^DD(358.6,2.03,21,0)
+4 ;;=^^3^3^2930528^
+5 ;;^DD(358.6,2.03,21,1,0)
+6 ;;=
+7 ;;^DD(358.6,2.03,21,2,0)
+8 ;;=A descriptive name of the second field of the record returned by the
+9 ;;^DD(358.6,2.03,21,3,0)
+10 ;;=interface routine.
+11 ;;^DD(358.6,2.03,"DT")
+12 ;;=2930726
+13 ;;^DD(358.6,2.04,0)
+14 ;;=WHAT IS ITS MAXIMUM LENGTH?^NJ3,0^^2;4^K:+X'=X!(X>210)!(X<1)!(X?.E1"."1N.N) X
+15 ;;^DD(358.6,2.04,3)
+16 ;;=Type a Number between 1 and 210, 0 Decimal Digits
+17 ;;^DD(358.6,2.04,21,0)
+18 ;;=^^3^3^2930528^
+19 ;;^DD(358.6,2.04,21,1,0)
+20 ;;=
+21 ;;^DD(358.6,2.04,21,2,0)
+22 ;;=The maximum length of the second field of the record returned by the
+23 ;;^DD(358.6,2.04,21,3,0)
+24 ;;=interface routine.
+25 ;;^DD(358.6,2.04,"DT")
+26 ;;=2930726
+27 ;;^DD(358.6,2.05,0)
+28 ;;=PIECE 3 DESCRIPTIVE NAME^F^^2;5^K:$L(X)>30!($L(X)<3) X
+29 ;;^DD(358.6,2.05,.1)
+30 ;;=WHAT IS THE THIRD PIECE OF DATA RETURNED BY THE INTERFACE?
+31 ;;^DD(358.6,2.05,3)
+32 ;;=Answer must be 3-30 characters in length.
+33 ;;^DD(358.6,2.05,21,0)
+34 ;;=^^3^3^2930528^
+35 ;;^DD(358.6,2.05,21,1,0)
+36 ;;=
+37 ;;^DD(358.6,2.05,21,2,0)
+38 ;;=A descriptive name of the third field of the record returned by the
+39 ;;^DD(358.6,2.05,21,3,0)
+40 ;;=interface routine.
+41 ;;^DD(358.6,2.05,"DT")
+42 ;;=2930726
+43 ;;^DD(358.6,2.06,0)
+44 ;;=PIECE 3 MAXIMUM LENGTH^NJ3,0^^2;6^K:+X'=X!(X>210)!(X<1)!(X?.E1"."1N.N) X
+45 ;;^DD(358.6,2.06,.1)
+46 ;;=WHAT IS ITS MAXIMUM LENGTH?
+47 ;;^DD(358.6,2.06,3)
+48 ;;=Type a Number between 1 and 210, 0 Decimal Digits
+49 ;;^DD(358.6,2.06,21,0)
+50 ;;=^^2^2^2930528^
+51 ;;^DD(358.6,2.06,21,1,0)
+52 ;;=
+53 ;;^DD(358.6,2.06,21,2,0)
+54 ;;=The maximum length of the 3rd field returned by the interface routine.
+55 ;;^DD(358.6,2.06,"DT")
+56 ;;=2930726
+57 ;;^DD(358.6,2.07,0)
+58 ;;=PIECE 4 DESCRIPTIVE NAME^F^^2;7^K:$L(X)>30!($L(X)<3) X
+59 ;;^DD(358.6,2.07,.1)
+60 ;;=WHAT IS THE FOURTH PIECE OF DATA RETURNED BY THE INTERFACE?
+61 ;;^DD(358.6,2.07,3)
+62 ;;=Answer must be 3-30 characters in length.
+63 ;;^DD(358.6,2.07,21,0)
+64 ;;=^^2^2^2930528^
+65 ;;^DD(358.6,2.07,21,1,0)
+66 ;;=
+67 ;;^DD(358.6,2.07,21,2,0)
+68 ;;=A descriptive name of the 4th field returned by the interface routine.
+69 ;;^DD(358.6,2.07,"DT")
+70 ;;=2930726
+71 ;;^DD(358.6,2.08,0)
+72 ;;=PIECE 4 MAXIMUM LENGTH^NJ3,0^^2;8^K:+X'=X!(X>200)!(X<1)!(X?.E1"."1N.N) X
+73 ;;^DD(358.6,2.08,.1)
+74 ;;=WHAT IS ITS MAXIMUM LENGTH?
+75 ;;^DD(358.6,2.08,3)
+76 ;;=Type a Number between 1 and 200, 0 Decimal Digits
+77 ;;^DD(358.6,2.08,21,0)
+78 ;;=^^2^2^2930528^
+79 ;;^DD(358.6,2.08,21,1,0)
+80 ;;=
+81 ;;^DD(358.6,2.08,21,2,0)
+82 ;;=The maximum length of the 4th field returned by the interface routine.
+83 ;;^DD(358.6,2.08,"DT")
+84 ;;=2930726
+85 ;;^DD(358.6,2.09,0)
+86 ;;=PIECE 5 DESCRIPTIVE NAME^F^^2;9^K:$L(X)>30!($L(X)<3) X
+87 ;;^DD(358.6,2.09,.1)
+88 ;;=WHAT IS THE FIFTH PIECE OF DATA RETURNED BY THE INTERFACE?
+89 ;;^DD(358.6,2.09,3)
+90 ;;=Answer must be 3-30 characters in length.
+91 ;;^DD(358.6,2.09,21,0)
+92 ;;=^^2^2^2930528^
+93 ;;^DD(358.6,2.09,21,1,0)
+94 ;;=
+95 ;;^DD(358.6,2.09,21,2,0)
+96 ;;=A descriptive name of the 5th field returned by the interface routine.
+97 ;;^DD(358.6,2.09,"DT")
+98 ;;=2930726
+99 ;;^DD(358.6,2.1,0)
+100 ;;=PIECE 5 MAXIMUM LENGTH^NJ3,0^^2;10^K:+X'=X!(X>210)!(X<1)!(X?.E1"."1N.N) X
+101 ;;^DD(358.6,2.1,.1)
+102 ;;=WHAT IS ITS MAXIMUM LENGTH?
+103 ;;^DD(358.6,2.1,3)
+104 ;;=Type a Number between 1 and 210, 0 Decimal Digits
+105 ;;^DD(358.6,2.1,21,0)
+106 ;;=^^2^2^2930528^
+107 ;;^DD(358.6,2.1,21,1,0)
+108 ;;=
+109 ;;^DD(358.6,2.1,21,2,0)
+110 ;;=The maximum length of the 5th field returned by the interface routine.
+111 ;;^DD(358.6,2.1,"DT")
+112 ;;=2930726
+113 ;;^DD(358.6,2.11,0)
+114 ;;=PIECE 6 DESCRIPTIVE NAME^F^^2;11^K:$L(X)>30!($L(X)<3) X
+115 ;;^DD(358.6,2.11,.1)
+116 ;;=WHAT IS THE SIXTH PIECE OF DATA RETURNED BY THE INTERFACE?