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

LRJUTL3.m

Go to the documentation of this file.
  1. LRJUTL3 ;ALB/TMK - Topography/Collection sample/Etiology inactivate dates and file 60 audit utilities ;09/15/2010 10:42:52
  1. ;;5.2;LAB SERVICE;**425**;Sep 27, 1994;Build 30
  1. ;
  1. Q
  1. ACTV61(LRIEN,LRDT) ; Return active status of entry in file 61 as of date in LRDT
  1. ; Returns 1 if active, 0 if not active
  1. I '$G(LRDT) S LRDT=DT ; assume current date if no date passed
  1. Q $S($P($G(^LAB(61,LRIEN,64.91)),U,3):$P(^(64.91),U,3)>LRDT,1:1)
  1. ;
  1. ACTV62(LRIEN,LRDT) ; Return active status of entry in file 62 as of date in LRDT
  1. ; Returns 1 if active, 0 if not active
  1. I '$G(LRDT) S LRDT=DT ; assume current date if no date passed
  1. Q $S($P($G(^LAB(62,LRIEN,64.91)),U,1):$P(^(64.91),U,1)>LRDT,1:1)
  1. ;