Last change
on this file since 700 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
608 bytes
|
Line | |
---|
1 | NURSAPCH ;HIRMFO/JH,RM,FT-CHECKS FOR PATIENTS ON ABSENCE ;4/30/96 16:37
|
---|
2 | ;;4.0;NURSING SERVICE;;Apr 25, 1997
|
---|
3 | ;
|
---|
4 | ; DFN is defined before entering the routine.
|
---|
5 | ; Routine checks patients on absence from the hospital.
|
---|
6 | ; NURSX is the result of this function.
|
---|
7 | ;
|
---|
8 | D IN5^VADPT I 'VAERR S:VAIP(10)="" NURSX="ERROR" S:VAIP(10)'="" NURSUB=$S(VAIP(10):0,1:+VAIP(4)) G X:VAIP(10)'="",QUIT
|
---|
9 | S NURSX="ERROR" G QUIT
|
---|
10 | X S NURSX=$S("^1^2^"[("^"_NURSUB_"^"):"LEAVE","^3^"[("^"_NURSUB_"^"):"AWOL","^43^45^"[("^"_NURSUB_"^"):"OTH. FAC.",1:"N/A")
|
---|
11 | QUIT ; KILL LOCAL VARIABLES
|
---|
12 | K NURSA,NURSUB,NURSUB1,NURSTRAN,NS1,VAIP,VAERR
|
---|
13 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.