IBINI0CP ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
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
;;^UTILITY(U,$J,"DIE",1231,"DR",2,357.52)
;;=.01HEADER LINE~;.03HOW SHOULD THE HEADER LINE APPEAR? CHOOSE FROM {B=bold,U=underline}~;
;;^UTILITY(U,$J,"DIE",1232,0)
;;=IBDF EDIT HEADER BLOCK^2930617.1333^^357.1^^^2940308^
;;^UTILITY(U,$J,"DIE",1232,"%D",0)
;;=^^1^1^2940308^
;;^UTILITY(U,$J,"DIE",1232,"%D",1,0)
;;=Used to edit the header block of a form.
;;^UTILITY(U,$J,"DIE",1232,"DIAB",1,0,357.1,0)
;;=.1//INVISIBLE;"HEADER BLOCK OUTLINE TYPE"
;;^UTILITY(U,$J,"DIE",1232,"DIAB",5,0,357.1,0)
;;=.04//1;"ROW TO BEGIN THE HEADER BLOCK AT"
;;^UTILITY(U,$J,"DIE",1232,"DR",1,357.1)
;;=.1HEADER BLOCK OUTLINE TYPE~//INVISIBLE;I X=1 S IBBOX=2;.06////^S X=+$G(MAXLEN)+IBBOX;.07////^S X=+$G(HDRLINES)+IBBOX;.04ROW TO BEGIN THE HEADER BLOCK AT~//1;.05//^S X=$$DFLTCOL^IBDF9C;S IBDELETE=0;
;;^UTILITY(U,$J,"DIE",1233,0)
;;=IBDF FORM LINE^2930616.1052^^357.7^^^2940201^
;;^UTILITY(U,$J,"DIE",1233,"%D",0)
;;=^^1^1^2940308^
;;^UTILITY(U,$J,"DIE",1233,"%D",1,0)
;;=Used to edit a line.
;;^UTILITY(U,$J,"DIE",1233,"DIAB",7,0,357.7,0)
;;=.04;T
;;^UTILITY(U,$J,"DIE",1233,"DR",1,357.7)
;;=S IBDFDONE=0;.01;.03;I (X<$$MINY^IBDFU1B)!(X>$$MAXY^IBDFU1B) D WARNING^IBDFU1B("line");.02;I (X<$$MINX^IBDFU1B)!(X>$$MAXX^IBDFU1B) D WARNING^IBDFU1B("line");.04T~;.05;I X>$$MAXLEN^IBDF9D D WARNING^IBDFU1B("line");
;;^UTILITY(U,$J,"DIE",1233,"DR",1,357.7,1)
;;=.06////^S X=$G(IBBLK);S IBDFDONE=1;
;;^UTILITY(U,$J,"DIE",1234,0)
;;=IBDF NEW EMPTY BLOCK^2940201.1144^^357.1^0^^2940302
;;^UTILITY(U,$J,"DIE",1234,"%D",0)
;;=^^2^2^2940308^
;;^UTILITY(U,$J,"DIE",1234,"%D",1,0)
;;=Used to edit the header, position, outline, and other characteristics of a
;;^UTILITY(U,$J,"DIE",1234,"%D",2,0)
;;=new block.
;;^UTILITY(U,$J,"DIE",1234,"DIAB",6,0,357.1,0)
;;=.14;REQ
;;^UTILITY(U,$J,"DIE",1234,"DIAB",8,0,357.1,0)
;;=.11;T
;;^UTILITY(U,$J,"DIE",1234,"DIAB",10,0,357.1,0)
;;=.12//UC;T
;;^UTILITY(U,$J,"DIE",1234,"DIAB",12,0,357.1,0)
;;=.1//SOLID LINE;T
;;^UTILITY(U,$J,"DIE",1234,"DIAB",14,0,357.1,0)
;;=.04;T
;;^UTILITY(U,$J,"DIE",1234,"DIAB",15,0,357.1,0)
;;=.05;T
;;^UTILITY(U,$J,"DIE",1234,"DIAB",17,0,357.1,0)
;;=.06;T
;;^UTILITY(U,$J,"DIE",1234,"DIAB",18,0,357.1,0)
;;=.07;T
;;^UTILITY(U,$J,"DIE",1234,"DIAB",19,0,357.1,0)
;;=.13;T
;;^UTILITY(U,$J,"DIE",1234,"DR",1,357.1)
;;=S IBDFDONE=0;.01;.02////^S X=$G(IBFORM);S:'$G(IBTKBLK) Y="@1";.14///^S X=$$TKORDER^IBDF13();.14R~;@1;.11T~;I X="" S Y="@2";.12T~//UC;@2;.1T~//SOLID LINE;S:$G(IBTKBLK) Y="@3";.04T~;.05T~;@3;.06T~;.07T~;.13T~;S IBDFDONE=1;
;;^UTILITY(U,$J,"DIE",1235,0)
;;=IBDF EDIT TEXT AREA^2930730.1203^^357.8^^^^
;;^UTILITY(U,$J,"DIE",1235,"%D",0)
;;=^^1^1^2940308^
;;^UTILITY(U,$J,"DIE",1235,"%D",1,0)
;;=Used to edit a text area.
;;^UTILITY(U,$J,"DIE",1235,"DR",1,357.8)
;;=S IBDELETE=1;.01;.02////^S X=$G(IBBLK);.04;I (X<$$MINY^IBDFU1B)!(X>$$MAXY^IBDFU1B) D WARNING^IBDFU1B("text area");.03;I (X<$$MINX^IBDFU1B)!(X>$$MAXX^IBDFU1B) D WARNING^IBDFU1B("text area");.05;
;;^UTILITY(U,$J,"DIE",1235,"DR",1,357.8,1)
;;=I X>$$MAXW^IBDF9E D WARNING^IBDFU1B("text area");.06;I X>$$MAXHT^IBDF9E D WARNING^IBDFU1B("text area");D FULL^VALM1;1;D FORMAT^IBDF9E;S IBDELETE=0;
;;^UTILITY(U,$J,"DIE",1236,0)
;;=IBDF EDIT SELECTION LIST^2930803.0839^^357.2^^^2940208^
;;^UTILITY(U,$J,"DIE",1236,"%D",0)
;;=^^2^2^2940308^
;;^UTILITY(U,$J,"DIE",1236,"%D",1,0)
;;=Used to edit a selection list, except for the position and size of the
;;^UTILITY(U,$J,"DIE",1236,"%D",2,0)
;;=columns.
;;^UTILITY(U,$J,"DIE",1236,"DIAB",1,1,357.22,1)
;;=.05;"Select Subcolumn's Data";REQ
IBINI0CP ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 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 ;;^UTILITY(U,$J,"DIE",1231,"DR",2,357.52)
+2 ;;=.01HEADER LINE~;.03HOW SHOULD THE HEADER LINE APPEAR? CHOOSE FROM {B=bold,U=underline}~;
+3 ;;^UTILITY(U,$J,"DIE",1232,0)
+4 ;;=IBDF EDIT HEADER BLOCK^2930617.1333^^357.1^^^2940308^
+5 ;;^UTILITY(U,$J,"DIE",1232,"%D",0)
+6 ;;=^^1^1^2940308^
+7 ;;^UTILITY(U,$J,"DIE",1232,"%D",1,0)
+8 ;;=Used to edit the header block of a form.
+9 ;;^UTILITY(U,$J,"DIE",1232,"DIAB",1,0,357.1,0)
+10 ;;=.1//INVISIBLE;"HEADER BLOCK OUTLINE TYPE"
+11 ;;^UTILITY(U,$J,"DIE",1232,"DIAB",5,0,357.1,0)
+12 ;;=.04//1;"ROW TO BEGIN THE HEADER BLOCK AT"
+13 ;;^UTILITY(U,$J,"DIE",1232,"DR",1,357.1)
+14 ;;=.1HEADER BLOCK OUTLINE TYPE~//INVISIBLE;I X=1 S IBBOX=2;.06////^S X=+$G(MAXLEN)+IBBOX;.07////^S X=+$G(HDRLINES)+IBBOX;.04ROW TO BEGIN THE HEADER BLOCK AT~//1;.05//^S X=$$DFLTCOL^IBDF9C;S IBDELETE=0;
+15 ;;^UTILITY(U,$J,"DIE",1233,0)
+16 ;;=IBDF FORM LINE^2930616.1052^^357.7^^^2940201^
+17 ;;^UTILITY(U,$J,"DIE",1233,"%D",0)
+18 ;;=^^1^1^2940308^
+19 ;;^UTILITY(U,$J,"DIE",1233,"%D",1,0)
+20 ;;=Used to edit a line.
+21 ;;^UTILITY(U,$J,"DIE",1233,"DIAB",7,0,357.7,0)
+22 ;;=.04;T
+23 ;;^UTILITY(U,$J,"DIE",1233,"DR",1,357.7)
+24 ;;=S IBDFDONE=0;.01;.03;I (X<$$MINY^IBDFU1B)!(X>$$MAXY^IBDFU1B) D WARNING^IBDFU1B("line");.02;I (X<$$MINX^IBDFU1B)!(X>$$MAXX^IBDFU1B) D WARNING^IBDFU1B("line");.04T~;.05;I X>$$MAXLEN^IBDF9D D WARNING^IBDFU1B("line");
+25 ;;^UTILITY(U,$J,"DIE",1233,"DR",1,357.7,1)
+26 ;;=.06////^S X=$G(IBBLK);S IBDFDONE=1;
+27 ;;^UTILITY(U,$J,"DIE",1234,0)
+28 ;;=IBDF NEW EMPTY BLOCK^2940201.1144^^357.1^0^^2940302
+29 ;;^UTILITY(U,$J,"DIE",1234,"%D",0)
+30 ;;=^^2^2^2940308^
+31 ;;^UTILITY(U,$J,"DIE",1234,"%D",1,0)
+32 ;;=Used to edit the header, position, outline, and other characteristics of a
+33 ;;^UTILITY(U,$J,"DIE",1234,"%D",2,0)
+34 ;;=new block.
+35 ;;^UTILITY(U,$J,"DIE",1234,"DIAB",6,0,357.1,0)
+36 ;;=.14;REQ
+37 ;;^UTILITY(U,$J,"DIE",1234,"DIAB",8,0,357.1,0)
+38 ;;=.11;T
+39 ;;^UTILITY(U,$J,"DIE",1234,"DIAB",10,0,357.1,0)
+40 ;;=.12//UC;T
+41 ;;^UTILITY(U,$J,"DIE",1234,"DIAB",12,0,357.1,0)
+42 ;;=.1//SOLID LINE;T
+43 ;;^UTILITY(U,$J,"DIE",1234,"DIAB",14,0,357.1,0)
+44 ;;=.04;T
+45 ;;^UTILITY(U,$J,"DIE",1234,"DIAB",15,0,357.1,0)
+46 ;;=.05;T
+47 ;;^UTILITY(U,$J,"DIE",1234,"DIAB",17,0,357.1,0)
+48 ;;=.06;T
+49 ;;^UTILITY(U,$J,"DIE",1234,"DIAB",18,0,357.1,0)
+50 ;;=.07;T
+51 ;;^UTILITY(U,$J,"DIE",1234,"DIAB",19,0,357.1,0)
+52 ;;=.13;T
+53 ;;^UTILITY(U,$J,"DIE",1234,"DR",1,357.1)
+54 ;;=S IBDFDONE=0;.01;.02////^S X=$G(IBFORM);S:'$G(IBTKBLK) Y="@1";.14///^S X=$$TKORDER^IBDF13();.14R~;@1;.11T~;I X="" S Y="@2";.12T~//UC;@2;.1T~//SOLID LINE;S:$G(IBTKBLK) Y="@3";.04T~;.05T~;@3;.06T~;.07T~;.13T~;S IBDFDONE=1;
+55 ;;^UTILITY(U,$J,"DIE",1235,0)
+56 ;;=IBDF EDIT TEXT AREA^2930730.1203^^357.8^^^^
+57 ;;^UTILITY(U,$J,"DIE",1235,"%D",0)
+58 ;;=^^1^1^2940308^
+59 ;;^UTILITY(U,$J,"DIE",1235,"%D",1,0)
+60 ;;=Used to edit a text area.
+61 ;;^UTILITY(U,$J,"DIE",1235,"DR",1,357.8)
+62 ;;=S IBDELETE=1;.01;.02////^S X=$G(IBBLK);.04;I (X<$$MINY^IBDFU1B)!(X>$$MAXY^IBDFU1B) D WARNING^IBDFU1B("text area");.03;I (X<$$MINX^IBDFU1B)!(X>$$MAXX^IBDFU1B) D WARNING^IBDFU1B("text area");.05;
+63 ;;^UTILITY(U,$J,"DIE",1235,"DR",1,357.8,1)
+64 ;;=I X>$$MAXW^IBDF9E D WARNING^IBDFU1B("text area");.06;I X>$$MAXHT^IBDF9E D WARNING^IBDFU1B("text area");D FULL^VALM1;1;D FORMAT^IBDF9E;S IBDELETE=0;
+65 ;;^UTILITY(U,$J,"DIE",1236,0)
+66 ;;=IBDF EDIT SELECTION LIST^2930803.0839^^357.2^^^2940208^
+67 ;;^UTILITY(U,$J,"DIE",1236,"%D",0)
+68 ;;=^^2^2^2940308^
+69 ;;^UTILITY(U,$J,"DIE",1236,"%D",1,0)
+70 ;;=Used to edit a selection list, except for the position and size of the
+71 ;;^UTILITY(U,$J,"DIE",1236,"%D",2,0)
+72 ;;=columns.
+73 ;;^UTILITY(U,$J,"DIE",1236,"DIAB",1,1,357.22,1)
+74 ;;=.05;"Select Subcolumn's Data";REQ