- IBINI07M ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(357.1) 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.12,.01,1,1,2)
- ;;=K ^IBE(357.1,DA(1),"V","B",$E(X,1,30),DA)
- ;;^DD(357.12,.01,3)
- ;;=Type a Number between 0 and 200, 0 Decimal Digits
- ;;^DD(357.12,.01,21,0)
- ;;=^^1^1^2931117^
- ;;^DD(357.12,.01,21,1,0)
- ;;=The row that the line should begin at.
- ;;^DD(357.12,.01,"DT")
- ;;=2931117
- ;;^DD(357.12,.02,0)
- ;;=COLUMN^RNJ3,0^^0;2^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
- ;;^DD(357.12,.02,3)
- ;;=Type a Number between 0 and 200, 0 Decimal Digits
- ;;^DD(357.12,.02,21,0)
- ;;=^^1^1^2931117^
- ;;^DD(357.12,.02,21,1,0)
- ;;=The column that the line should begin at.
- ;;^DD(357.12,.02,"DT")
- ;;=2931117
- ;;^DD(357.12,.03,0)
- ;;=LENGTH^RNJ3,0^^0;3^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
- ;;^DD(357.12,.03,3)
- ;;=Type a Number between 0 and 200, 0 Decimal Digits
- ;;^DD(357.12,.03,21,0)
- ;;=^^1^1^2931117^
- ;;^DD(357.12,.03,21,1,0)
- ;;=The length of the line.
- ;;^DD(357.12,.03,"DT")
- ;;=2931117
- ;;^DD(357.12,.04,0)
- ;;=CHARACTER^F^^0;4^K:$L(X)>30!($L(X)<1) X
- ;;^DD(357.12,.04,3)
- ;;=Answer must be 1-30 characters in length.
- ;;^DD(357.12,.04,21,0)
- ;;=^^1^1^2931117^
- ;;^DD(357.12,.04,21,1,0)
- ;;=The string (probably a single character) to use to create the string. (optional)
- ;;^DD(357.12,.04,"DT")
- ;;=2931117
- IBINI07M ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(357.1)
- 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.12,.01,1,1,2)
- +2 ;;=K ^IBE(357.1,DA(1),"V","B",$E(X,1,30),DA)
- +3 ;;^DD(357.12,.01,3)
- +4 ;;=Type a Number between 0 and 200, 0 Decimal Digits
- +5 ;;^DD(357.12,.01,21,0)
- +6 ;;=^^1^1^2931117^
- +7 ;;^DD(357.12,.01,21,1,0)
- +8 ;;=The row that the line should begin at.
- +9 ;;^DD(357.12,.01,"DT")
- +10 ;;=2931117
- +11 ;;^DD(357.12,.02,0)
- +12 ;;=COLUMN^RNJ3,0^^0;2^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
- +13 ;;^DD(357.12,.02,3)
- +14 ;;=Type a Number between 0 and 200, 0 Decimal Digits
- +15 ;;^DD(357.12,.02,21,0)
- +16 ;;=^^1^1^2931117^
- +17 ;;^DD(357.12,.02,21,1,0)
- +18 ;;=The column that the line should begin at.
- +19 ;;^DD(357.12,.02,"DT")
- +20 ;;=2931117
- +21 ;;^DD(357.12,.03,0)
- +22 ;;=LENGTH^RNJ3,0^^0;3^K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
- +23 ;;^DD(357.12,.03,3)
- +24 ;;=Type a Number between 0 and 200, 0 Decimal Digits
- +25 ;;^DD(357.12,.03,21,0)
- +26 ;;=^^1^1^2931117^
- +27 ;;^DD(357.12,.03,21,1,0)
- +28 ;;=The length of the line.
- +29 ;;^DD(357.12,.03,"DT")
- +30 ;;=2931117
- +31 ;;^DD(357.12,.04,0)
- +32 ;;=CHARACTER^F^^0;4^K:$L(X)>30!($L(X)<1) X
- +33 ;;^DD(357.12,.04,3)
- +34 ;;=Answer must be 1-30 characters in length.
- +35 ;;^DD(357.12,.04,21,0)
- +36 ;;=^^1^1^2931117^
- +37 ;;^DD(357.12,.04,21,1,0)
- +38 ;;=The string (probably a single character) to use to create the string. (optional)
- +39 ;;^DD(357.12,.04,"DT")
- +40 ;;=2931117