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 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: 169

Package Total Caller Graph
Lab Service 18 LR248  LR258PO  LR274POA  LR287  LR302  LR302P  LR302POA  LR305  
LR313  LR334  LR334P  LR334POA  LRACFR  LREPI2  LREPI2A  LRFAC  
LRLNC63A  LROR1  
IHS Changes To Lab 16 BLRKIDSU  BLRPRE20  BLRPRE21  BLRPRE22  BLRPRE24  BLRPRE25  BLRPRE26  BLRPRE27  
BLRPRE28  BLRPRE30  BLRPRE31  BLRPST  BLRTASKS  BLRUTIL3  BLRUTIL7  BLRUTIL8  
Kernel 12 %ZTMS  %ZTMS4  XPDIJ  XPDIJZ  XQ  XQALDATA  XQALDOIT  XQALERT1  
XQALFWD  XQALGUI  XQALMAKE  XUTMHR  
Order Entry Results Reporting 12 ORB3  ORB3C1  ORB3FUP1  ORB3MGR2  ORB3SPEC  ORB3U1  ORB3USER  ORCACT1  
ORCB  ORCSIGN  ORQQXQA  ORWORB  
Text Integration Utility 10 TIUALRT  TIUALRT1  TIUHL7U1  TIUPEVN1  TIUPEVNT  TIUPS139  TIUPS153  TIUPS174  
TIUPS177  TIURE  
Automated Lab Instruments 8 LA7CHKF  LA7UID  LA7UXQA  LA7VCN1A  LA7VIN1A  LA7VLN1A  LA7VQN1A  LA7VRN1A  
CMOP 8 PSXACT  PSXDODAC  PSXDODNT  PSXERR1  PSXRSYU  PSXRTN1  PSXRTR  PSXUTL  
Surgery 8 SROARPT  SROESHL  SROESUTL  SROESX  SROESXA  SRONIN  SROQ1A  SROQT  
IHS Electronic Health Record 7 BEHOART  BEHOCCD  BEHODC  BEHODC8  BEHOOUS  BEHOXQ  BEHOXQCV  
IHS GPRA Information System 7 BGP2AUUP  BGP3AUUP  BGP4AUUP  BGP5AUUP  BGP6AUUP  BGP7AUUP  BGP8AUUP  
Barcode Medication Administration 5 ALPBCBU  ALPBGEN  ALPBGEN2  ALPBIN  ALPBIND  
Dietetics 5 FHASM2A  FHCTF5  FHOMSA1  FHOMSR1  FHWTRN  
IHS Patient Registration 5 AG71A1  AG71A2  AG71A3  AG71A4  AG71A5  
Electronic Dental Record 4 BADEHL1  BADEHL2  BADEHL3  BADEMRG1  
IHS Changes To Pharmacy 4 APSPES4  APSPES9  APSPESG  APSPFNC2  
Toolkit 4 XDRRMRG0  XDRRMRG1  XTSUMCK  XUCSXDR  
Outpatient Pharmacy 3 PSOHLDS  PSOHLSG  PSORELDT  
Radiology Nuclear Medicine 3 RAO7PC4  RAORD2  RART1  
Adverse Reaction Tracking 2 GMRASEND  GMRASIGN  
Care Management 2 ORRCEVT  ORRCXQ  
Consult Request Tracking 2 GMRCIBKG  GMRCIERR  
Health Level Seven 2 HLCSLM  HLCSTCP2  
Mental Health Social Services 2 AMHEHR  AMHEHR1  
Nursing Service 2 NURAMB3  NURSADEL  
Patient Care Component Surveillance 2 APCSHLO  APCSHLOC  
Pharmacy Benefits Management 2 PSUALERT  PSUCP  
CIA Utilities 1 CIAUALR  
Clinical Reminders 1 PXRMNTFY  
Comprehensive Diabetes Management 1 BCDMPRE  
General Medical Record - Generator 1 GMRGARC0  
General Medical Record - Vitals 1 GMRVXVM0  
IHS Mods To Text Integration Utilities 1 BTIUU1  
IHS Release Of Information 1 BRNPTCH2  
Inpatient Medications 1 PSIVORFB  
Integrated Billing 1 IBAERR3  
MailMan 1 XMGAPI4  
Patient Care Component Reports 1 APCLSIHL  
Patient Registration MPI 1 AGMPIHLO  
Referred Care Information System 1 BMCALERT  
Registration 1 DGRPECE1  

Entry Points

Name Comments DBIA/ICR reference
SORT ;SR. Sort alerts
; ZEXCEPT: XQAUSER,XQACNT - global variable
D ;
; ZEXCEPT: XQA
OLDDEL ;OPT.
SETREV ; Set on (XQ1ON) and off (XQ1OFF) variables for Reverse video ; P285
; ZEXCEPT: IOST,XQ1OFF,XQ1ON - global variables
SETUP ;SR.
  • ICR #10081
    • Status: Active
    • Usage: Supported
    USERDEL ;OPT.
  • ICR #10081
    • Status: Active
    • Usage: Supported
    ACTION(ALERTID) ;
  • ICR #10081
    • Status: Active
    • Usage: Supported
    DELETEA ;
  • ICR #10081
    • Status: Active
    • Usage: Supported
    PATIENT(ROOT,PATIENT,FRSTDATE,LASTDATE) ;
  • ICR #10081
    • Status: Active
    • Usage: Supported
    DOIT ;OPT. Process Alerts [XQALERT]
    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
    DAT8(FMDAT,TFLG) ;
    USER(ROOT,XQAUSER,FRSTDATE,LASTDATE) ; Returns current alerts for the user in an array located under root
  • ICR #10081
    • Status: Active
    • Usage: Supported
    DELETE ;
  • ICR #10081
    • Status: Active
    • Usage: Supported
    DISPLAY ;SR. Display recent new alerts
    ; ZEXCEPT: XQAUSER - global variable
    SETUP1() ;SR.
  • ICR #10081
    • Status: Active
    • Usage: Supported

    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