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

AUMPRE.m

Go to the documentation of this file.
  1. AUMPRE ;IHS/OIT/NKD - AUM v 10.3 pre-init 05/14/2012 ;
  1. ;;12.0;TABLE MAINTENACE;**4**;SEP 27,2011;Build 1
  1. ;
  1. ; This is the pre-init for AUM 10.1. It strips all control chars
  1. ; out of multiple globals prior to the install of the patch.
  1. ;
  1. ; 2008 04 18-20 Rick Marshall created routines to
  1. ; clear out control characters found in the ^AICD globals in both
  1. ; values and subscripts. Chris Saddler addapted the routines to
  1. ; other files listed below
  1. ;
  1. QUIT ; This routine should not be called at the top or anywhere
  1. ; else. It is only to be called at START by KIDS as the pre-init
  1. ; for AUM patches.
  1. ;
  1. CLEANALL ; PRE-INIT: Remove Control Characters from globals
  1. ;
  1. D CLEANALL^AUMPREDC ;DIC
  1. D CLEANALL^AUMPRECN ;COUNTY
  1. D CLEANALL^AUMPREA ;AREA
  1. D CLEANALL^AUMPRESU ;SU
  1. D CLEANALL^AUMPRECM ;COMMUNITY
  1. D CLEANALL^AUMPREST
  1. ;
  1. QUIT ; end of CLEANALL
  1. ;
  1. START ;EP
  1. D CLEANALL
  1. ;
  1. CLR ;clear out old codes from AUM DATA created by earlier patches
  1. S I=0
  1. CLR2 ;I already set
  1. F S I=$O(^AUMDATA(I)) Q:'I D
  1. .K ^AUMDATA(I)
  1. F I=3,4 D
  1. .S $P(^AUMDATA(0),"^",I)=0
  1. Q