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