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

GMRCSTAT.m

Go to the documentation of this file.
  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
  1. ;;3.0;CONSULT/REQUEST TRACKING;**1**;DEC 27, 1997
  1. ;;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
  1. ;;and reformat the List Manager global to print the data on the CRT.
  1. EN ; -- main entry point for GMRCACTM CHANGE STATUS VIEW
  1. I $D(IOTM),$D(IOBM),$D(IOSTBM) D FULL^VALM1
  1. S GMRCQUIT=0
  1. D STS^GMRCSLM Q:GMRCQUIT D AD^GMRCSLM1
  1. D INIT,HDR
  1. I $D(IOTM),$D(IOBM) S VALMBCK="R"
  1. D EXIT
  1. Q
  1. ;
  1. HDR ; -- header code
  1. D HDR^GMRCSLM
  1. Q
  1. ;
  1. INIT ; -- init variables and list array
  1. K ^TMP("GMRCR",$J,"LIST")
  1. S DSPLINE=0,VALMAR="^TMP(""GMRCR"",$J,""LIST"")"
  1. 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)
  1. S VALMBCK="R",VALMPGE=1,VALMBG=1,VALMLST=LNCT
  1. S VALMCNT=LNCT
  1. K DSPLINE,DATA,LINE
  1. Q
  1. ;
  1. EXIT ;Kill off local variables and exit
  1. Q