23 lines
699 B
Mathematica
23 lines
699 B
Mathematica
IBDF8 ;ALB/CJM - ENCOUNTER FORM - BUILD FORM(display single toolkit block) ; 08-JAN-1993
|
|
;;3.0;AUTOMATED INFO COLLECTION SYS;;APR 24, 1997
|
|
;
|
|
VIEWBLK ;
|
|
N QUIT,IBBLK,IBVALMBG
|
|
;N IBMEMARY
|
|
S QUIT=0,IBVALMBG=VALMBG
|
|
D EN^VALM2($G(XQORNOD(0)),"S") ;select the block
|
|
S IBBLK=$O(VALMY("")) Q:'IBBLK S IBBLK=$G(@VALMAR@("IDX",IBBLK,IBBLK)) I IBBLK D EN^VALM("IBDF VIEW TOOL KIT BLOCK") ;call list processor to display selected block
|
|
S VALMBCK="R",VALMBG=IBVALMBG
|
|
Q
|
|
INIT ;
|
|
D IDXBLOCK^IBDFU4
|
|
Q
|
|
EXIT ;
|
|
K @VALMAR
|
|
Q
|
|
HDR ;
|
|
S VALMHDR(1)="Viewing the "_$P($G(^IBE(357.1,IBBLK,0)),"^",1)_" Toolkit block"
|
|
S (VALMHDR(2),VALMHDR(3))=$$PADRIGHT^IBDFU("",4)
|
|
F I=1:1:16 S VALMHDR(2)=VALMHDR(2)_$J(I,10)
|
|
Q
|