BDMPREI ; cmi/anch/maw - CREATED BY XBBPI ON JAN 27,1999 ;
;;2.0;DIABETES MANAGEMENT SYSTEM;;AUG 11, 2006
K ^UTILITY("XBDSET",$J) F XBBPI=1:1 S XBBPIX=$P($T(Q+XBBPI),";;",2) Q:XBBPIX="" S XBBPIY=$P(XBBPIX,"=",2,99),XBBPIX=$P(XBBPIX,"=",1) S @XBBPIX=XBBPIY
K XBBPI,XBBPIX,XBBPIY D EN2^XBKD
Q Q
BDMPREI ; cmi/anch/maw - CREATED BY XBBPI ON JAN 27,1999 ;
+1 ;;2.0;DIABETES MANAGEMENT SYSTEM;;AUG 11, 2006
+2 KILL ^UTILITY("XBDSET",$JOB)
FOR XBBPI=1:1
SET XBBPIX=$PIECE($TEXT(Q+XBBPI),";;",2)
IF XBBPIX=""
QUIT
SET XBBPIY=$PIECE(XBBPIX,"=",2,99)
SET XBBPIX=$PIECE(XBBPIX,"=",1)
SET @XBBPIX=XBBPIY
+3 KILL XBBPI,XBBPIX,XBBPIY
DO EN2^XBKD
Q QUIT