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 |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: ORRCXQ

Package: Care Management

Routine: ORRCXQ


Information

ORRCXQ ;SLC/MKB - Alert utilities for CM ; 25 Jul 2003 9:31 AM

Source Information

Source file <ORRCXQ.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 2 $$FMTHL7^XLFDT  (DELETE,USER)^XQALERT  
Order Entry Results Reporting 2 $$XQAKILL^ORB3F1  $$NMSP^ORCD  
Care Management 1 $$PARAM^ORRCACK  
VA Fileman 1 ^%DT  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Care Management 2 ORRCACK  ORRCEVT  

Entry Points

Name Comments DBIA/ICR reference
USER(ORY,ORDUZ) ; -- Return user's current alerts in @ORY@(PKGID,AID)=DATA
;
SIGQ
MDQ
MATCH() ; -- Return 1 or 0, if alert matches current order
; Called from RSLT & $$INCLD, so expects those var's to be defined
MSGTXT(ID) ; -- Return message text of alert ID
INCLD(NIEN) ; -- Order already in Results column?
; [from PAT - uses ORUSR]
ORN ; -- List result notifications by pkg in ORN(NMSP,IEN)
MQ
SIGN(ID) ; -- clear alerts for signatures
DELETE(XQAID) ; -- Delete alert XQAID
RSLT(ORDER,ORUSR) ; -- clear alerts for ORDERs results
PAT(ORY,ORPAT,ORUSR) ; -- Return non-ADT alerts for ORPAT to ORUSR
; in @ORY@(#) = Item=ID^Text^Date in HL7 format
; where ID is "NOT:<XQAID>"
; RPC = ORRC ALERTS BY PATIENT
MSGDT(ADT,ATXT) ; -- Return event date from alert date and text

External References

Name Field # of Occurrence
^%DT MSGDT+6
$$XQAKILL^ORB3F1 DELETE+2
$$NMSP^ORCD INCLD+8, RSLT+5
$$PARAM^ORRCACK PAT+5
$$FMTHL7^XLFDT PAT+13
DELETE^XQALERT DELETE+3
USER^XQALERT USER+4, PAT+6

Used in RPC

RPC Name Call Tags
ORRC ALERTS BY PATIENT PAT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] INCLD+6, RSLT+4, SIGN+3
^ORA(102.4 - [#102.4] INCLD+5
^RADPT("AO" MATCH+6, MATCH+8
^TMP($J USER+3, PAT+7
^XTV(8992 - [#8992] USER+7, INCLD+4, MSGTXT+4

Label References

Name Line Occurrences
$$INCLD PAT+12
$$MATCH INCLD+9, RSLT+10
DELETE RSLT+11, SIGQ
MDQ MSGDT+2
MQ MATCH+4, MATCH+5
ORN RSLT+2
SIGQ SIGN+2, SIGN+6
USER RSLT+2, SIGN+2

Naked Globals

Name Field # of Occurrence
^(4 INCLD+6, RSLT+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT MSGDT+1~, MSGDT+6*
ACTDT PAT+4~, PAT+5*, PAT+12
ADATA MATCH+2~, MATCH+3*, MATCH+6, MATCH+7, MATCH+8, MATCH+9
ADT MSGDT~, MSGDT+2, MSGDT+6
AID USER+2~, USER+6*, USER+8, RSLT+1~, RSLT+9*, RSLT+10, RSLT+11, SIGN+1~, SIGN+4*, SIGN+5*
, SIGN+7*, SIGN+8*
APKG MATCH+2~, MATCH+3*, MATCH+4, MATCH+6, MATCH+7
ATXT MSGDT~, MSGDT+2, MSGDT+3, MSGDT+4
D0 MSGTXT+1~, MSGTXT+3*, MSGTXT+4
D1 MSGTXT+1~, MSGTXT+3*, MSGTXT+4
DATA USER+2~, USER+7*, USER+8, INCLD+2~, INCLD+4*, RSLT+1~, RSLT+10*, MATCH+3, MATCH+4
DATE PAT+4~, PAT+9*, PAT+13, INCLD+4
DT PAT+12
DUZ USER+3, SIGN+2
I USER+2~, USER+5*, USER+6, PAT+4~, PAT+8*, PAT+9, ORN+1~, ORN+4*, ORN+5*, MSGDT+1~
, MSGDT+3*, MSGDT+4*
ID SIGN~, SIGN+2, SIGN+3, SIGN+6, SIGN+7, MSGTXT~, MSGTXT+2
IDX MSGTXT+1~, MSGTXT+2*, MSGTXT+3
N ORN+1~, ORN+4*
NIEN INCLD~, INCLD+2, RSLT+1~, RSLT+8*, MATCH+5
NMSP INCLD+2~, INCLD+3*, INCLD+8
NOT PAT+4~, PAT+11*, PAT+12
OR0 INCLD+6*, INCLD+7, INCLD+8, RSLT+1~, RSLT+4*, RSLT+5, RSLT+6
ORDER RSLT~
ORDER( RSLT+3
ORDUZ USER~, USER+3*, USER+4, USER+7
ORIFN INCLD+5*, INCLD+6, RSLT+1~, RSLT+3*, RSLT+4, MATCH+4
ORN PAT+4~, PAT+7*, PAT+13*, RSLT+1~, ORN+1!, DELETE+1~, DELETE+2*
ORN( RSLT+8, ORN+4*, ORN+5*
ORNKILL SIGN+1~, SIGQ
ORNKILL( SIGN+5*, SIGN+8*
ORPAT PAT~, PAT+10, INCLD+7
ORPKG INCLD+8*, RSLT+1~, RSLT+5*, RSLT+8, MATCH+4, MATCH+6, MATCH+7, MATCH+8, MATCH+9
ORUSR PAT~, PAT+5*, PAT+6, INCLD+4, INCLD+5, RSLT~, RSLT+2
ORVP INCLD+7*, RSLT+1~, RSLT+6*, RSLT+7, MATCH+6, MATCH+8, SIGN+1~, SIGN+3*, SIGN+4
ORXQ USER+2~, USER+4*, USER+5, USER+6, USER+9, PAT+4~, PAT+6*, PAT+8, PAT+9, PAT+14
ORY USER~, USER+3*, USER+8, PAT~, PAT+7*, PAT+13, RSLT+1~, RSLT+2, RSLT+7, RSLT+9
, RSLT+10, RSLT+12, SIGN+1~, SIGN+2, SIGN+5, SIGN+8, SIGQ+1
PKG INCLD+2~, INCLD+4*, INCLD+8
PKGID USER+2~, USER+6*, USER+8, RSLT+1~, RSLT+6*, RSLT+7*, RSLT+8, RSLT+9, RSLT+10, RSLT+11
, SIGN+1~, SIGN+4*, SIGN+5, SIGN+7*, SIGN+8
PKGIFN INCLD+6*, RSLT+1~, RSLT+4*, MATCH+6, MATCH+7, MATCH+8, MATCH+9
TEXT PAT+4~, PAT+9*, PAT+13
TM USER+2~, USER+6*, USER+7
U USER+6, PAT+9, PAT+11, PAT+13, INCLD+2, INCLD+7, INCLD+8, RSLT+5, RSLT+6, ORN+4
, MATCH+5, SIGN+3, MSGTXT+4
X USER+2~, USER+6*, INCLD+2~*, INCLD+3, ORN+1~, ORN+2*, ORN+3, ORN+4, ORN+5, MSGDT+1~
, MSGDT+3*, MSGDT+4*, MSGDT+5*
XQAID PAT+4~, PAT+9*, PAT+10, PAT+11, PAT+13, DELETE~, DELETE+1, DELETE+2
XQAKILL DELETE+1~, DELETE+2*
Y INCLD+2~*, INCLD+5, INCLD+9*, INCLD+10, ORN+1~, ORN+3*, ORN+4, MATCH+2~*, MATCH+4*, MATCH+6*
, MATCH+7*, MATCH+8*, MATCH+9*, MQ, MSGTXT+1~, MSGTXT+4*, MSGTXT+5, MSGDT+1~, MSGDT+2*, MSGDT+6*
, MDQ
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All