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

IBY517PR.m

Go to the documentation of this file.
  1. IBY517PR ;FA/ALB - Pre-Install for IB patch 517 ;01-Jan-2015
  1. ;;2.0;INTEGRATED BILLING;**517**;21-MAR-94;Build 240
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. EN ; Standard Entry Point
  1. D CLEAR,DDFIX
  1. Q
  1. ;
  1. CLEAR ; Clear indices for 365* descriptions prior to installing new set and kills
  1. N DIK,IX
  1. F IX=365.013,365.015,365.016,365.021,365.022,365.025 D
  1. . S DIK="^IBE("_IX_","
  1. . S DIK(1)=".02^C"
  1. . D ENALL2^DIK
  1. ; clear out file 356.023 - values have changed
  1. S DIK="^IBT(356.023,",DA=0
  1. F S DA=$O(^IBT(356.023,DA)) Q:DA'=+DA D ^DIK
  1. Q
  1. ;
  1. DDFIX ; removed prior Mumps index definitions before installing patch with New Standard indexes
  1. N I,FILE
  1. F I=1:1:22 D
  1. . I I<10 S FILE="356.00"_I
  1. . I I=10!(I=20) S FILE="356.0"_$E(I)
  1. . I I>10,I'=20 S FILE="356.0"_I
  1. . D DELIX^DDMOD(FILE,.02,1,"K")
  1. . Q
  1. Q