Last change
on this file since 1211 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
1.0 KB
|
Rev | Line | |
---|
[613] | 1 | GMRCSTAT ;SLC/DCM - List Manager Ancilliary routine - Restrict display of consults to a given status or satuses on List Manager Screen ;5/20/98 14:21
|
---|
| 2 | ;;3.0;CONSULT/REQUEST TRACKING;**1**;DEC 27, 1997
|
---|
| 3 | ;;This routine calles the appropriate routines to prompt for the status of consults to be printed in List Manager and call routines to collect that data
|
---|
| 4 | ;;and reformat the List Manager global to print the data on the CRT.
|
---|
| 5 | EN ; -- main entry point for GMRCACTM CHANGE STATUS VIEW
|
---|
| 6 | I $D(IOTM),$D(IOBM),$D(IOSTBM) D FULL^VALM1
|
---|
| 7 | S GMRCQUIT=0
|
---|
| 8 | D STS^GMRCSLM Q:GMRCQUIT D AD^GMRCSLM1
|
---|
| 9 | D INIT,HDR
|
---|
| 10 | I $D(IOTM),$D(IOBM) S VALMBCK="R"
|
---|
| 11 | D EXIT
|
---|
| 12 | Q
|
---|
| 13 | ;
|
---|
| 14 | HDR ; -- header code
|
---|
| 15 | D HDR^GMRCSLM
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | INIT ; -- init variables and list array
|
---|
| 19 | K ^TMP("GMRCR",$J,"LIST")
|
---|
| 20 | S DSPLINE=0,VALMAR="^TMP(""GMRCR"",$J,""LIST"")"
|
---|
| 21 | F LINE=1:1:LNCT S DSPLINE=$O(^TMP("GMRCR",$J,"CS",DSPLINE)) Q:DSPLINE=""!(DSPLINE?1A.E) S DATA=^(DSPLINE,0) D SET^VALM10(LINE,DATA)
|
---|
| 22 | S VALMBCK="R",VALMPGE=1,VALMBG=1,VALMLST=LNCT
|
---|
| 23 | S VALMCNT=LNCT
|
---|
| 24 | K DSPLINE,DATA,LINE
|
---|
| 25 | Q
|
---|
| 26 | ;
|
---|
| 27 | EXIT ;Kill off local variables and exit
|
---|
| 28 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.