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

ICPT69PR.m

Go to the documentation of this file.
  1. ICPT69PR ;ALB/GTS- ICPT Pre-Init Driver; 2/15/2001 ; 3/1/01 8:58am
  1. ;;6.0;CPT/HCPCS;**9**;May 19, 1997
  1. ;
  1. ;- This routine will delete the data in the CPT global files (#81-81.3).
  1. ; These files MUST be reloaded upon completion of the patch installation.
  1. ; The associated file saves (from %GTO) are ICPT6_9.GLB (file 81) and ICPT6_9A.GLB (files 81.1-81.3)
  1. ;
  1. EN ;- Main entry point
  1. ;
  1. N I,ICPTX,XPDIDTOT
  1. ;
  1. ;- Leave header node to preserve global placement
  1. D BMES^XPDUTL("Deleting the CPT CATEGORY file (#81.1)...")
  1. S I=0 F S I=$O(^DIC(81.1,I)) Q:I="" K ^(I)
  1. D BMES^XPDUTL("Deleting the CPT COPYRIGHT file (#81.2)...")
  1. S I=0 F S I=$O(^DIC(81.2,I)) Q:I="" K ^(I)
  1. D BMES^XPDUTL("Deleting the CPT MODIFIER file (#81.3)...")
  1. S I=0 F S I=$O(^DIC(81.3,I)) Q:I="" K ^(I)
  1. S I=0,XPDIDTOT=14700
  1. D BMES^XPDUTL("Deleting the CPT file (#81)...")
  1. F ICPTX=1:1 S I=$O(^ICPT(I)) Q:I="" K ^(I) I '(ICPTX#725) D UPDATE^XPDID(ICPTX)
  1. D BMES^XPDUTL(">>> File deletions complete! Please use the appropriate global loader")
  1. D MES^XPDUTL(" to restore the CPT global files from ICPT6_9.GLB (CPT file, #81)")
  1. D MES^XPDUTL(" and ICPT6_9A.GLB [CPT CATEGORY (#81.1); CPT COPYRIGHT (#81.2)")
  1. D MES^XPDUTL(" and the CPT MODIFIER (#81.3) files] IMMEDIATELY after installing")
  1. D MES^XPDUTL(" this patch. >>>")
  1. ENQ Q