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

IBINI06H.m

Go to the documentation of this file.
  1. IBINI06H ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(356.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
  1. Q Q
  1. ;;^DIC(356.399,0,"GL")
  1. ;;=^IBT(356.399,
  1. ;;^DIC("B","CLAIMS TRACKING/BILL",356.399)
  1. ;;=
  1. ;;^DIC(356.399,"%D",0)
  1. ;;=^^8^8^2940214^^
  1. ;;^DIC(356.399,"%D",1,0)
  1. ;;=This file serves as a bridge between Claims Tracking and the Bill Claims
  1. ;;^DIC(356.399,"%D",2,0)
  1. ;;=file. An entry is created automatically by the billing module to link
  1. ;;^DIC(356.399,"%D",3,0)
  1. ;;=the events being billed to the claims tracking entry. It serves as a
  1. ;;^DIC(356.399,"%D",4,0)
  1. ;;=cross-reference in a many to many relationship for the entries in these
  1. ;;^DIC(356.399,"%D",5,0)
  1. ;;=two files. Entries should not normally be added or edited manualy in
  1. ;;^DIC(356.399,"%D",6,0)
  1. ;;=this file. It should be maintained by the Billing Module.
  1. ;;^DIC(356.399,"%D",7,0)
  1. ;;=
  1. ;;^DIC(356.399,"%D",8,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(356.399,0)
  1. ;;=FIELD^^.02^2
  1. ;;^DD(356.399,0,"DDA")
  1. ;;=N
  1. ;;^DD(356.399,0,"DT")
  1. ;;=2930726
  1. ;;^DD(356.399,0,"ID",.02)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGCR(399,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(399,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(356.399,0,"IX","ACB",356.399,.02)
  1. ;;=
  1. ;;^DD(356.399,0,"IX","ACB1",356.399,.01)
  1. ;;=
  1. ;;^DD(356.399,0,"IX","B",356.399,.01)
  1. ;;=
  1. ;;^DD(356.399,0,"IX","C",356.399,.02)
  1. ;;=
  1. ;;^DD(356.399,0,"NM","CLAIMS TRACKING/BILL")
  1. ;;=
  1. ;;^DD(356.399,.01,0)
  1. ;;=CLAIM TRACKING ID^RP356'^IBT(356,^0;1^Q
  1. ;;^DD(356.399,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(356.399,.01,1,1,0)
  1. ;;=356.399^B
  1. ;;^DD(356.399,.01,1,1,1)
  1. ;;=S ^IBT(356.399,"B",$E(X,1,30),DA)=""
  1. ;;^DD(356.399,.01,1,1,2)
  1. ;;=K ^IBT(356.399,"B",$E(X,1,30),DA)
  1. ;;^DD(356.399,.01,1,2,0)
  1. ;;=356.399^ACB1^MUMPS
  1. ;;^DD(356.399,.01,1,2,1)
  1. ;;=S:$P(^IBT(356.399,DA,0),U,2) ^IBT(356.399,"ACB",X,$P(^(0),U,2),DA)=""
  1. ;;^DD(356.399,.01,1,2,2)
  1. ;;=K:$P(^IBT(356.399,DA,0),U,2) ^IBT(356.399,"ACB",X,$P(^(0),U,2),DA)
  1. ;;^DD(356.399,.01,1,2,"%D",0)
  1. ;;=^^2^2^2940213^
  1. ;;^DD(356.399,.01,1,2,"%D",1,0)
  1. ;;=Cross reference of bills and claims tracking entries. Used to find
  1. ;;^DD(356.399,.01,1,2,"%D",2,0)
  1. ;;=all bills associated with a claims tracking entry.
  1. ;;^DD(356.399,.01,1,2,"DT")
  1. ;;=2930802
  1. ;;^DD(356.399,.01,3)
  1. ;;=The Claims Tracking ID to cross-reference with Bill Numbers.
  1. ;;^DD(356.399,.01,21,0)
  1. ;;=^^1^1^2931128^^^^
  1. ;;^DD(356.399,.01,21,1,0)
  1. ;;=This is the Claims Tracking entry that is associated with this bill.
  1. ;;^DD(356.399,.01,"DT")
  1. ;;=2930802
  1. ;;^DD(356.399,.02,0)
  1. ;;=BILL NUMBER^RP399'^DGCR(399,^0;2^Q
  1. ;;^DD(356.399,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(356.399,.02,1,1,0)
  1. ;;=356.399^ACB^MUMPS
  1. ;;^DD(356.399,.02,1,1,1)
  1. ;;=S:$P(^IBT(356.399,DA,0),U,1) ^IBT(356.399,"ACB",+^(0),X,DA)=""
  1. ;;^DD(356.399,.02,1,1,2)
  1. ;;=K:$P(^IBT(356.399,DA,0),U,1) ^IBT(356.399,"ACB",+^(0),X,DA)
  1. ;;^DD(356.399,.02,1,1,"%D",0)
  1. ;;=^^1^1^2930802^
  1. ;;^DD(356.399,.02,1,1,"%D",1,0)
  1. ;;=Cross-reference of claims events and bills.
  1. ;;^DD(356.399,.02,1,1,"DT")
  1. ;;=2930802
  1. ;;^DD(356.399,.02,1,2,0)
  1. ;;=356.399^C
  1. ;;^DD(356.399,.02,1,2,1)
  1. ;;=S ^IBT(356.399,"C",$E(X,1,30),DA)=""
  1. ;;^DD(356.399,.02,1,2,2)
  1. ;;=K ^IBT(356.399,"C",$E(X,1,30),DA)
  1. ;;^DD(356.399,.02,1,2,"DT")
  1. ;;=2931029
  1. ;;^DD(356.399,.02,1,3,0)
  1. ;;=^^TRIGGER^356^.11
  1. ;;^DD(356.399,.02,1,3,1)
  1. ;;=X ^DD(356.399,.02,1,3,1.3) I X S X=DIV X ^DD(356.399,.02,1,3,89.2) S X=$S('$D(^DGCR(399,+$P(Y(101),U,11),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) S DIU=X K Y X ^DD(356.399,.02,1,3,1.1) X ^DD(356.399,.02,1,3,1.4)
  1. ;;^DD(356.399,.02,1,3,1.1)
  1. ;;=S X=DIV S X=$P(^IBT(356.399,DA,0),U,2)
  1. ;;^DD(356.399,.02,1,3,1.3)
  1. ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(0)=X X ^DD(356.399,.02,1,3,69.2) S X=$S('$D(^DGCR(399,+$P(Y(101),U,11),0)):"",1:$P(^(0),U,1))="" S D0=I(0,0)