XQALERT ;ISF/JLI,ISD/HGW - ALERT HANDLER ;05/29/13 11:21
Source file <XQALERT.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| SETUP | ;SR.
 | 
 
  | 
| SETUP1() | ;SR.
 | 
 
  | 
| DISPLAY | ;SR. Display recent new alerts
 ; ZEXCEPT: XQAUSER - global variable  | 
|
| SORT | ;SR. Sort alerts
 ; ZEXCEPT: XQAUSER,XQACNT - global variable  | 
|
| D | ;
 ; ZEXCEPT: XQA  | 
|
| DAT8(FMDAT,TFLG) | ;
 | 
|
| DOIT | ;OPT. Process Alerts [XQALERT]
 | 
|
| DELETE | ;
 | 
 
  | 
| DELETEA | ;
 | 
 
  | 
| OLDDEL | ;OPT.
 | 
|
| USERDEL | ;OPT.
 | 
 
  | 
| USER(ROOT,XQAUSER,FRSTDATE,LASTDATE) | ; Returns current alerts for the user in an array located under root
 | 
 
  | 
| PATIENT(ROOT,PATIENT,FRSTDATE,LASTDATE) | ;
 | 
 
  | 
| ACTION(ALERTID) | ;
 | 
 
  | 
| GETACT(ALERTID) | ; Return to calling routine the information needed to act on the specified alert.
 ; On return the following variables are defined: ; XQAID = the full alert id ; XQADATA = Any data passed as XQADATA at the time the alert was generated ; XQAROU = Indicates routine to be run (includes tag if necessary) ; This value may have three meanings ; 1. A null value indicates no routine to be used (XQAOPT contains option name to be run) ; 2. A value of ^<space> indicates that the alert is information only (no routine or option action involved). ; 3. The name of the routine as ^ROUTINE or TAG^ROUTINE ; XQAOPT = Indicates the name of the option to be run if not null.  | 
 
  | 
| SETREV | ; Set on (XQ1ON) and off (XQ1OFF) variables for Reverse video ; P285
 ; ZEXCEPT: IOST,XQ1OFF,XQ1ON - global variables  | 
| Name | Line Occurrences | 
|---|---|
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  | 
| Function Call: WRITE | 
  |