MAN ListMan

From VistApedia
Revision as of 00:53, 9 October 2019 by DavidWhitten (talk | contribs) (Variables while running)
Jump to: navigation, search

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


XQORM = IEN_";ORD(101," variable pointer into current PROTOCOL ?? same as VALM("PROTOCOL") ??
XQORM("#") = PROTOCOL IEN 
XQORM("H") same as PROTOCOL File #101 Field HEADER Field #26 for PROTOCOL in XQORM

 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
Other Variables:
VALM(0)=""
VALM("BM")=20
VALM("DEFS")=1
VALM("ENTITY")=""
VALM("EXP")=""
VALM("FIXED")=0
VALM("HDR")="D HDR^PSOLMAO"
VALM("IFN")=337
VALM("LINES")=11
VALM("MAX")=1
VALM("PRT")=""
VALM("RM")=80
VALM("TITLE")= ListMan Title presented on row after header on left side.
VALM("TM")=10
VALM("TYPE")=1
VALMAR="^TMP(""PSOPF"",$J)"
VALMHDR(1-$) = Exact text for each line of the Header from line 1 to the last line
VALMKEY=