Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: IBINI0CB

IBINI0CB.m

Go to the documentation of this file.
  1. IBINI0CB ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. 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
  1. Q Q
  1. ;;^DIC(409.96,0,"GL")
  1. ;;=^SD(409.96,
  1. ;;^DIC("B","PRINT MANAGER DIVISION SETUP",409.96)
  1. ;;=
  1. ;;^DIC(409.96,"%D",0)
  1. ;;=^^7^7^2940307^^^^
  1. ;;^DIC(409.96,"%D",1,0)
  1. ;;=
  1. ;;^DIC(409.96,"%D",2,0)
  1. ;;=
  1. ;;^DIC(409.96,"%D",3,0)
  1. ;;=This file allows the user to specify reports or forms that should print in
  1. ;;^DIC(409.96,"%D",4,0)
  1. ;;=addition to the encounter forms for the entire division . Only reports
  1. ;;^DIC(409.96,"%D",5,0)
  1. ;;=contained in the Package Interface file can be specified. The user can
  1. ;;^DIC(409.96,"%D",6,0)
  1. ;;=also specify the conditions under which the report should print. The
  1. ;;^DIC(409.96,"%D",7,0)
  1. ;;=intent is to print packets of forms that do not require manual collation.
  1. ;;^DD(409.96,0)
  1. ;;=FIELD^^1^2
  1. ;;^DD(409.96,0,"DDA")
  1. ;;=N
  1. ;;^DD(409.96,0,"IX","A",409.961,.01)
  1. ;;=
  1. ;;^DD(409.96,0,"IX","A1",409.961,.02)
  1. ;;=
  1. ;;^DD(409.96,0,"IX","B",409.96,.01)
  1. ;;=
  1. ;;^DD(409.96,0,"NM","PRINT MANAGER DIVISION SETUP")
  1. ;;=
  1. ;;^DD(409.96,.01,0)
  1. ;;=DIVISION^RP40.8'^DG(40.8,^0;1^Q
  1. ;;^DD(409.96,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(409.96,.01,1,1,0)
  1. ;;=409.96^B
  1. ;;^DD(409.96,.01,1,1,1)
  1. ;;=S ^SD(409.96,"B",$E(X,1,30),DA)=""
  1. ;;^DD(409.96,.01,1,1,2)
  1. ;;=K ^SD(409.96,"B",$E(X,1,30),DA)
  1. ;;^DD(409.96,.01,3)
  1. ;;=Enter the division for which you want to specify forms.
  1. ;;^DD(409.96,.01,21,0)
  1. ;;=^^2^2^2930623^^^^
  1. ;;^DD(409.96,.01,21,1,0)
  1. ;;=
  1. ;;^DD(409.96,.01,21,2,0)
  1. ;;=The division the setup is for.
  1. ;;^DD(409.96,.01,"DT")
  1. ;;=2930518
  1. ;;^DD(409.96,1,0)
  1. ;;=REPORT^409.961IP^^1;0
  1. ;;^DD(409.96,1,12)
  1. ;;=Allows only package interfaces that print reports and that are available.
  1. ;;^DD(409.96,1,12.1)
  1. ;;=S DIC("S")="I $P(^(0),U,6)=4,$P(^(0),U,9)=1"
  1. ;;^DD(409.96,1,21,0)
  1. ;;=^^2^2^2930528^
  1. ;;^DD(409.96,1,21,1,0)
  1. ;;=
  1. ;;^DD(409.96,1,21,2,0)
  1. ;;=The reports that should print.
  1. ;;^DD(409.96,1,"DT")
  1. ;;=2930520
  1. ;;^DD(409.961,0)
  1. ;;=REPORT SUB-FIELD^^.02^2
  1. ;;^DD(409.961,0,"ID",.02)
  1. ;;=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
  1. ;;^DD(409.961,0,"IX","B",409.961,.01)
  1. ;;=
  1. ;;^DD(409.961,0,"NM","REPORT")
  1. ;;=
  1. ;;^DD(409.961,0,"UP")
  1. ;;=409.96
  1. ;;^DD(409.961,.01,0)
  1. ;;=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
  1. ;;^DD(409.961,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(409.961,.01,1,1,0)
  1. ;;=409.961^B
  1. ;;^DD(409.961,.01,1,1,1)
  1. ;;=S ^SD(409.96,DA(1),1,"B",$E(X,1,30),DA)=""
  1. ;;^DD(409.961,.01,1,1,2)
  1. ;;=K ^SD(409.96,DA(1),1,"B",$E(X,1,30),DA)
  1. ;;^DD(409.961,.01,1,2,0)
  1. ;;=409.96^A^MUMPS
  1. ;;^DD(409.961,.01,1,2,1)
  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)=""
  1. ;;^DD(409.961,.01,1,2,2)
  1. ;;=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)
  1. ;;^DD(409.961,.01,1,2,"%D",0)
  1. ;;=^^7^7^2940216^
  1. ;;^DD(409.961,.01,1,2,"%D",1,0)
  1. ;;=
  1. ;;^DD(409.961,.01,1,2,"%D",2,0)
  1. ;;=
  1. ;;^DD(409.961,.01,1,2,"%D",3,0)
  1. ;;=Allows all of the reports that should print under certain conditons for
  1. ;;^DD(409.961,.01,1,2,"%D",4,0)
  1. ;;=the division to be found. The subscripts are ^SD(409.96,"A",<division
  1. ;;^DD(409.961,.01,1,2,"%D",5,0)
  1. ;;=ien>,<print condition ien >, <package interface ien>, <division setup
  1. ;;^DD(409.961,.01,1,2,"%D",6,0)
  1. ;;=ien>, <report multiple ien>). It is not necessary to re-index the A1
  1. ;;^DD(409.961,.01,1,2,"%D",7,0)
  1. ;;=cross-reference on the PRINT CONDITION field if this field is re-indexed.