XQALDATA ;ISC/JLI ISD/HGW - PROVIDE DATA ON ALERTS ; Mar 23, 2023@8:00
Source file <XQALDATA.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETUSER(ROOT,XQAUSER,FRSTDATE,LASTDATE) | ; SR. ICR #4834 (private OE/RR)
|
|
GETPAT(ROOT,PATIENT,FRSTDATE,LASTDATE) | ;
|
|
GETPAT2(ROOT,PATIENT,PAGE,LIMIT) | ; P653
|
|
GETPAGE | ;P653
|
|
CHKTRAIL | ;
; ZEXCEPT: FRSTDATE,LASTDATE,NCNT,ROOT,XREF,XVAL -- from GETPAT or GETUSER |
|
GETUSER1(ROOT,XQAUSER,FRSTDATE,LASTDATE,FLAG) | ;Add FLAG to check for deferred alert. P653
|
|
GETUSER2(ROOT,XQAUSER,FRSTDATE,LASTDATE,MAXRET,PROONLY,FLAG) | ;Get PROCESSED alerts rather than pending alerts p662
|
|
DEFALERT(ROOT,XQAUSER1,DEFDATE,ALERTID) | ;ADD DEFERRED DATE/TIME TO ALERT; FOR CPRS USE P653
|
|
GETPAT3(ROOT,PATIENT,XFROM,XTO) | ;
|
|
COMMON(SURFOR,USERS,RES) | ; List of users common in SURFOR and USERS. p734
|
|
MINEND(SURFOR,ENDDATE) | ||
ETFM(EXDATE) | ||
FORWARD(SURFOR,SURR) | ; p734 Forward deferred-alerts to current surrogate
|
|
RETURN(XQAUSER) | ; p734 - return surrogate-deferred alerts to the user
|
Name | Field # of Occurrence |
---|---|
^%DT | ETFM+2 |
C^%DTC | DEFALERT+16 |
NOW^%DTC | DEFALERT+16 |
^DIE | DEFALERT+40 |
$$GET1^DIQ | GETUSER1+34 |
$$FMADD^XLFDT | MINEND+3 |
$$FMTE^XLFDT | GETUSER2+36 |
$$NOW^XLFDT | GETUSER1+19, GETUSER1+27, MINEND+3, RETURN+7 |
USERLIST^XQALBUTL | DEFALERT+22 |
$$DAT8^XQALERT | GETUSER1+34 |
DELETE^XQALERT | RETURN+13 |
FORWARD^XQALFWD | FORWARD+16, RETURN+12 |
RETURN^XQALSUR1 | GETUSER1+8, GETUSER2+11 |
$$ACTVSURO^XQALSURO | GETUSER1+7, GETUSER2+11 |
SUROFOR^XQALSURO | GETUSER1+11, DEFALERT+21 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^VA(200 - [#200] | GETUSER2+37, GETUSER2+41, GETUSER2+44 |
^XTV(8992 - [#8992] | GETUSER+7, CHKTRAIL+5, GETUSER1+13, GETUSER1+14, GETUSER1+15, GETUSER1+16, GETUSER1+25*, DEFALERT+28, DEFALERT+29, DEFALERT+38 , DEFALERT+42, GETPAT3+9, FORWARD+5, FORWARD+9, FORWARD+14*, FORWARD+17*, RETURN+4, RETURN+5, RETURN+6, RETURN+7 , RETURN+10 |
^XTV(8992.1 - [#8992.1] | GETPAGE+5, GETPAGE+10, CHKTRAIL+3, CHKTRAIL+4, GETUSER1+27, GETUSER1+28, GETUSER1+29*, GETUSER1+30*, GETUSER2+12, GETUSER2+19 , GETUSER2+20, GETUSER2+21, GETUSER2+22, GETUSER2+23, GETUSER2+25, GETUSER2+27, GETUSER2+28, GETUSER2+32, GETUSER2+33, GETUSER2+38 , GETUSER2+39, GETUSER2+40, GETUSER2+43, GETPAT3+7, GETPAT3+8, GETPAT3+13, FORWARD+11 |
^XTV(8992.2 - [#8992.2] | GETUSER2+29 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | DEFALERT+9~, DEFALERT+16 |
%DT | ETFM+1~* |
ALERTID | DEFALERT~, DEFALERT+22, DEFALERT+27, DEFALERT+29 |
BEGDATE | FORWARD+7~, FORWARD+8*, FORWARD+13 |
BEST | GETUSER2+38~*, GETUSER2+41* |
COMUSERS | DEFALERT+23~, DEFALERT+24 |
DA | DEFALERT+34*, DEFALERT+38, DEFALERT+42, DEFALERT+43! |
DA(1 | DEFALERT+33*, DEFALERT+35 |
DEFDATE | DEFALERT~, DEFALERT+12, DEFALERT+17, DEFALERT+24, DEFALERT+25*, FORWARD+7~, FORWARD+9*, FORWARD+10, FORWARD+12, FORWARD+13 , FORWARD+17 |
DEFDATE1 | DEFALERT+24~*, DEFALERT+25 |
DIE | DEFALERT+35*, DEFALERT+43! |
DR | DEFALERT+36*, DEFALERT+43! |
DUZ | GETUSER+2, GETUSER1+3, GETUSER2+4, GETUSER2+5, DEFALERT+11 |
END | RETURN+2~, RETURN+5*, RETURN+7 |
ENDDATE | MINEND~, MINEND+2, MINEND+3*, MINEND+9*, MINEND+10, FORWARD+7~, FORWARD+8*, FORWARD+12*, FORWARD+13 |
EXDATE | ETFM~, ETFM+2 |
FLAG | GETUSER1~, GETUSER1+6*, GETUSER1+18, GETUSER2~ |
FRSTDATE | GETUSER~, GETUSER+3*, GETUSER+6, GETPAT~, CHKTRAIL+5, CHKTRAIL+6, CHKTRAIL+7, GETUSER1~, GETUSER1+4*, GETUSER1+13 , GETUSER2~, GETUSER2+6*, GETUSER2+19 |
FWD | FORWARD+7~, FORWARD+11*, FORWARD+13 |
FWD0 | GETUSER2+31~, GETUSER2+33*, GETUSER2+34, GETUSER2+36 |
FWDDT | GETUSER2+14~, GETUSER2+24*, GETUSER2+36*, GETUSER2+37 |
FWDNM | GETUSER2+14~, GETUSER2+24*, GETUSER2+34*, GETUSER2+35, GETUSER2+37*, GETUSER2+49 |
I | GETUSER+1~, GETUSER+7*, GETUSER1+16~*, GETUSER1+25, GETUSER2+38~*, GETUSER2+39, GETUSER2+40, COMMON+1~, COMMON+6*, COMMON+8 , FORWARD+2~, FORWARD+4*, FORWARD+8 |
IEN | FORWARD+2~, FORWARD+5*, FORWARD+9, FORWARD+14, FORWARD+17, RETURN+2~, RETURN+4*, RETURN+5 |
IEN2 | RETURN+2~, RETURN+6*, RETURN+7, RETURN+10 |
J | COMMON+1~, COMMON+7*, COMMON+8 |
K | COMMON+1~, COMMON+5*, COMMON+8*, COMMON+9 |
KEY | GETUSER1+1~, GETUSER1+32*, GETUSER1+34, GETUSER1+35, GETUSER2+14~, GETUSER2+47*, GETUSER2+48 |
LASTDATE | GETUSER~, GETUSER+4*, GETPAT~, CHKTRAIL+7, GETUSER1~, GETUSER1+5*, GETUSER2~, GETUSER2+7*, GETUSER2+18 |
LASTFWD | GETUSER2+31~, GETUSER2+32*, GETUSER2+33 |
LASTTYPE | GETUSER2+14~, GETUSER2+24*, GETUSER2+27*, GETUSER2+28 |
LIMIT | GETPAT2~, GETPAGE+3, GETPAGE+4, GETPAGE+12 |
MAXRET | GETUSER2~, GETUSER2+8*, GETUSER2+46, GETUSER2+50 |
NCNT | GETUSER+1~, GETUSER+5*, GETUSER+8*, GETUSER+9, GETUSER+10, GETPAT+1~, GETPAT+2*, GETPAT2+1~, GETPAT2+2*, CHKTRAIL+8* , CHKTRAIL+9, CHKTRAIL+10, GETUSER1+1~, GETUSER1+2*, GETUSER1+31*, GETUSER1+32, GETUSER1+34*, GETUSER1+35*, GETUSER1+37, GETUSER2+9~ , GETUSER2+10*, GETUSER2+45*, GETUSER2+46, GETUSER2+48, GETUSER2+49, GETUSER2+50*, GETUSER2+51, DEFALERT+9~, DEFALERT+10*, GETPAT3+1~ , GETPAT3+2* |
PAGE | GETPAT2~, GETPAGE+3, GETPAGE+4, GETPAGE+12 |
PATIENT | GETPAT~, GETPAT+3, GETPAT+5, GETPAT2~, GETPAT2+3, GETPAT2+5, GETPAT3~, GETPAT3+3, GETPAT3+5 |
PDATE | GETUSER2+9~, GETUSER2+18*, GETUSER2+19*, GETUSER2+20, GETUSER2+21 |
PROCBY | GETUSER2+14~, GETUSER2+24*, GETUSER2+41*, GETUSER2+42*, GETUSER2+49 |
PROONLY | GETUSER2~ |
RCPNT | RETURN+2~, RETURN+6*, RETURN+7* |
RECIPDA | GETUSER2+9~, GETUSER2+12*, GETUSER2+19, GETUSER2+20, GETUSER2+21 |
RES | COMMON~, COMMON+2!*, COMMON+9* |
RES( | COMMON+8* |
RETURN | GETUSER2+14~, GETUSER2+24*, GETUSER2+25*, GETUSER2+26 |
ROOT | GETUSER~, GETUSER+5, GETUSER+9, GETUSER+10, GETPAT~, GETPAT+2, GETPAT+3, GETPAT2~, GETPAT2+2, GETPAT2+3 , GETPAGE+11, GETPAGE+12, GETPAGE+13, CHKTRAIL+9, CHKTRAIL+10, GETUSER1~, GETUSER1+2, GETUSER1+32, GETUSER1+34, GETUSER1+35 , GETUSER1+37, GETUSER2~, GETUSER2+1, GETUSER2+2, GETUSER2+3, GETUSER2+48, GETUSER2+49, GETUSER2+51, DEFALERT~, DEFALERT+10 , DEFALERT+13, DEFALERT+18, DEFALERT+25, DEFALERT+31, GETPAT3~, GETPAT3+2, GETPAT3+3, GETPAT3+14, GETPAT3+15 |
RTYP | GETUSER2+14~, GETUSER2+24*, GETUSER2+29*, GETUSER2+30, GETUSER2+49 |
SURFOR | GETUSER1+11~, DEFALERT+21~, DEFALERT+23, COMMON~, COMMON+3, MINEND~, MINEND+2, MINEND+4, FORWARD~, FORWARD+1 |
SURFOR( | COMMON+6, COMMON+8, MINEND+6, FORWARD+4, FORWARD+8 |
SURR | FORWARD~, FORWARD+11, FORWARD+15, FORWARD+16, RETURN+2~, RETURN+4*, RETURN+5*, RETURN+6, RETURN+7, RETURN+10 , RETURN+12 |
SURR0 | RETURN+2~, RETURN+5* |
SURRDA | GETUSER2+14~, GETUSER2+24*, GETUSER2+43*, GETUSER2+44 |
SURRFOR | GETUSER2+14~, GETUSER2+24*, GETUSER2+44*, GETUSER2+49 |
TMP0 | GETUSER2+39~*, GETUSER2+40, GETUSER2+41 |
TYPNODE | GETUSER2+14~, GETUSER2+28*, GETUSER2+29 |
U | GETUSER+9, GETPAGE+11, GETPAGE+12, CHKTRAIL+5, CHKTRAIL+6, CHKTRAIL+7, CHKTRAIL+9, GETUSER1+23, GETUSER1+25, GETUSER1+26 , GETUSER1+29, GETUSER1+30, GETUSER1+32, GETUSER1+34, GETUSER1+35, GETUSER2+25, GETUSER2+29, GETUSER2+34, GETUSER2+36, GETUSER2+37 , GETUSER2+40, GETUSER2+41, GETUSER2+43, GETUSER2+44, GETUSER2+47, GETUSER2+48, GETUSER2+49, GETPAT3+9, GETPAT3+10, GETPAT3+14 , COMMON+8, MINEND+6, FORWARD+4, FORWARD+8, FORWARD+9, FORWARD+14, FORWARD+16, FORWARD+17, RETURN+5, RETURN+7 , RETURN+10 |
USERS | DEFALERT+22~, DEFALERT+23, COMMON~, COMMON+4 |
USERS( | COMMON+7, COMMON+8 |
X | GETUSER+1~, GETUSER+7*, GETUSER+9, GETPAGE+9~, GETPAGE+10*, GETPAGE+11, CHKTRAIL+2~, CHKTRAIL+4*, CHKTRAIL+5, CHKTRAIL+6 , CHKTRAIL+7, CHKTRAIL+9, GETUSER1+16~*, GETUSER1+23, GETUSER1+26, GETUSER1+32, GETUSER1+34, GETUSER1+35, GETUSER2+13~, GETUSER2+22* , GETUSER2+48, DEFALERT+9~, DEFALERT+17, GETPAT3+1~, GETPAT3+8*, GETPAT3+9, GETPAT3+10, GETPAT3+14, MINEND+5~, MINEND+6* , MINEND+7, MINEND+8*, MINEND+9, ETFM+1~, ETFM+2* |
X1 | GETPAGE+9~, GETPAGE+10*, GETPAGE+11, CHKTRAIL+2~, CHKTRAIL+4*, CHKTRAIL+9, GETUSER2+13~, GETUSER2+22*, GETUSER2+47, GETUSER2+48 , DEFALERT+9~, DEFALERT+16*, GETPAT3+1~, GETPAT3+13*, GETPAT3+14 |
X2 | GETUSER+1~, GETUSER+7*, GETUSER+9, GETPAGE+9~, GETPAGE+10*, GETPAGE+11, CHKTRAIL+2~, CHKTRAIL+4*, CHKTRAIL+9, GETUSER1+16~* , GETUSER1+33, GETUSER1+34, GETUSER1+35, GETUSER2+13~, GETUSER2+22*, DEFALERT+9~, DEFALERT+16*, GETPAT3+1~, GETPAT3+13*, GETPAT3+14 |
X20 | GETUSER2+13~ |
X20(0 | GETUSER2+23*, GETUSER2+49 |
X3 | GETUSER+1~, GETUSER+7*, GETUSER+9, GETPAGE+9~, GETPAGE+10*, GETPAGE+11, CHKTRAIL+2~, CHKTRAIL+4*, CHKTRAIL+9, GETUSER1+16~* , GETUSER1+32, GETUSER2+13~, GETUSER2+22*, GETUSER2+47, GETPAT3+1~, GETPAT3+13*, GETPAT3+14 |
X4 | GETUSER1+16~*, GETUSER1+32, GETUSER2+13~, GETUSER2+22*, GETUSER2+47 |
XCKUSER | GETUSER1+16~ |
XDA | GETUSER2+13~, GETUSER2+20*, GETUSER2+21, GETUSER2+22, GETUSER2+23, GETUSER2+25, GETUSER2+27, GETUSER2+28, GETUSER2+32, GETUSER2+33 , GETUSER2+38, GETUSER2+39, GETUSER2+40, GETUSER2+43 |
XDATE | GETPAT3+1~, GETPAT3+10*, GETPAT3+11 |
XDEF | GETUSER1+16~*, GETUSER1+20, GETUSER1+21 |
XDT | DEFALERT+27~*, DEFALERT+28*, DEFALERT+29, DEFALERT+34 |
XFLAG | DEFALERT+27~*, DEFALERT+28, DEFALERT+29*, DEFALERT+30 |
XFROM | GETPAT3~, GETPAT3+11 |
XMDA | GETUSER2+13~, GETUSER2+21*, GETUSER2+23, GETUSER2+25, GETUSER2+27, GETUSER2+28, GETUSER2+32, GETUSER2+33, GETUSER2+43 |
XNOW | GETUSER1+17~, GETUSER1+19*, GETUSER1+21 |
XQ1 | GETPAGE+1~, GETPAGE+2*, GETPAGE+5*, GETPAGE+10, CHKTRAIL+2~, CHKTRAIL+3*, CHKTRAIL+4, GETPAT3+1~, GETPAT3+6*, GETPAT3+7* , GETPAT3+8, GETPAT3+13 |
XQA | FORWARD+7~, RETURN+9~, RETURN+12 |
XQA( | FORWARD+15* |
XQA(1 | RETURN+11* |
XQACMNT | FORWARD+7~, FORWARD+15*, FORWARD+16, RETURN+9~, RETURN+11*, RETURN+12 |
XQADAT | GETUSER1+24~, GETUSER1+27*, GETUSER1+29, GETUSER1+30 |
XQAID | GETUSER1+24~, GETUSER1+26*, GETUSER1+27, FORWARD+7~, FORWARD+9*, FORWARD+10, FORWARD+11, RETURN+9~, RETURN+10*, RETURN+12 |
XQALERT | FORWARD+7~, FORWARD+9*, FORWARD+16, RETURN+9~, RETURN+10* |
XQALTID | FORWARD+7~, FORWARD+11* |
XQALTYPE | FORWARD+7~, FORWARD+15*, RETURN+9~, RETURN+11* |
XQAUSER | GETUSER~, GETUSER+2*, GETUSER+7, GETUSER+12, GETUSER1~, GETUSER1+3*, GETUSER1+7, GETUSER1+8, GETUSER1+11, GETUSER1+13 , GETUSER1+14, GETUSER1+15, GETUSER1+16, GETUSER1+25, GETUSER1+28, GETUSER2~, GETUSER2+4, GETUSER2+5*, GETUSER2+11, GETUSER2+12 , DEFALERT+11*, FORWARD+2~, FORWARD+4*, FORWARD+5, FORWARD+9, FORWARD+14, FORWARD+17, RETURN~, RETURN+1, RETURN+4 , RETURN+5, RETURN+7, RETURN+11, RETURN+12~* |
XQAUSER1 | DEFALERT~, DEFALERT+11, DEFALERT+21, DEFALERT+28, DEFALERT+29, DEFALERT+33, DEFALERT+38, DEFALERT+42 |
XQCNT | GETPAGE+1~, GETPAGE+2*, GETPAGE+6*, GETPAGE+7, GETPAGE+11, GETPAGE+12, GETPAT3+1~, GETPAT3+6*, GETPAT3+12*, GETPAT3+14 , GETPAT3+15 |
XQCNTTOT | GETPAGE+1~, GETPAGE+2*, GETPAGE+8*, GETPAGE+13 |
XQEND | GETPAGE+1~, GETPAGE+4*, GETPAGE+7, GETPAT3+1~ |
XQI | MINEND+1~, MINEND+4*, MINEND+6 |
XQSTART | GETPAGE+1~, GETPAGE+3*, GETPAGE+7, GETPAT3+1~ |
XQUIT | GETUSER1+17~*, GETUSER1+18, GETUSER1+21* |
XQXX | GETUSER1+24~, GETUSER1+27*, GETUSER1+28, GETUSER1+29, GETUSER1+30 |
XQXY | GETUSER1+24~, GETUSER1+27*, GETUSER1+28*, GETUSER1+29, GETUSER1+30 |
XREF | GETUSER+1~, GETUSER+11*, GETPAT+1~, GETPAT+4*, GETPAT2+1~, GETPAT2+4*, GETPAGE+5, CHKTRAIL+3, GETPAT3+1~, GETPAT3+4* , GETPAT3+7 |
XTO | GETPAT3~, GETPAT3+11 |
XVAL | GETUSER+1~, GETUSER+12*, GETPAT+1~, GETPAT+5*, GETPAT2+1~, GETPAT2+5*, GETPAGE+5, CHKTRAIL+3, GETPAT3+1~, GETPAT3+5* , GETPAT3+7 |
Y | ETFM+1~, ETFM+3 |