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

LRFIXAU.m

Go to the documentation of this file.
LRFIXAU ; IHS/DIR/AAB - CLEAN UP ^LR("AAUA",YR,LRAN,LRDFN) NODES ;  [ 07/22/2002  1:19 PM ]
 ;;5.2;LR;**1002,1013**;JUL 15, 2002
 ;;5.2;LAB SERVICE;**134**;Sep 27, 1994
 ;
 N LRDFN,NODE,YR,ACC,LRAN
 ;I '$D(^LRO(68,"VR")) D BMES^XPDUTL("You MUST have LR*5.2*72 Installed BEFORE this patch") Q  ;IHS/DIR TUC/AAB 05/19/98
 S LRDFN=0 F  S LRDFN=$O(^LR(LRDFN)) Q:'LRDFN  D
 . I '$D(^LR(LRDFN,"AU")) Q
 . S NODE=^LR(LRDFN,"AU")
 . S YR=$E(NODE,1,3)
 . S ACC=$P(NODE,U,6),LRAN=$P(ACC," ",3)
 . I YR,LRAN D
 .. I $D(^LR("AAUA",YR,LRAN,LRDFN)) K ^LR("AAUA",YR,LRAN,LRDFN)