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

IBECPTZ.m

Go to the documentation of this file.
  1. IBECPTZ ;ALB/ARH - CPT TRANSFER UTILITY, KILLS FROM 350.41,LIST ERRORS; 10/22/91
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. ;external entry point
  1. CLEAN ;removes all entries from file 350.41 - to be used during a
  1. ;preinit in which new updates (ie 350.41) are being released
  1. N X
  1. S X=$P($G(^IBE(350.41,0)),"^",1,2) I X'="" K ^IBE(350.41) S ^IBE(350.41,0)=X
  1. Q
  1. ;
  1. ;external entry point
  1. PURGE ;deletes entries in 350.41 that have been transfered to 350.4
  1. W !!,?20,"Delete Transferred Codes from the Temporary BASC File",!!
  1. W !!!,"This option will only delete BASC codes in the temporary file that have"
  1. W !,"already been transferred to the permanent BASC file."
  1. S DIR(0)="Y",DIR("A")="Do you want to delete transferred codes now" D ^DIR K DIR
  1. G:$D(DIRUT)!('Y) KEND
  1. W !!,"Processing, this could take some time. Please wait...",!!
  1. ;
  1. S (IBCNT,IBX)=0
  1. F IBI=1:1 S IBX=$O(^IBE(350.41,IBX)) Q:'IBX S IBLN=$G(^IBE(350.41,IBX,0)) I $P(IBLN,"^",7) S DIK="^IBE(350.41,",DA=IBX D ^DIK K DIK S IBCNT=IBCNT+1
  1. W !!,"Done. ",IBCNT," entries deleted from 350.41."
  1. KEND ;
  1. K IBX,IBI,IBCNT,DA,IBLN,DIC,DUOUT,DTOUT,DIRUT,DIROUT,Y,X
  1. Q
  1. ;
  1. ;external entry point
  1. LIST ;lists all update errors in 350.41, ie. status=0 only
  1. D HOME^%ZIS
  1. W @IOF,!,?15,"Billing Ambulatory Surgery Code Update Error List",!!!
  1. S DIC="^IBE(350.41,",FR="0,?,?",TO="0,?,?"
  1. S BY="@.07,.01,.02",FLDS="[IB CPT UPDATE ERROR]" D EN1^DIP
  1. K DIC,FR,TO,BY,FLDS,X,Y
  1. Q