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

IBYSC.m

Go to the documentation of this file.
  1. IBYSC ;ALB/ARH - IB*2*130 PRE INIT: REMOVE XREFS ; 4/20/00
  1. ;;2.0;INTEGRATED BILLING;**126**;21-MAR-94
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. ;
  1. PRE ; PRE-INSTALL FOR IB*2*130
  1. ;
  1. ; delete cross references on some patient insurance fields (2,.312), they will be updated by the install
  1. ;
  1. ; the cross references on these fields were changed so they have to be removed before the new ones are added
  1. ;
  1. N IBX,X,Y,DIK,DA,IBFLD,IBXREF
  1. ;
  1. D BMES^XPDUTL("Pre-Installation Updates")
  1. ;
  1. F IBFLD=.01,3,8 D
  1. . ;
  1. . S IBXREF=0 F S IBXREF=$O(^DD(2.312,IBFLD,1,IBXREF)) Q:'IBXREF D
  1. .. ;
  1. .. S DIK="^DD(2.312,"_IBFLD_",1,",DA(2)=2.312,DA(1)=IBFLD,DA=IBXREF
  1. .. ;
  1. .. D ^DIK K DIK,DA
  1. ;
  1. D MES^XPDUTL(" * cross references deleted (will be updated during install)")
  1. ;
  1. D MES^XPDUTL("Pre-Installation Updates Completed")
  1. Q