IBINI09G ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(358.7) 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
;;^DIC(358.7,0,"GL")
;;=^IBE(358.7,
;;^DIC("B","IMP/EXP FORM LINE",358.7)
;;=
;;^DIC(358.7,"%D",0)
;;=^^3^3^2940217^
;;^DIC(358.7,"%D",1,0)
;;=This file is nearly identical to file #357.7. It is used by the
;;^DIC(358.7,"%D",2,0)
;;=Import/Export Utility as a temporary staging area for data from that file
;;^DIC(358.7,"%D",3,0)
;;=that is being imported or exported.
;;^DD(358.7,0)
;;=FIELD^^.06^6
;;^DD(358.7,0,"DDA")
;;=N
;;^DD(358.7,0,"DT")
;;=2930802
;;^DD(358.7,0,"ID",.02)
;;=W " STARTING COL=",$P(^(0),U,2)+1
;;^DD(358.7,0,"ID",.03)
;;=W " STARTING ROW=",$P(^(0),U,3)+1
;;^DD(358.7,0,"ID",.06)
;;=W ""
;;^DD(358.7,0,"IX","B",358.7,.01)
;;=
;;^DD(358.7,0,"IX","C",358.7,.06)
;;=
;;^DD(358.7,0,"NM","IMP/EXP FORM LINE")
;;=
;;^DD(358.7,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
;;^DD(358.7,.01,1,0)
;;=^.1
;;^DD(358.7,.01,1,1,0)
;;=358.7^B
;;^DD(358.7,.01,1,1,1)
;;=S ^IBE(358.7,"B",$E(X,1,30),DA)=""
;;^DD(358.7,.01,1,1,2)
;;=K ^IBE(358.7,"B",$E(X,1,30),DA)
;;^DD(358.7,.01,3)
;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
;;^DD(358.7,.01,21,0)
;;=^^4^4^2930527^
;;^DD(358.7,.01,21,1,0)
;;=
;;^DD(358.7,.01,21,2,0)
;;=The name given to the line. Lines should be given names that will allow
;;^DD(358.7,.01,21,3,0)
;;=them to be identifies, such as V(1,1), meaning a vertical line starting at
;;^DD(358.7,.01,21,4,0)
;;=coordinates (1,1).
;;^DD(358.7,.02,0)
;;=LINE STARTING COLUMN^RNJ3,0XO^^0;2^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
;;^DD(358.7,.02,2)
;;=S Y(0)=Y S:+Y=Y Y=+Y+1
;;^DD(358.7,.02,2.1)
;;=S:+Y=Y Y=+Y+1
;;^DD(358.7,.02,3)
;;=Enter the block column the line should begin at.
;;^DD(358.7,.02,21,0)
;;=^^2^2^2930527^
;;^DD(358.7,.02,21,1,0)
;;=
;;^DD(358.7,.02,21,2,0)
;;=The column, relative to the block, that the line should begin at.
;;^DD(358.7,.02,23,0)
;;=^^4^4^2930715^
;;^DD(358.7,.02,23,1,0)
;;=The internal representation starts at 0, the external representation
;;^DD(358.7,.02,23,2,0)
;;=starts at 1. The difference is because for computing the form image
;;^DD(358.7,.02,23,3,0)
;;=it is convenient to work with displacements from the top left-hand
;;^DD(358.7,.02,23,4,0)
;;=corner. However, users do not want to work with row=0 or column=0.
;;^DD(358.7,.02,"DT")
;;=2930715
;;^DD(358.7,.03,0)
;;=LINE STARTING ROW^RNJ3,0XO^^0;3^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
;;^DD(358.7,.03,2)
;;=S Y(0)=Y S:+Y=Y Y=+Y+1
;;^DD(358.7,.03,2.1)
;;=S:+Y=Y Y=+Y+1
;;^DD(358.7,.03,3)
;;=Enter the block row the line should begin at.
;;^DD(358.7,.03,21,0)
;;=^^2^2^2930527^
;;^DD(358.7,.03,21,1,0)
;;=
;;^DD(358.7,.03,21,2,0)
;;=The row, relative to the block, that the line should begin at.
;;^DD(358.7,.03,23,0)
;;=^^4^4^2930715^
;;^DD(358.7,.03,23,1,0)
;;=The internal representation starts at 0, the external representation
;;^DD(358.7,.03,23,2,0)
;;=starts at 1. The difference is because for computing the form image
;;^DD(358.7,.03,23,3,0)
;;=it is convenient to work with displacements from the top left-hand
;;^DD(358.7,.03,23,4,0)
;;=corner. However, users do not want to work with row=0 or column=0.
;;^DD(358.7,.03,"DT")
;;=2930715
;;^DD(358.7,.04,0)
;;=ORIENTATION^RS^H:HORIZONTAL;V:VERTICAL;^0;4^Q
;;^DD(358.7,.04,.1)
;;=ORIENTATION (HORIZONTAL/VERTICAL)
;;^DD(358.7,.04,3)
;;=Should the line be horizontal or vertical?
;;^DD(358.7,.04,21,0)
;;=^^2^2^2930607^
;;^DD(358.7,.04,21,1,0)
;;=
;;^DD(358.7,.04,21,2,0)
;;=The direction the line goes in.
IBINI09G ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(358.7)
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 ;;^DIC(358.7,0,"GL")
+2 ;;=^IBE(358.7,
+3 ;;^DIC("B","IMP/EXP FORM LINE",358.7)
+4 ;;=
+5 ;;^DIC(358.7,"%D",0)
+6 ;;=^^3^3^2940217^
+7 ;;^DIC(358.7,"%D",1,0)
+8 ;;=This file is nearly identical to file #357.7. It is used by the
+9 ;;^DIC(358.7,"%D",2,0)
+10 ;;=Import/Export Utility as a temporary staging area for data from that file
+11 ;;^DIC(358.7,"%D",3,0)
+12 ;;=that is being imported or exported.
+13 ;;^DD(358.7,0)
+14 ;;=FIELD^^.06^6
+15 ;;^DD(358.7,0,"DDA")
+16 ;;=N
+17 ;;^DD(358.7,0,"DT")
+18 ;;=2930802
+19 ;;^DD(358.7,0,"ID",.02)
+20 ;;=W " STARTING COL=",$P(^(0),U,2)+1
+21 ;;^DD(358.7,0,"ID",.03)
+22 ;;=W " STARTING ROW=",$P(^(0),U,3)+1
+23 ;;^DD(358.7,0,"ID",.06)
+24 ;;=W ""
+25 ;;^DD(358.7,0,"IX","B",358.7,.01)
+26 ;;=
+27 ;;^DD(358.7,0,"IX","C",358.7,.06)
+28 ;;=
+29 ;;^DD(358.7,0,"NM","IMP/EXP FORM LINE")
+30 ;;=
+31 ;;^DD(358.7,.01,0)
+32 ;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
+33 ;;^DD(358.7,.01,1,0)
+34 ;;=^.1
+35 ;;^DD(358.7,.01,1,1,0)
+36 ;;=358.7^B
+37 ;;^DD(358.7,.01,1,1,1)
+38 ;;=S ^IBE(358.7,"B",$E(X,1,30),DA)=""
+39 ;;^DD(358.7,.01,1,1,2)
+40 ;;=K ^IBE(358.7,"B",$E(X,1,30),DA)
+41 ;;^DD(358.7,.01,3)
+42 ;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
+43 ;;^DD(358.7,.01,21,0)
+44 ;;=^^4^4^2930527^
+45 ;;^DD(358.7,.01,21,1,0)
+46 ;;=
+47 ;;^DD(358.7,.01,21,2,0)
+48 ;;=The name given to the line. Lines should be given names that will allow
+49 ;;^DD(358.7,.01,21,3,0)
+50 ;;=them to be identifies, such as V(1,1), meaning a vertical line starting at
+51 ;;^DD(358.7,.01,21,4,0)
+52 ;;=coordinates (1,1).
+53 ;;^DD(358.7,.02,0)
+54 ;;=LINE STARTING COLUMN^RNJ3,0XO^^0;2^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
+55 ;;^DD(358.7,.02,2)
+56 ;;=S Y(0)=Y S:+Y=Y Y=+Y+1
+57 ;;^DD(358.7,.02,2.1)
+58 ;;=S:+Y=Y Y=+Y+1
+59 ;;^DD(358.7,.02,3)
+60 ;;=Enter the block column the line should begin at.
+61 ;;^DD(358.7,.02,21,0)
+62 ;;=^^2^2^2930527^
+63 ;;^DD(358.7,.02,21,1,0)
+64 ;;=
+65 ;;^DD(358.7,.02,21,2,0)
+66 ;;=The column, relative to the block, that the line should begin at.
+67 ;;^DD(358.7,.02,23,0)
+68 ;;=^^4^4^2930715^
+69 ;;^DD(358.7,.02,23,1,0)
+70 ;;=The internal representation starts at 0, the external representation
+71 ;;^DD(358.7,.02,23,2,0)
+72 ;;=starts at 1. The difference is because for computing the form image
+73 ;;^DD(358.7,.02,23,3,0)
+74 ;;=it is convenient to work with displacements from the top left-hand
+75 ;;^DD(358.7,.02,23,4,0)
+76 ;;=corner. However, users do not want to work with row=0 or column=0.
+77 ;;^DD(358.7,.02,"DT")
+78 ;;=2930715
+79 ;;^DD(358.7,.03,0)
+80 ;;=LINE STARTING ROW^RNJ3,0XO^^0;3^S:+X=X X=X-1 K:+X'=X!(X>200)!(X<0)!(X?.E1"."1N.N) X
+81 ;;^DD(358.7,.03,2)
+82 ;;=S Y(0)=Y S:+Y=Y Y=+Y+1
+83 ;;^DD(358.7,.03,2.1)
+84 ;;=S:+Y=Y Y=+Y+1
+85 ;;^DD(358.7,.03,3)
+86 ;;=Enter the block row the line should begin at.
+87 ;;^DD(358.7,.03,21,0)
+88 ;;=^^2^2^2930527^
+89 ;;^DD(358.7,.03,21,1,0)
+90 ;;=
+91 ;;^DD(358.7,.03,21,2,0)
+92 ;;=The row, relative to the block, that the line should begin at.
+93 ;;^DD(358.7,.03,23,0)
+94 ;;=^^4^4^2930715^
+95 ;;^DD(358.7,.03,23,1,0)
+96 ;;=The internal representation starts at 0, the external representation
+97 ;;^DD(358.7,.03,23,2,0)
+98 ;;=starts at 1. The difference is because for computing the form image
+99 ;;^DD(358.7,.03,23,3,0)
+100 ;;=it is convenient to work with displacements from the top left-hand
+101 ;;^DD(358.7,.03,23,4,0)
+102 ;;=corner. However, users do not want to work with row=0 or column=0.
+103 ;;^DD(358.7,.03,"DT")
+104 ;;=2930715
+105 ;;^DD(358.7,.04,0)
+106 ;;=ORIENTATION^RS^H:HORIZONTAL;V:VERTICAL;^0;4^Q
+107 ;;^DD(358.7,.04,.1)
+108 ;;=ORIENTATION (HORIZONTAL/VERTICAL)
+109 ;;^DD(358.7,.04,3)
+110 ;;=Should the line be horizontal or vertical?
+111 ;;^DD(358.7,.04,21,0)
+112 ;;=^^2^2^2930607^
+113 ;;^DD(358.7,.04,21,1,0)
+114 ;;=
+115 ;;^DD(358.7,.04,21,2,0)
+116 ;;=The direction the line goes in.