IBINI0CB ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(409.96) 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(409.96,0,"GL")
;;=^SD(409.96,
;;^DIC("B","PRINT MANAGER DIVISION SETUP",409.96)
;;=
;;^DIC(409.96,"%D",0)
;;=^^7^7^2940307^^^^
;;^DIC(409.96,"%D",1,0)
;;=
;;^DIC(409.96,"%D",2,0)
;;=
;;^DIC(409.96,"%D",3,0)
;;=This file allows the user to specify reports or forms that should print in
;;^DIC(409.96,"%D",4,0)
;;=addition to the encounter forms for the entire division . Only reports
;;^DIC(409.96,"%D",5,0)
;;=contained in the Package Interface file can be specified. The user can
;;^DIC(409.96,"%D",6,0)
;;=also specify the conditions under which the report should print. The
;;^DIC(409.96,"%D",7,0)
;;=intent is to print packets of forms that do not require manual collation.
;;^DD(409.96,0)
;;=FIELD^^1^2
;;^DD(409.96,0,"DDA")
;;=N
;;^DD(409.96,0,"IX","A",409.961,.01)
;;=
;;^DD(409.96,0,"IX","A1",409.961,.02)
;;=
;;^DD(409.96,0,"IX","B",409.96,.01)
;;=
;;^DD(409.96,0,"NM","PRINT MANAGER DIVISION SETUP")
;;=
;;^DD(409.96,.01,0)
;;=DIVISION^RP40.8'^DG(40.8,^0;1^Q
;;^DD(409.96,.01,1,0)
;;=^.1
;;^DD(409.96,.01,1,1,0)
;;=409.96^B
;;^DD(409.96,.01,1,1,1)
;;=S ^SD(409.96,"B",$E(X,1,30),DA)=""
;;^DD(409.96,.01,1,1,2)
;;=K ^SD(409.96,"B",$E(X,1,30),DA)
;;^DD(409.96,.01,3)
;;=Enter the division for which you want to specify forms.
;;^DD(409.96,.01,21,0)
;;=^^2^2^2930623^^^^
;;^DD(409.96,.01,21,1,0)
;;=
;;^DD(409.96,.01,21,2,0)
;;=The division the setup is for.
;;^DD(409.96,.01,"DT")
;;=2930518
;;^DD(409.96,1,0)
;;=REPORT^409.961IP^^1;0
;;^DD(409.96,1,12)
;;=Allows only package interfaces that print reports and that are available.
;;^DD(409.96,1,12.1)
;;=S DIC("S")="I $P(^(0),U,6)=4,$P(^(0),U,9)=1"
;;^DD(409.96,1,21,0)
;;=^^2^2^2930528^
;;^DD(409.96,1,21,1,0)
;;=
;;^DD(409.96,1,21,2,0)
;;=The reports that should print.
;;^DD(409.96,1,"DT")
;;=2930520
;;^DD(409.961,0)
;;=REPORT SUB-FIELD^^.02^2
;;^DD(409.961,0,"ID",.02)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(357.92,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(357.92,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(409.961,0,"IX","B",409.961,.01)
;;=
;;^DD(409.961,0,"NM","REPORT")
;;=
;;^DD(409.961,0,"UP")
;;=409.96
;;^DD(409.961,.01,0)
;;=REPORT^M*P357.6'^IBE(357.6,^0;1^S DIC("S")="I $P(^(0),U,6)=4,$P(^(0),U,9)=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(409.961,.01,1,0)
;;=^.1
;;^DD(409.961,.01,1,1,0)
;;=409.961^B
;;^DD(409.961,.01,1,1,1)
;;=S ^SD(409.96,DA(1),1,"B",$E(X,1,30),DA)=""
;;^DD(409.961,.01,1,1,2)
;;=K ^SD(409.96,DA(1),1,"B",$E(X,1,30),DA)
;;^DD(409.961,.01,1,2,0)
;;=409.96^A^MUMPS
;;^DD(409.961,.01,1,2,1)
;;=I $P(^SD(409.96,DA(1),1,DA,0),U,2) S ^SD(409.96,"A",$P(^SD(409.96,DA(1),0),U),$P(^SD(409.96,DA(1),1,DA,0),U,2),X,DA(1),DA)=""
;;^DD(409.961,.01,1,2,2)
;;=I $P(^SD(409.96,DA(1),1,DA,0),U,2) K ^SD(409.96,"A",$P(^SD(409.96,DA(1),0),U),$P(^SD(409.96,DA(1),1,DA,0),U,2),X,DA(1),DA)
;;^DD(409.961,.01,1,2,"%D",0)
;;=^^7^7^2940216^
;;^DD(409.961,.01,1,2,"%D",1,0)
;;=
;;^DD(409.961,.01,1,2,"%D",2,0)
;;=
;;^DD(409.961,.01,1,2,"%D",3,0)
;;=Allows all of the reports that should print under certain conditons for
;;^DD(409.961,.01,1,2,"%D",4,0)
;;=the division to be found. The subscripts are ^SD(409.96,"A",<division
;;^DD(409.961,.01,1,2,"%D",5,0)
;;=ien>,<print condition ien >, <package interface ien>, <division setup
;;^DD(409.961,.01,1,2,"%D",6,0)
;;=ien>, <report multiple ien>). It is not necessary to re-index the A1
;;^DD(409.961,.01,1,2,"%D",7,0)
;;=cross-reference on the PRINT CONDITION field if this field is re-indexed.
IBINI0CB ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(409.96)
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(409.96,0,"GL")
+2 ;;=^SD(409.96,
+3 ;;^DIC("B","PRINT MANAGER DIVISION SETUP",409.96)
+4 ;;=
+5 ;;^DIC(409.96,"%D",0)
+6 ;;=^^7^7^2940307^^^^
+7 ;;^DIC(409.96,"%D",1,0)
+8 ;;=
+9 ;;^DIC(409.96,"%D",2,0)
+10 ;;=
+11 ;;^DIC(409.96,"%D",3,0)
+12 ;;=This file allows the user to specify reports or forms that should print in
+13 ;;^DIC(409.96,"%D",4,0)
+14 ;;=addition to the encounter forms for the entire division . Only reports
+15 ;;^DIC(409.96,"%D",5,0)
+16 ;;=contained in the Package Interface file can be specified. The user can
+17 ;;^DIC(409.96,"%D",6,0)
+18 ;;=also specify the conditions under which the report should print. The
+19 ;;^DIC(409.96,"%D",7,0)
+20 ;;=intent is to print packets of forms that do not require manual collation.
+21 ;;^DD(409.96,0)
+22 ;;=FIELD^^1^2
+23 ;;^DD(409.96,0,"DDA")
+24 ;;=N
+25 ;;^DD(409.96,0,"IX","A",409.961,.01)
+26 ;;=
+27 ;;^DD(409.96,0,"IX","A1",409.961,.02)
+28 ;;=
+29 ;;^DD(409.96,0,"IX","B",409.96,.01)
+30 ;;=
+31 ;;^DD(409.96,0,"NM","PRINT MANAGER DIVISION SETUP")
+32 ;;=
+33 ;;^DD(409.96,.01,0)
+34 ;;=DIVISION^RP40.8'^DG(40.8,^0;1^Q
+35 ;;^DD(409.96,.01,1,0)
+36 ;;=^.1
+37 ;;^DD(409.96,.01,1,1,0)
+38 ;;=409.96^B
+39 ;;^DD(409.96,.01,1,1,1)
+40 ;;=S ^SD(409.96,"B",$E(X,1,30),DA)=""
+41 ;;^DD(409.96,.01,1,1,2)
+42 ;;=K ^SD(409.96,"B",$E(X,1,30),DA)
+43 ;;^DD(409.96,.01,3)
+44 ;;=Enter the division for which you want to specify forms.
+45 ;;^DD(409.96,.01,21,0)
+46 ;;=^^2^2^2930623^^^^
+47 ;;^DD(409.96,.01,21,1,0)
+48 ;;=
+49 ;;^DD(409.96,.01,21,2,0)
+50 ;;=The division the setup is for.
+51 ;;^DD(409.96,.01,"DT")
+52 ;;=2930518
+53 ;;^DD(409.96,1,0)
+54 ;;=REPORT^409.961IP^^1;0
+55 ;;^DD(409.96,1,12)
+56 ;;=Allows only package interfaces that print reports and that are available.
+57 ;;^DD(409.96,1,12.1)
+58 ;;=S DIC("S")="I $P(^(0),U,6)=4,$P(^(0),U,9)=1"
+59 ;;^DD(409.96,1,21,0)
+60 ;;=^^2^2^2930528^
+61 ;;^DD(409.96,1,21,1,0)
+62 ;;=
+63 ;;^DD(409.96,1,21,2,0)
+64 ;;=The reports that should print.
+65 ;;^DD(409.96,1,"DT")
+66 ;;=2930520
+67 ;;^DD(409.961,0)
+68 ;;=REPORT SUB-FIELD^^.02^2
+69 ;;^DD(409.961,0,"ID",.02)
+70 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBE(357.92,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(357.92,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+71 ;;^DD(409.961,0,"IX","B",409.961,.01)
+72 ;;=
+73 ;;^DD(409.961,0,"NM","REPORT")
+74 ;;=
+75 ;;^DD(409.961,0,"UP")
+76 ;;=409.96
+77 ;;^DD(409.961,.01,0)
+78 ;;=REPORT^M*P357.6'^IBE(357.6,^0;1^S DIC("S")="I $P(^(0),U,6)=4,$P(^(0),U,9)=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+79 ;;^DD(409.961,.01,1,0)
+80 ;;=^.1
+81 ;;^DD(409.961,.01,1,1,0)
+82 ;;=409.961^B
+83 ;;^DD(409.961,.01,1,1,1)
+84 ;;=S ^SD(409.96,DA(1),1,"B",$E(X,1,30),DA)=""
+85 ;;^DD(409.961,.01,1,1,2)
+86 ;;=K ^SD(409.96,DA(1),1,"B",$E(X,1,30),DA)
+87 ;;^DD(409.961,.01,1,2,0)
+88 ;;=409.96^A^MUMPS
+89 ;;^DD(409.961,.01,1,2,1)
+90 ;;=I $P(^SD(409.96,DA(1),1,DA,0),U,2) S ^SD(409.96,"A",$P(^SD(409.96,DA(1),0),U),$P(^SD(409.96,DA(1),1,DA,0),U,2),X,DA(1),DA)=""
+91 ;;^DD(409.961,.01,1,2,2)
+92 ;;=I $P(^SD(409.96,DA(1),1,DA,0),U,2) K ^SD(409.96,"A",$P(^SD(409.96,DA(1),0),U),$P(^SD(409.96,DA(1),1,DA,0),U,2),X,DA(1),DA)
+93 ;;^DD(409.961,.01,1,2,"%D",0)
+94 ;;=^^7^7^2940216^
+95 ;;^DD(409.961,.01,1,2,"%D",1,0)
+96 ;;=
+97 ;;^DD(409.961,.01,1,2,"%D",2,0)
+98 ;;=
+99 ;;^DD(409.961,.01,1,2,"%D",3,0)
+100 ;;=Allows all of the reports that should print under certain conditons for
+101 ;;^DD(409.961,.01,1,2,"%D",4,0)
+102 ;;=the division to be found. The subscripts are ^SD(409.96,"A",<division
+103 ;;^DD(409.961,.01,1,2,"%D",5,0)
+104 ;;=ien>,<print condition ien >, <package interface ien>, <division setup
+105 ;;^DD(409.961,.01,1,2,"%D",6,0)
+106 ;;=ien>, <report multiple ien>). It is not necessary to re-index the A1
+107 ;;^DD(409.961,.01,1,2,"%D",7,0)
+108 ;;=cross-reference on the PRINT CONDITION field if this field is re-indexed.