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

IBINI09L.m

Go to the documentation of this file.
  1. IBINI09L ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(362.1) 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(362.1,0,"GL")
  1. ;;=^IBA(362.1,
  1. ;;^DIC("B","IB AUTOMATED BILLING COMMENTS",362.1)
  1. ;;=
  1. ;;^DIC(362.1,"%D",0)
  1. ;;=^^22^22^2940214^^^
  1. ;;^DIC(362.1,"%D",1,0)
  1. ;;=This file contains entries created by the Third Party automated biller.
  1. ;;^DIC(362.1,"%D",2,0)
  1. ;;=As the auto biller attempts to create bills based on events in Claims
  1. ;;^DIC(362.1,"%D",3,0)
  1. ;;=Tracking it sets entries in this file indicating the action taken by the
  1. ;;^DIC(362.1,"%D",4,0)
  1. ;;=auto biller for the event. The only way entries are added to this
  1. ;;^DIC(362.1,"%D",5,0)
  1. ;;=file is by the auto biller, there is no user entry.
  1. ;;^DIC(362.1,"%D",6,0)
  1. ;;=
  1. ;;^DIC(362.1,"%D",7,0)
  1. ;;=An entry may be created for the event if a bill could not be created, this
  1. ;;^DIC(362.1,"%D",8,0)
  1. ;;=entry will contain a comment on why the bill could not be created.
  1. ;;^DIC(362.1,"%D",9,0)
  1. ;;=If the Claims Tracking event could not be billed because the Earliest
  1. ;;^DIC(362.1,"%D",10,0)
  1. ;;=Auto Bill date did not match the time frame set by the parameters, no
  1. ;;^DIC(362.1,"%D",11,0)
  1. ;;=entry is made in this file but the events Earliest Auto Bill Date is
  1. ;;^DIC(362.1,"%D",12,0)
  1. ;;=reset.
  1. ;;^DIC(362.1,"%D",13,0)
  1. ;;=An entry will be created for every event that a bill was created for, in
  1. ;;^DIC(362.1,"%D",14,0)
  1. ;;=some cases these entries will have comments about the event that may be of
  1. ;;^DIC(362.1,"%D",15,0)
  1. ;;=interest to billing the event.
  1. ;;^DIC(362.1,"%D",16,0)
  1. ;;=
  1. ;;^DIC(362.1,"%D",17,0)
  1. ;;=Entries are deleted from this file in two ways. Entries for events that
  1. ;;^DIC(362.1,"%D",18,0)
  1. ;;=were billed are only deleted by the system, when the bill is either
  1. ;;^DIC(362.1,"%D",19,0)
  1. ;;=cancelled or authorized. Entries without corresponding bills must be
  1. ;;^DIC(362.1,"%D",20,0)
  1. ;;=manually deleted by a user, with the option provided.
  1. ;;^DIC(362.1,"%D",21,0)
  1. ;;=
  1. ;;^DIC(362.1,"%D",22,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(362.1,0)
  1. ;;=FIELD^^11^5
  1. ;;^DD(362.1,0,"DDA")
  1. ;;=N
  1. ;;^DD(362.1,0,"DT")
  1. ;;=2930903
  1. ;;^DD(362.1,0,"ID",.02)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBT(356,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(356,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(362.1,0,"ID",.03)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGCR(399,+$P(^(0),U,3),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(362.1,0,"IX","B",362.1,.01)
  1. ;;=
  1. ;;^DD(362.1,0,"IX","C",362.1,.02)
  1. ;;=
  1. ;;^DD(362.1,0,"IX","D",362.1,.03)
  1. ;;=
  1. ;;^DD(362.1,0,"NM","IB AUTOMATED BILLING COMMENTS")
  1. ;;=
  1. ;;^DD(362.1,.01,0)
  1. ;;=NUMBER^RNJ3,0^^0;1^K:+X'=X!(X>999)!(X<0)!(X?.E1"."1N.N) X
  1. ;;^DD(362.1,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(362.1,.01,1,1,0)
  1. ;;=362.1^B
  1. ;;^DD(362.1,.01,1,1,1)
  1. ;;=S ^IBA(362.1,"B",$E(X,1,30),DA)=""
  1. ;;^DD(362.1,.01,1,1,2)
  1. ;;=K ^IBA(362.1,"B",$E(X,1,30),DA)
  1. ;;^DD(362.1,.01,3)
  1. ;;=Type a Number between 0 and 999, 0 Decimal Digits
  1. ;;^DD(362.1,.01,21,0)
  1. ;;=^^1^1^2931229^
  1. ;;^DD(362.1,.01,21,1,0)
  1. ;;=A reference number that should be unique for each entry.
  1. ;;^DD(362.1,.01,"DT")
  1. ;;=2930903
  1. ;;^DD(362.1,.02,0)
  1. ;;=CLAIMS TRACKING ID^P356'^IBT(356,^0;2^Q
  1. ;;^DD(362.1,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(362.1,.02,1,1,0)
  1. ;;=362.1^C
  1. ;;^DD(362.1,.02,1,1,1)
  1. ;;=S ^IBA(362.1,"C",$E(X,1,30),DA)=""
  1. ;;^DD(362.1,.02,1,1,2)
  1. ;;=K ^IBA(362.1,"C",$E(X,1,30),DA)
  1. ;;^DD(362.1,.02,1,1,"DT")
  1. ;;=2930905
  1. ;;^DD(362.1,.02,3)
  1. ;;=Enter a Claims Tracking event.
  1. ;;^DD(362.1,.02,21,0)
  1. ;;=^^1^1^2931229^
  1. ;;^DD(362.1,.02,21,1,0)
  1. ;;=The Claims Tracking event for this comment entry.