Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: XQALERT

Package: Kernel

Routine: XQALERT


Information

XQALERT ;ISF/JLI,ISD/HGW - ALERT HANDLER ;05/29/13 11:21

Source Information

Source file <XQALERT.m>

Entry Points

Name Comments DBIA/ICR reference
SETUP ;SR.
  • ICR #10081
    • Status: Active
    • Usage: Supported
    SETUP1() ;SR.
  • ICR #10081
    • Status: Active
    • Usage: Supported
    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 ;
  • ICR #10081
    • Status: Active
    • Usage: Supported
    DELETEA ;
  • ICR #10081
    • Status: Active
    • Usage: Supported
    OLDDEL ;OPT.
    USERDEL ;OPT.
  • ICR #10081
    • Status: Active
    • Usage: Supported
    USER(ROOT,XQAUSER,FRSTDATE,LASTDATE) ; Returns current alerts for the user in an array located under root
  • ICR #10081
    • Status: Active
    • Usage: Supported
    PATIENT(ROOT,PATIENT,FRSTDATE,LASTDATE) ;
  • ICR #10081
    • Status: Active
    • Usage: Supported
    ACTION(ALERTID) ;
  • ICR #10081
    • Status: Active
    • Usage: Supported
    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.
  • ICR #10081
    • Status: Active
    • Usage: Supported
    SETREV ; Set on (XQ1ON) and off (XQ1OFF) variables for Reverse video ; P285
    ; ZEXCEPT: IOST,XQ1OFF,XQ1ON - global variables

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: $C(7)
    • Condition for execution: XQX1=0
    • Line Location: DISPLAY+13
    Function Call: WRITE
    • Prompt: !,@XQON,$P(X,U,3),@XQOFF
    • Line Location: DISPLAY+13
    Function Call: WRITE
    • Prompt: !?5,"*** FORWARDED BY: ",$P(^VA(200,+X1,0),U)," Generated: "
    • Line Location: DISPLAY+15
    Function Call: WRITE
    • Prompt: $$DAT8(X1,1)
    • Line Location: DISPLAY+15
    Function Call: WRITE
    • Prompt: !?5,X2
    • Line Location: DISPLAY+16
    Function Call: WRITE
    • Prompt: !!,"You have PENDING ALERTS"
    • Condition for execution: XQX1=0
    • Line Location: DISPLAY+20
    Function Call: WRITE
    • Prompt: !?10,"Enter ""VA to jump to VIEW ALERTS option",!
    • Line Location: DISPLAY+20
    Info |  Source |  Entry Points |  Interaction Calls