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

DGL.m

Go to the documentation of this file.
DGL ;ALB/MJK - Utility for RAD ; 24 JAN 91 12:00 am
 ;;5.3;Registration;;Aug 13, 1993
 ;
 Q
LOSS ; -- utility to determine if pt was an inpatient
 ;    at time NOW ; obsolete in version 5.1
 ;    input:     NOW := inverse date/time
 ;               DFN
 ;   output:       L := 0 not inpatient ; 1 is inpatient
 S VAINDT=9999999.9999-NOW D ADM^VADPT2 S L=$S(VADMVT:1,1:0)
 K VAINDT,VADMVT,NOW Q