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

IBINI01X.m

Go to the documentation of this file.
  1. IBINI01X ; ; 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. ;;^DD(350.6,.02,21,5,0)
  1. ;;=because the template is deleted from the file after the entries have
  1. ;;^DD(350.6,.02,21,6,0)
  1. ;;=been purged. The name of the template is the string "IB ARCHIVE/PURGE #"
  1. ;;^DD(350.6,.02,21,7,0)
  1. ;;=concatenated with the Archive Log # (field .01).
  1. ;;^DD(350.6,.02,"DT")
  1. ;;=2920408
  1. ;;^DD(350.6,.03,0)
  1. ;;=ARCHIVE FILE^P1'^DIC(^0;3^Q
  1. ;;^DD(350.6,.03,1,0)
  1. ;;=^.1
  1. ;;^DD(350.6,.03,1,1,0)
  1. ;;=350.6^D
  1. ;;^DD(350.6,.03,1,1,1)
  1. ;;=S ^IBE(350.6,"D",$E(X,1,30),DA)=""
  1. ;;^DD(350.6,.03,1,1,2)
  1. ;;=K ^IBE(350.6,"D",$E(X,1,30),DA)
  1. ;;^DD(350.6,.03,1,1,"DT")
  1. ;;=2920408
  1. ;;^DD(350.6,.03,1,2,0)
  1. ;;=350.6^AF^MUMPS
  1. ;;^DD(350.6,.03,1,2,1)
  1. ;;=I $D(^IBE(350.6,DA,1)),^(1) S ^IBE(350.6,"AF",X,-^(1),DA)=""
  1. ;;^DD(350.6,.03,1,2,2)
  1. ;;=I $D(^IBE(350.6,DA,1)),^(1) K ^IBE(350.6,"AF",X,-^(1),DA)
  1. ;;^DD(350.6,.03,1,2,"%D",0)
  1. ;;=^^5^5^2920408^
  1. ;;^DD(350.6,.03,1,2,"%D",1,0)
  1. ;;=Cross-reference of all ARCHIVE/PURGE LOG entries (by Archive file [#.03]
  1. ;;^DD(350.6,.03,1,2,"%D",2,0)
  1. ;;=and the inverse Search Begin Date/Time [#1.01]) for which a search has
  1. ;;^DD(350.6,.03,1,2,"%D",3,0)
  1. ;;=been initiated. The cross-reference will be used to find the most recent
  1. ;;^DD(350.6,.03,1,2,"%D",4,0)
  1. ;;=log entry for a file. The "AF1" cross-reference on the Search Begin
  1. ;;^DD(350.6,.03,1,2,"%D",5,0)
  1. ;;=Date/Time field (#1.01) is the companion to this cross-reference.
  1. ;;^DD(350.6,.03,1,2,"DT")
  1. ;;=2920408
  1. ;;^DD(350.6,.03,21,0)
  1. ;;=^^7^7^2940209^^
  1. ;;^DD(350.6,.03,21,1,0)
  1. ;;=This field points to the FILE file (#1) and represents the file to be
  1. ;;^DD(350.6,.03,21,2,0)
  1. ;;=archived/purged. The Billing data files subject to archiving/purging
  1. ;;^DD(350.6,.03,21,3,0)
  1. ;;=currently are:
  1. ;;^DD(350.6,.03,21,4,0)
  1. ;;=
  1. ;;^DD(350.6,.03,21,5,0)
  1. ;;= 350 INTEGRATED BILLING ACTION
  1. ;;^DD(350.6,.03,21,6,0)
  1. ;;= 351 CATEGORY C BILLING CLOCK
  1. ;;^DD(350.6,.03,21,7,0)
  1. ;;= 399 BILL/CLAIMS
  1. ;;^DD(350.6,.03,"DT")
  1. ;;=2920408
  1. ;;^DD(350.6,.04,0)
  1. ;;=# RECORDS ARCHIVED^NJ15,0^^0;4^K:+X'=X!(X>999999999999999)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(350.6,.04,3)
  1. ;;=Type a Number between 1 and 999999999999999, 0 Decimal Digits
  1. ;;^DD(350.6,.04,21,0)
  1. ;;=^^7^7^2920427^
  1. ;;^DD(350.6,.04,21,1,0)
  1. ;;=This field will contain the number of entries which have been processed
  1. ;;^DD(350.6,.04,21,2,0)
  1. ;;=in each sequential archive/purge operation. The 'Search' option will
  1. ;;^DD(350.6,.04,21,3,0)
  1. ;;=update the field with the number of entries which have met the search
  1. ;;^DD(350.6,.04,21,4,0)
  1. ;;=criteria. The 'Archive' option will update this field with the number
  1. ;;^DD(350.6,.04,21,5,0)
  1. ;;=of entries archived. The 'Purge' option will update the field with the
  1. ;;^DD(350.6,.04,21,6,0)
  1. ;;=number of entries purged. Also, the 'Delete Entry From Search Template'
  1. ;;^DD(350.6,.04,21,7,0)
  1. ;;=option will update the field when entries from the template are deleted.
  1. ;;^DD(350.6,.04,"DT")
  1. ;;=2920408
  1. ;;^DD(350.6,.05,0)
  1. ;;=LOG STATUS^S^1:OPEN;2:CLOSED;3:CANCELLED;^0;5^Q
  1. ;;^DD(350.6,.05,1,0)
  1. ;;=^.1
  1. ;;^DD(350.6,.05,1,1,0)
  1. ;;=350.6^E
  1. ;;^DD(350.6,.05,1,1,1)
  1. ;;=S ^IBE(350.6,"E",$E(X,1,30),DA)=""
  1. ;;^DD(350.6,.05,1,1,2)
  1. ;;=K ^IBE(350.6,"E",$E(X,1,30),DA)
  1. ;;^DD(350.6,.05,1,1,"DT")
  1. ;;=2920408
  1. ;;^DD(350.6,.05,21,0)
  1. ;;=^^4^4^2920427^^^
  1. ;;^DD(350.6,.05,21,1,0)
  1. ;;=This field contains the current status of the archive/purge operation.
  1. ;;^DD(350.6,.05,21,2,0)
  1. ;;=The status will be OPEN when the log entry is created, and CLOSED after
  1. ;;^DD(350.6,.05,21,3,0)
  1. ;;=successfully purging archived entries. The entry will be CANCELLED if an