IBINI08R ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(358) 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,0,"GL")
;;=^IBE(358,
;;^DIC("B","IMP/EXP ENCOUNTER FORM",358)
;;=
;;^DIC(358,"%D",0)
;;=^^4^4^2940217^
;;^DIC(358,"%D",1,0)
;;=
;;^DIC(358,"%D",2,0)
;;=This file is nearly identical to file #357. It is used by the Import/Export
;;^DIC(358,"%D",3,0)
;;=Utility as a temporary staging area for data from that file that is being
;;^DIC(358,"%D",4,0)
;;=imported or exported.
;;^DD(358,0)
;;=FIELD^^1^9
;;^DD(358,0,"DDA")
;;=N
;;^DD(358,0,"DT")
;;=2931201
;;^DD(358,0,"ID",.03)
;;=W " ",$P(^(0),U,3)
;;^DD(358,0,"IX","B",358,.01)
;;=
;;^DD(358,0,"IX","C",358,.07)
;;=
;;^DD(358,0,"NM","IMP/EXP ENCOUNTER FORM")
;;=
;;^DD(358,0,"PT",358.1,.02)
;;=
;;^DD(358,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
;;^DD(358,.01,1,0)
;;=^.1
;;^DD(358,.01,1,1,0)
;;=358^B
;;^DD(358,.01,1,1,1)
;;=S ^IBE(358,"B",$E(X,1,30),DA)=""
;;^DD(358,.01,1,1,2)
;;=K ^IBE(358,"B",$E(X,1,30),DA)
;;^DD(358,.01,3)
;;=Answer must be 3-30 characters in length.
;;^DD(358,.01,21,0)
;;=^^2^2^2930527^
;;^DD(358,.01,21,1,0)
;;=
;;^DD(358,.01,21,2,0)
;;=The name of the encounter form.
;;^DD(358,.01,"DEL",1,0)
;;=I 1 W "...Encounter Forms can only be deleted through the",!," DELETE UNUSED FORM action in the Encounter Form Utilities!"
;;^DD(358,.01,"DT")
;;=2930225
;;^DD(358,.03,0)
;;=BRIEF DESCRIPTION^RF^^0;3^K:$L(X)>80!($L(X)<1) X
;;^DD(358,.03,.1)
;;=BRIEF DESRIPTION OF FORM'S USE & CONTENT
;;^DD(358,.03,3)
;;=Enter a brief description of the intended use of the form or its contents.
;;^DD(358,.03,21,0)
;;=^^3^3^2930607^
;;^DD(358,.03,21,1,0)
;;=
;;^DD(358,.03,21,2,0)
;;=A brief description of the contents of the form and its intended use. This
;;^DD(358,.03,21,3,0)
;;=description will be displayed to the user.
;;^DD(358,.03,"DT")
;;=2930420
;;^DD(358,.04,0)
;;=TYPE OF USE^RS^1:OUTPATIENT ENCOUNTER FORM;^0;4^Q
;;^DD(358,.04,3)
;;=How will the form be used?
;;^DD(358,.04,"DT")
;;=2930802
;;^DD(358,.05,0)
;;=COMPILED?^S^0:NO;1:YES;^0;5^Q
;;^DD(358,.05,"DT")
;;=2931201
;;^DD(358,.07,0)
;;=TOOL KIT^RS^0:NO;1:YES;^0;7^Q
;;^DD(358,.07,1,0)
;;=^.1
;;^DD(358,.07,1,1,0)
;;=358^C
;;^DD(358,.07,1,1,1)
;;=S ^IBE(358,"C",$E(X,1,30),DA)=""
;;^DD(358,.07,1,1,2)
;;=K ^IBE(358,"C",$E(X,1,30),DA)
;;^DD(358,.07,1,1,"%D",0)
;;=^^1^1^2930624^
;;^DD(358,.07,1,1,"%D",1,0)
;;=Used to find all of the tool kit forms.
;;^DD(358,.07,1,1,"DT")
;;=2930624
;;^DD(358,.07,3)
;;=Is this form part of the tool kit?
;;^DD(358,.07,21,0)
;;=^^3^3^2930607^
;;^DD(358,.07,21,1,0)
;;=
;;^DD(358,.07,21,2,0)
;;=This field, if set to YES, means that the form can not be deleted and can
;;^DD(358,.07,21,3,0)
;;=not be added to a clinic setup.
;;^DD(358,.07,"DT")
;;=2930624
;;^DD(358,.09,0)
;;=RIGHT MARGIN^RNJ3,0^^0;9^K:+X'=X!(X>300)!(X<1)!(X?.E1"."1N.N) X
;;^DD(358,.09,.1)
;;=FORM'S RIGHT MARGIN (WIDTH IN CHARACTERS)
;;^DD(358,.09,3)
;;=How many columns (characters) wide should the form be?
;;^DD(358,.09,21,0)
;;=^^2^2^2930607^
;;^DD(358,.09,21,1,0)
;;=
;;^DD(358,.09,21,2,0)
;;=The number of characters wide the form is.
;;^DD(358,.09,"DT")
;;=2930420
;;^DD(358,.1,0)
;;=PAGE LENGTH^RNJ3,0^^0;10^K:+X'=X!(X>300)!(X<1)!(X?.E1"."1N.N) X
;;^DD(358,.1,.1)
;;=FORM'S PAGE LENGTH (IN LINES)
;;^DD(358,.1,3)
;;=How many lines should the form have?
;;^DD(358,.1,21,0)
;;=^^2^2^2921213^
;;^DD(358,.1,21,1,0)
;;=
;;^DD(358,.1,21,2,0)
;;=This is the number of usable lines on the page.
;;^DD(358,.1,"DT")
;;=2930420
;;^DD(358,.11,0)
;;=NUMBER OF PAGES^RNJ2,0^^0;11^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
IBINI08R ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(358)
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,0,"GL")
+2 ;;=^IBE(358,
+3 ;;^DIC("B","IMP/EXP ENCOUNTER FORM",358)
+4 ;;=
+5 ;;^DIC(358,"%D",0)
+6 ;;=^^4^4^2940217^
+7 ;;^DIC(358,"%D",1,0)
+8 ;;=
+9 ;;^DIC(358,"%D",2,0)
+10 ;;=This file is nearly identical to file #357. It is used by the Import/Export
+11 ;;^DIC(358,"%D",3,0)
+12 ;;=Utility as a temporary staging area for data from that file that is being
+13 ;;^DIC(358,"%D",4,0)
+14 ;;=imported or exported.
+15 ;;^DD(358,0)
+16 ;;=FIELD^^1^9
+17 ;;^DD(358,0,"DDA")
+18 ;;=N
+19 ;;^DD(358,0,"DT")
+20 ;;=2931201
+21 ;;^DD(358,0,"ID",.03)
+22 ;;=W " ",$P(^(0),U,3)
+23 ;;^DD(358,0,"IX","B",358,.01)
+24 ;;=
+25 ;;^DD(358,0,"IX","C",358,.07)
+26 ;;=
+27 ;;^DD(358,0,"NM","IMP/EXP ENCOUNTER FORM")
+28 ;;=
+29 ;;^DD(358,0,"PT",358.1,.02)
+30 ;;=
+31 ;;^DD(358,.01,0)
+32 ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
+33 ;;^DD(358,.01,1,0)
+34 ;;=^.1
+35 ;;^DD(358,.01,1,1,0)
+36 ;;=358^B
+37 ;;^DD(358,.01,1,1,1)
+38 ;;=S ^IBE(358,"B",$E(X,1,30),DA)=""
+39 ;;^DD(358,.01,1,1,2)
+40 ;;=K ^IBE(358,"B",$E(X,1,30),DA)
+41 ;;^DD(358,.01,3)
+42 ;;=Answer must be 3-30 characters in length.
+43 ;;^DD(358,.01,21,0)
+44 ;;=^^2^2^2930527^
+45 ;;^DD(358,.01,21,1,0)
+46 ;;=
+47 ;;^DD(358,.01,21,2,0)
+48 ;;=The name of the encounter form.
+49 ;;^DD(358,.01,"DEL",1,0)
+50 ;;=I 1 W "...Encounter Forms can only be deleted through the",!," DELETE UNUSED FORM action in the Encounter Form Utilities!"
+51 ;;^DD(358,.01,"DT")
+52 ;;=2930225
+53 ;;^DD(358,.03,0)
+54 ;;=BRIEF DESCRIPTION^RF^^0;3^K:$L(X)>80!($L(X)<1) X
+55 ;;^DD(358,.03,.1)
+56 ;;=BRIEF DESRIPTION OF FORM'S USE & CONTENT
+57 ;;^DD(358,.03,3)
+58 ;;=Enter a brief description of the intended use of the form or its contents.
+59 ;;^DD(358,.03,21,0)
+60 ;;=^^3^3^2930607^
+61 ;;^DD(358,.03,21,1,0)
+62 ;;=
+63 ;;^DD(358,.03,21,2,0)
+64 ;;=A brief description of the contents of the form and its intended use. This
+65 ;;^DD(358,.03,21,3,0)
+66 ;;=description will be displayed to the user.
+67 ;;^DD(358,.03,"DT")
+68 ;;=2930420
+69 ;;^DD(358,.04,0)
+70 ;;=TYPE OF USE^RS^1:OUTPATIENT ENCOUNTER FORM;^0;4^Q
+71 ;;^DD(358,.04,3)
+72 ;;=How will the form be used?
+73 ;;^DD(358,.04,"DT")
+74 ;;=2930802
+75 ;;^DD(358,.05,0)
+76 ;;=COMPILED?^S^0:NO;1:YES;^0;5^Q
+77 ;;^DD(358,.05,"DT")
+78 ;;=2931201
+79 ;;^DD(358,.07,0)
+80 ;;=TOOL KIT^RS^0:NO;1:YES;^0;7^Q
+81 ;;^DD(358,.07,1,0)
+82 ;;=^.1
+83 ;;^DD(358,.07,1,1,0)
+84 ;;=358^C
+85 ;;^DD(358,.07,1,1,1)
+86 ;;=S ^IBE(358,"C",$E(X,1,30),DA)=""
+87 ;;^DD(358,.07,1,1,2)
+88 ;;=K ^IBE(358,"C",$E(X,1,30),DA)
+89 ;;^DD(358,.07,1,1,"%D",0)
+90 ;;=^^1^1^2930624^
+91 ;;^DD(358,.07,1,1,"%D",1,0)
+92 ;;=Used to find all of the tool kit forms.
+93 ;;^DD(358,.07,1,1,"DT")
+94 ;;=2930624
+95 ;;^DD(358,.07,3)
+96 ;;=Is this form part of the tool kit?
+97 ;;^DD(358,.07,21,0)
+98 ;;=^^3^3^2930607^
+99 ;;^DD(358,.07,21,1,0)
+100 ;;=
+101 ;;^DD(358,.07,21,2,0)
+102 ;;=This field, if set to YES, means that the form can not be deleted and can
+103 ;;^DD(358,.07,21,3,0)
+104 ;;=not be added to a clinic setup.
+105 ;;^DD(358,.07,"DT")
+106 ;;=2930624
+107 ;;^DD(358,.09,0)
+108 ;;=RIGHT MARGIN^RNJ3,0^^0;9^K:+X'=X!(X>300)!(X<1)!(X?.E1"."1N.N) X
+109 ;;^DD(358,.09,.1)
+110 ;;=FORM'S RIGHT MARGIN (WIDTH IN CHARACTERS)
+111 ;;^DD(358,.09,3)
+112 ;;=How many columns (characters) wide should the form be?
+113 ;;^DD(358,.09,21,0)
+114 ;;=^^2^2^2930607^
+115 ;;^DD(358,.09,21,1,0)
+116 ;;=
+117 ;;^DD(358,.09,21,2,0)
+118 ;;=The number of characters wide the form is.
+119 ;;^DD(358,.09,"DT")
+120 ;;=2930420
+121 ;;^DD(358,.1,0)
+122 ;;=PAGE LENGTH^RNJ3,0^^0;10^K:+X'=X!(X>300)!(X<1)!(X?.E1"."1N.N) X
+123 ;;^DD(358,.1,.1)
+124 ;;=FORM'S PAGE LENGTH (IN LINES)
+125 ;;^DD(358,.1,3)
+126 ;;=How many lines should the form have?
+127 ;;^DD(358,.1,21,0)
+128 ;;=^^2^2^2921213^
+129 ;;^DD(358,.1,21,1,0)
+130 ;;=
+131 ;;^DD(358,.1,21,2,0)
+132 ;;=This is the number of usable lines on the page.
+133 ;;^DD(358,.1,"DT")
+134 ;;=2930420
+135 ;;^DD(358,.11,0)
+136 ;;=NUMBER OF PAGES^RNJ2,0^^0;11^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X