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

IBINI01W.m

Go to the documentation of this file.
  1. IBINI01W ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(350.6) 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(350.6,0,"GL")
  1. ;;=^IBE(350.6,
  1. ;;^DIC("B","IB ARCHIVE/PURGE LOG",350.6)
  1. ;;=
  1. ;;^DIC(350.6,"%D",0)
  1. ;;=^^15^15^2940214^^
  1. ;;^DIC(350.6,"%D",1,0)
  1. ;;=This file will be used to track the archiving and purging operations
  1. ;;^DIC(350.6,"%D",2,0)
  1. ;;=of the following three data files used in billing:
  1. ;;^DIC(350.6,"%D",3,0)
  1. ;;=
  1. ;;^DIC(350.6,"%D",4,0)
  1. ;;= #350 INTEGRATED BILLING ACTION
  1. ;;^DIC(350.6,"%D",5,0)
  1. ;;= #351 CATEGORY C BILLING CLOCK
  1. ;;^DIC(350.6,"%D",6,0)
  1. ;;= #399 BILL/CLAIMS
  1. ;;^DIC(350.6,"%D",7,0)
  1. ;;=
  1. ;;^DIC(350.6,"%D",8,0)
  1. ;;=A log entry will be filed when an archival "search" is initiated for
  1. ;;^DIC(350.6,"%D",9,0)
  1. ;;=one of these files. Once the search end date is logged, archiving
  1. ;;^DIC(350.6,"%D",10,0)
  1. ;;=will be permitted, and subsequently purging will be allowed when the
  1. ;;^DIC(350.6,"%D",11,0)
  1. ;;=archive end date is logged. The log entry is thus used to assure that
  1. ;;^DIC(350.6,"%D",12,0)
  1. ;;=all the necessary steps for archiving and purging are performed in
  1. ;;^DIC(350.6,"%D",13,0)
  1. ;;=their entirety in the correct order.
  1. ;;^DIC(350.6,"%D",14,0)
  1. ;;=
  1. ;;^DIC(350.6,"%D",15,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(350.6,0)
  1. ;;=FIELD^^3.03^14
  1. ;;^DD(350.6,0,"DDA")
  1. ;;=N
  1. ;;^DD(350.6,0,"DT")
  1. ;;=2920408
  1. ;;^DD(350.6,0,"ID",.03)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DIC(+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(1,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(350.6,0,"ID",.05)
  1. ;;=W " ",@("$P($P($C(59)_$S($D(^DD(350.6,.05,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,5)_"":"",2),$C(59),1)")
  1. ;;^DD(350.6,0,"ID",1.01)
  1. ;;=W:$D(^(1)) " ",$E($P(^(1),U,1),4,5)_"-"_$E($P(^(1),U,1),6,7)_"-"_$E($P(^(1),U,1),2,3)
  1. ;;^DD(350.6,0,"IX","AF",350.6,.03)
  1. ;;=
  1. ;;^DD(350.6,0,"IX","AF1",350.6,1.01)
  1. ;;=
  1. ;;^DD(350.6,0,"IX","B",350.6,.01)
  1. ;;=
  1. ;;^DD(350.6,0,"IX","C",350.6,.02)
  1. ;;=
  1. ;;^DD(350.6,0,"IX","D",350.6,.03)
  1. ;;=
  1. ;;^DD(350.6,0,"IX","E",350.6,.05)
  1. ;;=
  1. ;;^DD(350.6,0,"NM","IB ARCHIVE/PURGE LOG")
  1. ;;=
  1. ;;^DD(350.6,.01,0)
  1. ;;=ARCHIVE LOG #^RNJ15,0^^0;1^K:+X'=X!(X>999999999999999)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(350.6,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(350.6,.01,1,1,0)
  1. ;;=350.6^B
  1. ;;^DD(350.6,.01,1,1,1)
  1. ;;=S ^IBE(350.6,"B",$E(X,1,30),DA)=""
  1. ;;^DD(350.6,.01,1,1,2)
  1. ;;=K ^IBE(350.6,"B",$E(X,1,30),DA)
  1. ;;^DD(350.6,.01,3)
  1. ;;=Type a Number between 1 and 999999999999999, 0 Decimal Digits
  1. ;;^DD(350.6,.01,21,0)
  1. ;;=^^3^3^2920427^^^
  1. ;;^DD(350.6,.01,21,1,0)
  1. ;;=The Log # number is used to identify a unique archive/purge operation
  1. ;;^DD(350.6,.01,21,2,0)
  1. ;;=for a single file. The number will be equal to the internal entry
  1. ;;^DD(350.6,.01,21,3,0)
  1. ;;=number of the Log entry.
  1. ;;^DD(350.6,.01,"DT")
  1. ;;=2920408
  1. ;;^DD(350.6,.02,0)
  1. ;;=SEARCH TEMPLATE^F^^0;2^K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>33!($L(X)<6) X
  1. ;;^DD(350.6,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(350.6,.02,1,1,0)
  1. ;;=350.6^C
  1. ;;^DD(350.6,.02,1,1,1)
  1. ;;=S ^IBE(350.6,"C",$E(X,1,30),DA)=""
  1. ;;^DD(350.6,.02,1,1,2)
  1. ;;=K ^IBE(350.6,"C",$E(X,1,30),DA)
  1. ;;^DD(350.6,.02,1,1,"DT")
  1. ;;=2920408
  1. ;;^DD(350.6,.02,3)
  1. ;;=Answer must be 6-33 characters in length.
  1. ;;^DD(350.6,.02,21,0)
  1. ;;=^^7^7^2920427^
  1. ;;^DD(350.6,.02,21,1,0)
  1. ;;=This field contains the name of the Search Template used to contain the
  1. ;;^DD(350.6,.02,21,2,0)
  1. ;;=list of entries to be archived/purged. This name is the .01 field for
  1. ;;^DD(350.6,.02,21,3,0)
  1. ;;=the template entry in the SORT TEMPLATE file (#.401). The name of the
  1. ;;^DD(350.6,.02,21,4,0)
  1. ;;=template is stored instead of a hard pointer to the SORT TEMPLATE file