Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: BQIMUTSK

BQIMUTSK.m

Go to the documentation of this file.
  1. BQIMUTSK ;GDIT/HS/ALA-MU Tasks ; 02 Dec 2011 11:44 AM
  1. ;;2.3;ICARE MANAGEMENT SYSTEM;;Apr 18, 2012;Build 59
  1. ;
  1. ;
  1. STAT(DATA,TASK) ;EP -- BQI GET MU REPORT STATUS
  1. NEW UID,II,HDR
  1. S UID=$S($G(ZTSK):"Z"_ZTSK,1:$J)
  1. S DATA=$NA(^TMP("BQIMUTSK",UID))
  1. K @DATA
  1. S II=0
  1. NEW $ESTACK,$ETRAP S $ETRAP="D ERR^BQIMURPT D UNWIND^%ZTER" ; SAC 2006 2.2.3.3.2
  1. S HDR="T00030STATUS"
  1. S @DATA@(II)=HDR_$C(30)
  1. NEW ZTSK
  1. S ZTSK=TASK
  1. D STAT^%ZTLOAD
  1. S II=II+1,@DATA@(II)=$G(ZTSK(2))_$C(30)
  1. S II=II+1,@DATA@(II)=$C(31)
  1. Q