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

IBINI09T.m

Go to the documentation of this file.
IBINI09T	; ; 21-MAR-1994
	;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
	Q:'DIFQ(399)  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(399,0,"GL")
	;;=^DGCR(399,
	;;^DIC("B","BILL/CLAIMS",399)
	;;=
	;;^DIC(399,"%D",0)
	;;=^^8^8^2940215^^^^
	;;^DIC(399,"%D",1,0)
	;;=This file contains all of the information necessary to complete a 
	;;^DIC(399,"%D",2,0)
	;;=Third Party billing form.
	;;^DIC(399,"%D",3,0)
	;;= 
	;;^DIC(399,"%D",4,0)
	;;=The entries in this file have matching entries in the Accounts Receivable
	;;^DIC(399,"%D",5,0)
	;;=file (430).  The internal number in the AR file is the same as the internal
	;;^DIC(399,"%D",6,0)
	;;=number in the BILL/CLAIMS file.
	;;^DIC(399,"%D",7,0)
	;;= 
	;;^DIC(399,"%D",8,0)
	;;=Per VHA Directive 10-93-142, this file definition should not be modified.
	;;^DD(399,0)
	;;=FIELD^^217^131
	;;^DD(399,0,"DDA")
	;;=N
	;;^DD(399,0,"DIK")
	;;=IBXX
	;;^DD(399,0,"DT")
	;;=2940310
	;;^DD(399,0,"ID",.02)
	;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DPT(+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(2,.01,0),U,2) D Y^DIQ:Y]"" W "   ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
	;;^DD(399,0,"ID",.03)
	;;=W "   ",$E($P(^(0),U,3),4,5)_"-"_$E($P(^(0),U,3),6,7)_"-"_$E($P(^(0),U,3),2,3)
	;;^DD(399,0,"ID",.05)
	;;=I $P(@(DIC_"Y,0)"),U,5) W "   ",$S($P(^(0),U,5)>2:"Outpatient",1:"Inpatient")
	;;^DD(399,0,"ID",.07)
	;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGCR(399.3,+$P(^(0),U,7),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(399.3,.01,0),U,2) D Y^DIQ:Y]"" W "   ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
	;;^DD(399,0,"ID",.13)
	;;=W "   ",@("$P($P($C(59)_$S($D(^DD(399,.13,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,13)_"":"",2),$C(59),1)")
	;;^DD(399,0,"IX","ABNDT",399,.03)
	;;=
	;;^DD(399,0,"IX","ABT",399,.05)
	;;=
	;;^DD(399,0,"IX","AC",399,.17)
	;;=
	;;^DD(399,0,"IX","AD",399,.07)
	;;=
	;;^DD(399,0,"IX","AE",399,101)
	;;=
	;;^DD(399,0,"IX","AI1",399,101)
	;;=
	;;^DD(399,0,"IX","AI11",399,112)
	;;=
	;;^DD(399,0,"IX","AI2",399,102)
	;;=
	;;^DD(399,0,"IX","AI21",399,113)
	;;=
	;;^DD(399,0,"IX","AI3",399,103)
	;;=
	;;^DD(399,0,"IX","AI31",399,114)
	;;=
	;;^DD(399,0,"IX","AML",399,111)
	;;=
	;;^DD(399,0,"IX","AML1",399,.11)
	;;=
	;;^DD(399,0,"IX","AOP",399,.13)
	;;=
	;;^DD(399,0,"IX","AOPV",399.043,.01)
	;;=
	;;^DD(399,0,"IX","AP",399,12)
	;;=
	;;^DD(399,0,"IX","APD",399,1)
	;;=
	;;^DD(399,0,"IX","APDT",399,.03)
	;;=
	;;^DD(399,0,"IX","APTF",399,.08)
	;;=
	;;^DD(399,0,"IX","AREV1",399.043,.01)
	;;=
	;;^DD(399,0,"IX","AREV2",399,151)
	;;=
	;;^DD(399,0,"IX","AREV3",399,152)
	;;=
	;;^DD(399,0,"IX","AREV4",399,101)
	;;=
	;;^DD(399,0,"IX","AREV5",399,111)
	;;=
	;;^DD(399,0,"IX","AREV6",399,.11)
	;;=
	;;^DD(399,0,"IX","AREV7",399,.19)
	;;=
	;;^DD(399,0,"IX","ASC1",399.042,.06)
	;;=
	;;^DD(399,0,"IX","ASC11",399.042,.07)
	;;=
	;;^DD(399,0,"IX","ASC2",399.042,.06)
	;;=
	;;^DD(399,0,"IX","ASC21",399.042,.07)
	;;=
	;;^DD(399,0,"IX","ASD",399.0304,.01)
	;;=
	;;^DD(399,0,"IX","ASD1",399.0304,1)
	;;=
	;;^DD(399,0,"IX","AST",399,.13)
	;;=
	;;^DD(399,0,"IX","B",399,.01)
	;;=
	;;^DD(399,0,"IX","C",399,.02)
	;;=
	;;^DD(399,0,"IX","D",399,.03)
	;;=
	;;^DD(399,0,"IX","E",399,12)
	;;=
	;;^DD(399,0,"NM","BILL/CLAIMS")
	;;=
	;;^DD(399,0,"PT",356,.11)
	;;=
	;;^DD(399,0,"PT",356.399,.02)
	;;=
	;;^DD(399,0,"PT",362.1,.03)
	;;=
	;;^DD(399,0,"PT",362.3,.02)
	;;=
	;;^DD(399,0,"PT",362.4,.02)
	;;=
	;;^DD(399,0,"PT",362.5,.02)
	;;=
	;;^DD(399,0,"PT",399,.15)
	;;=
	;;^DD(399,0,"PT",399,.17)
	;;=
	;;^DD(399,.01,0)
	;;=BILL NUMBER^RFXI^^0;1^K:X[""""!($A(X)=45) X I $D(X) K:X'?.ANP X I $D(X) K:$E(X)=" " X
	;;^DD(399,.01,1,0)
	;;=^.1
	;;^DD(399,.01,1,1,0)
	;;=399^B
	;;^DD(399,.01,1,1,1)
	;;=S ^DGCR(399,"B",$E(X,1,30),DA)=""
	;;^DD(399,.01,1,1,2)
	;;=K ^DGCR(399,"B",$E(X,1,30),DA)
	;;^DD(399,.01,1,3,0)
	;;=^^TRIGGER^399^1