Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
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>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
Kernel 9 $$NOW^XLFDT  (GETPAT,GETUSER)^XQALDATA  (COUNT,DELETE,DELETEA,OLDDEL,USERDEL)^XQALDEL  ACTION^XQALDOIT  DOIT^XQALERT1  ($$SETUP1,SETUP)^XQALSET  RETURN^XQALSUR1  $$CHKCRIT^XQALSUR2  
$$ACTVSURO^XQALSURO  
VA FileMan 2 $$GET1^DIQ  ^DIR  

Caller Graph

Caller Graph Total: 180

Package Total Caller Graph
Lab Service 42 LR248  LR258PO  LR259  LR274POA  LR291  LR302P  LR302POA  LR308  
LR309  LR315  LR317  LR325  LR328  LR329  LR331  LR334  
LR334P  LR334POA  LR343  LR346  LR425  LR451  LR458  LR462A  
LR477  LR479  LR482  LR493  LR502  LR511  LR515  LRACFR  
LRAPUALT  LREPI2  LREPI2A  LRFAC  LRHYPOST  LRLNC63A  LROR1  LRSRVR5  
LRSRVR8  LRUTIL2  
Kernel 14 %ZTMS  %ZTMS4  XPDIJ  XQ  XQALDATA  XQALDOIT  XQALERT  XQALERT BY USER DELETE  
XQALERT DELETE OLD  XQALERT1  XQALFWD  XQALGUI  XQALMAKE  XUTMHR  
Automated Lab Instruments 12 LA66  LA68  LA72  LA74  LA7CHKF  LA7UID  LA7UXQA  LA7VHLUA  
LA7VIN  LA7VIN1A  LA88  LA90A  
Order Entry Results Reporting 12 ORB3  ORB3C1  ORB3FUP1  ORB3MGR2  ORB3SPEC  ORB3U1  ORB3USER  ORCACT1  
ORCSAVE1  ORCSIGN  ORQQXQA  ORWORB  
Text Integration Utility 12 TIUALRT  TIUALRT1  TIUHL7U1  TIUPEVN1  TIUPEVNT  TIUPS139  TIUPS153  TIUPS174  
TIUPS177  TIUPSCA  TIURE  TIUTIUS  
CMOP 8 PSXACT  PSXDODAC  PSXDODNT  PSXERR1  PSXRSYU  PSXRTN1  PSXRTR  PSXUTL  
Integrated Billing 7 IBAERR3  IBCE837A  IBCFP1  IBECUS1  IBECUS21  IBECUS22  IBECUS3  
National Online Information Sharing 6 FSCNAS  FSCNOTS  FSCRPCA  FSCRPCN  FSCSTU  FSCTASKN  
Surgery 6 SROARPT  SROESHL  SROESUTL  SROESX  SROESXA  SRONIN  
Barcode Medication Administration 5 ALPBCBU  ALPBGEN  ALPBGEN2  ALPBIN  ALPBIND  
Dietetics 5 FHASM2A  FHCTF5  FHOMSA1  FHOMSR1  FHWTRN  
Outpatient Pharmacy 4 PSOHLDS  PSOHLSG  PSONVAP3  PSORELDT  
Toolkit 4 XDRRMRG0  XDRRMRG1  XTSUMCK  XUCSXDR  
Clinical Case Registries 3 RORKIDS  RORUTL01  RORUTL18  
Consult Request Tracking 3 GMRCCC  GMRCIBKG  GMRCIERR  
HINQ 3 DVBHQPU  DVBHT  DVBHT2  
Radiology Nuclear Medicine 3 RAO7PC4  RAORD2  RART1  
Adverse Reaction Tracking 2 GMRASEND  GMRASIGN  
Enrollment Application System 2 EAS155P1  EASEZI  
General Medical Record - Vitals 2 GMRV2POS  GMRVXVM0  
Health Level Seven 2 HLCSLM  HLCSTCP2  
Nursing Service 2 NURAMB3  NURSADEL  
PCE Patient Care Encounter 2 PXCEVFI1  PXVXR  
Patient Representative 2 QACALRT0  QACALRT1  
Pharmacy Benefits Management 2 PSUALERT  PSUCP  
VBECS 2 VBECDCU  VBECDCU1  
Clinical Information Resource Network 1 RGRSUTL2  
Clinical Reminders 1 PXRMNTFY  
General Medical Record - Generator 1 GMRGARC0  
Health Summary 1 GMTSP88  
Imaging 1 MAGIPS93  
Inpatient Medications 1 PSIVORFB  
MailMan 1 XMGAPI4  
National VistA Support 1 NVSMSG  
Network Health Exchange 1 AFJXSFAL  
PAID 1 PRSEED13  
Registration 1 DGRPECE1  
Run Time Library 1 RGUTALR  
VDEF 1 VDEFUTIL  

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

    External References

    Name Field # of Occurrence
    $$GET1^DIQ SETREV+4, SETREV+5
    ^DIR DISPLAY+8
    $$NOW^XLFDT DISPLAY+10
    GETPAT^XQALDATA PATIENT+2
    GETUSER^XQALDATA USER+3
    COUNT^XQALDEL DOIT+2
    DELETE^XQALDEL DELETE+1
    DELETEA^XQALDEL DELETEA+1
    OLDDEL^XQALDEL OLDDEL+1
    USERDEL^XQALDEL USERDEL+1
    ACTION^XQALDOIT ACTION+1, GETACT+14
    DOIT^XQALERT1 DOIT+2
    $$SETUP1^XQALSET SETUP1+1
    SETUP^XQALSET SETUP+1
    RETURN^XQALSUR1 DISPLAY+4, USER+2
    $$CHKCRIT^XQALSUR2 DISPLAY+12, SORT+8
    $$ACTVSURO^XQALSURO DISPLAY+4, USER+2

    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
    Routine Call
    • DIR
    • Line Location:
      • DISPLAY+8

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^TMP("XQ" DISPLAY+8, SORT+4!, SORT+12*
    ^VA(200 - [#200] DISPLAY+15
    ^XTV(8992 - [#8992] DISPLAY+5, DISPLAY+8, DISPLAY+13*, DISPLAY+17!, SORT+3, SORT+5, SORT+6, D+2!
    ^XTV(8992.1 - [#8992.1] DISPLAY+10*, DISPLAY+18*

    Label References

    Name Line Occurrences
    $$DAT8 DISPLAY+15
    D DISPLAY+17
    SETREV DISPLAY+12
    SORT DISPLAY+7

    Naked Globals

    Name Field # of Occurrence
    ^(2 DISPLAY+13

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    ALERTID ACTION~, ACTION+1, GETACT~, GETACT+14
    DIR DISPLAY+6~, DISPLAY+22!
    DIR(0 DISPLAY+6*
    DUZ DISPLAY+3, DISPLAY+5, D+2, DOIT+2, USER+1
    FMDAT DAT8~, DAT8+2, DAT8+3*
    FRSTDATE USER~, USER+3, PATIENT~, PATIENT+2
    I SETUP1+1~*, SETUP1+2
    IOST(0 SETREV+3, SETREV+4, SETREV+5
    LASTDATE USER~, USER+3, PATIENT~, PATIENT+2
    PATIENT PATIENT~, PATIENT+1, PATIENT+2
    ROOT USER~, USER+3, PATIENT~, PATIENT+2
    TFLG DAT8~, DAT8+3
    U DISPLAY+8, DISPLAY+10, DISPLAY+13, DISPLAY+14, DISPLAY+15, DISPLAY+17, DISPLAY+18, GETACT+15, GETACT+16, GETACT+17
    , GETACT+18
    X DISPLAY+6~, DISPLAY+8*, DISPLAY+10, DISPLAY+13*, DISPLAY+15, DISPLAY+17, DAT8+1~, DAT8+2*, DAT8+3*, DAT8+4
    X1 DISPLAY+2~, DISPLAY+13*, DISPLAY+14, DISPLAY+15*
    X2 DISPLAY+2~, DISPLAY+14*, DISPLAY+16
    XQ1OFF DISPLAY+6~, DISPLAY+12, SETREV+3*, SETREV+5*
    XQ1OFF1 SETREV+2~, SETREV+5*
    XQ1ON DISPLAY+6~, DISPLAY+12, SETREV+3*, SETREV+4*
    XQ1ON1 SETREV+2~, SETREV+4*
    XQA DISPLAY+6~, DISPLAY+17*, DISPLAY+22!, D+2
    XQACNT DISPLAY+2~, DISPLAY+7*, SORT+5, SORT+7*, SORT+9, SORT+11
    >> XQADATA GETACT+16*
    XQAGETAC GETACT+12~, GETACT+13*
    >> XQAID GETACT+15*
    XQALAST DOIT+1~
    XQALFWD DOIT+1~
    >> XQAOPT GETACT+18*
    >> XQAROU GETACT+17*
    XQAUSER DISPLAY+3*, DISPLAY+4, DISPLAY+8, DISPLAY+10, DISPLAY+13, DISPLAY+17, SORT+3, SORT+5, SORT+6, DOIT+1~
    , DOIT+2*, USER~, USER+1*, USER+2, USER+3
    XQI DISPLAY+6~, DISPLAY+8*, DISPLAY+13, DISPLAY+17, DISPLAY+22!, SORT+2~, SORT+5*, SORT+6, SORT+12
    XQJ DISPLAY+2~, DISPLAY+8*, SORT+2~, SORT+9*, SORT+11*, SORT+12
    XQOFF DISPLAY+6~, DISPLAY+11*, DISPLAY+12*, DISPLAY+13
    XQON DISPLAY+6~, DISPLAY+11*, DISPLAY+12*, DISPLAY+13
    XQX DISPLAY+6~*, DISPLAY+8*, DISPLAY+17*, DISPLAY+20, DISPLAY+22!, SORT+2~, SORT+6*, SORT+8, GETACT+12~, GETACT+13*
    , GETACT+15, GETACT+16, GETACT+17, GETACT+18
    XQX1 DISPLAY+6~*, DISPLAY+8, DISPLAY+13*, DISPLAY+20, DISPLAY+21, DISPLAY+22!
    XQXDAT DISPLAY+6~, DISPLAY+10*, DISPLAY+18
    XQXX DISPLAY+9~, DISPLAY+10*, DISPLAY+18, DISPLAY+19!
    XQXXX DISPLAY+9~, DISPLAY+10*, DISPLAY+12, DISPLAY+13
    XQXY DISPLAY+9~, DISPLAY+10*, DISPLAY+18, DISPLAY+19!
    XQZ GETACT+12~, GETACT+13*, GETACT+16
    Y DISPLAY+6~*, DISPLAY+8, DISPLAY+22!
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All