Last change
on this file since 1800 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
394 bytes
|
Line | |
---|
1 | DGL ;ALB/MJK - Utility for RAD ; 24 JAN 91 12:00 am
|
---|
2 | ;;5.3;Registration;;Aug 13, 1993
|
---|
3 | ;
|
---|
4 | Q
|
---|
5 | LOSS ; -- utility to determine if pt was an inpatient
|
---|
6 | ; at time NOW ; obsolete in version 5.1
|
---|
7 | ; input: NOW := inverse date/time
|
---|
8 | ; DFN
|
---|
9 | ; output: L := 0 not inpatient ; 1 is inpatient
|
---|
10 | S VAINDT=9999999.9999-NOW D ADM^VADPT2 S L=$S(VADMVT:1,1:0)
|
---|
11 | K VAINDT,VADMVT,NOW Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.