AWCMCPR2 ;VISN7/THM-CPRS MONITOR HTML CODE [07-07-2003] ; 09 Jan 2004 3:43 PM
;;7.3;TOOLKIT;**84**;Jan 9, 2004
;
PART1 ; HTML section that creates java applet data
; Variables are killed in calling program
;
W "
",!
W "",!
W "CPRS Response Time Monitor - "_AWCDIVN1_"",!
W "",!
S AWCY99=$P(^AWC(177100.12,1,0),U),AWCY99=$P($G(^DIC(4,+AWCY99,0)),U)
W ""_AWCY99_"
"
W "","CPRS Response Time Monitor for facility -- "_AWCDIVN1,!,"
"
D MENU1
W "","Response Time In Seconds for the last "_AWCDHRS_" hours
","",!
W "Last updated: " D NOW^%DTC S Y=% X ^DD("DD") W Y,!,"
",!
D CLOSE^%ZISH("AWCCPR1"),^%ZISC
K AWCY99
Q
;
MENU1 ; java script - makes drop-down menu
; goes in portion of page
Q:$O(AWCFDIV(0))="" ;only one division at facility
S AWCWEBRT=$P(^AWC(177100.12,1,0),U,15) Q:AWCWEBRT="" ;not set up in param file
S AWCWL=$L(AWCWEBRT) I $E(AWCWEBRT,AWCWL,AWCWL)'="/" S AWCWEBRT=AWCWEBRT_"/"
W "",!
Q