Difference between revisions of "MAN ListMan"

From VistApedia
Jump to: navigation, search
(Variables while running)
Line 23: Line 23:
 
  ^TMP("VALM DATA",$J,0,"FNL")=  code from [[FILE 409.61/FIELD 105|LIST TEMPLATE File #409.61 EXIT CODE Field #105]]
 
  ^TMP("VALM DATA",$J,0,"FNL")=  code from [[FILE 409.61/FIELD 105|LIST TEMPLATE File #409.61 EXIT CODE Field #105]]
 
  ^TMP("VALM DATA",$J,0,"HIDDEN")="PSO HIDDEN ACTIONS #2"
 
  ^TMP("VALM DATA",$J,0,"HIDDEN")="PSO HIDDEN ACTIONS #2"
  ^TMP("VALM DATA",$J,0,"HLP")=  
+
  ^TMP("VALM DATA",$J,0,"HLP")= code from [[FILE 409.61/FIELD 103|LIST TEMPLATE File #409.61 EXIT CODE Field #103]]
: code from [[FILE 409.61/FIELD 103|LIST TEMPLATE File #409.61 EXIT CODE Field #103]]
+
  ^TMP("VALM DATA",$J,0,"INIT")= code from [[FILE 409.61/FIELD 106|LIST TEMPLATE File #409.61 ENTRY CODE Field #106]]
  ^TMP("VALM DATA",$J,0,"INIT")=  
 
: code from [[FILE 409.61/FIELD 106|LIST TEMPLATE File #409.61 ENTRY CODE Field #106]]
 
  
 
   VALM = index into ^SD(409.61,VALM,*) current entry in [[LIST TEMPLATE FILE]].
 
   VALM = index into ^SD(409.61,VALM,*) current entry in [[LIST TEMPLATE FILE]].
  
   VALM("PROTOCOL")=IEN_";ORD(101,"
+
   VALM("PROTOCOL")=IEN_";ORD(101," Current PROTOCOL MENU from LIST TEMPLATE (resolved FreeText Pointer to PROTOCOL File #101
: Current PROTOCOL MENU from LIST TEMPLATE (resolved FreeText Pointer to PROTOCOL File #101
 

Revision as of 00:41, 9 October 2019

Official Documentation

look at: https://www.va.gov/vdl/application.asp?appid=14

local copy: http://www.vistapedia.com/images/9/9d/List_manager_developer.pdf

Overview Data

Callable Entry Points

D FULL^VALM1 (restore full screen scroll region)

EN^VALM2 (entry selection call)

Change Header and force redraw of screen including header

If header needs to be changed, 
 KILL VALMHDR
 SET VALMBCK="R".
 Then List Manager will automatically invoke this FILE LIST TEMPLATE FIELD HEADER CODE as part of the re-display of the screen.

Variables while running

^TMP("VALM DATA",$J,*)
^TMP("VALM DATA",$J,0,"DAYS")=30
^TMP("VALM DATA",$J,0,"FNL")=  code from LIST TEMPLATE File #409.61 EXIT CODE Field #105
^TMP("VALM DATA",$J,0,"HIDDEN")="PSO HIDDEN ACTIONS #2"
^TMP("VALM DATA",$J,0,"HLP")=  code from LIST TEMPLATE File #409.61 EXIT CODE Field #103
^TMP("VALM DATA",$J,0,"INIT")=  code from LIST TEMPLATE File #409.61 ENTRY CODE Field #106
 VALM = index into ^SD(409.61,VALM,*) current entry in LIST TEMPLATE FILE.
 VALM("PROTOCOL")=IEN_";ORD(101,"  Current PROTOCOL MENU from LIST TEMPLATE (resolved FreeText Pointer to PROTOCOL File #101