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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ORQ12

Package: Order Entry Results Reporting

Routine: ORQ12


Information

ORQ12 ; slc/dcm - Get patient orders in context ;Mar 04, 2019@14:04:01

Source Information

Source file <ORQ12.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Order Entry Results Reporting 2 LP1^ORQ11  UAPALPHA^ORTOULT4  
Kernel 1 $$NOW^XLFDT  
List Manager 1 $$LOWER^VALM1  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 50

Package Total Caller Graph
Order Entry Results Reporting 37 ORALWORD  ORB3FUP1  ORCACT  ORCACT2  ORCDFH  ORCDFHTF  ORCDLR1  ORCFLAG  
ORCHTAB3  ORCMENU1  ORCXPND1  ORKCHK4  ORKCHK6  ORKOR  ORPR01  ORPRS03  
ORPRS04  ORPRS11  ORQ11  ORQ13  ORQ2  ORQ20  ORQOR1  ORSNAST1  
ORSNAST2  ORTOULT4  ORU4  ORWDFH  ORWDXA  ORWDXA1  ORWDXR  ORWOR2  
ORWORR  ORWTITR  ORX8  ORY134  ^ORD(100.22  
Virtual Patient Record 4 VPRDJ01  VPRDLRO  VPRDOR  VPRHSX1  
Health Summary 3 GMTSPST1  GMTSPST2  GMTSPSTN  
Enterprise Health Management Platform 2 HMPDJ01  HMPDOR  
Care Management 1 ORRCACK  
Clinical Reminders 1 PXRMCEOC  
Shift Handoff Tool 1 CRHD8  
VA FileMan 1 ITEM  

Entry Points

Name Comments DBIA/ICR reference
GET(IFN,NEWD,DETAIL,ACTOR) ; -- Setup TMP array
; IFN=ifn of order
; NEWD=3rd subscript in ^TMP("ORR",$J, node (ORLIST)
; DETAIL=see description in ^ORQ1
TEXT(ORTX,ORIFN,WIDTH,ORUGROUP) ; -- Returns text of order ORIFN in ORTX(#) ;RTW UAP
T1
LASTXT(IFN)
LAST(CODE) ; -- Return DA of last occurence of CODE action
ACTION(X) ; -- Returns text of action X
DATETIME(X) ; -- Returns date/time in format 00/00/00@00:00am
NAME(X) ; -- Returns name as Lname,F
ADD ; -- Add text X to ORTX()
EXPD ; -- loop through ^XTMP("ORAE" to get expired orders
GETEIE(IFN,NEWD,DETAIL,ACTOR) ; -- Setup TMP array
; IFN=ifn of order
; NEWD=3rd subscript in ^TMP("ORR",$J, node (ORLIST)
; DETAIL=see description in ^ORQ1
GETSTAT(ITEM) ;

External References

Name Field # of Occurrence
$$GET1^DIQ T1+3
LP1^ORQ11 EXPD+15
UAPALPHA^ORTOULT4 T1+4
$$LOWER^VALM1 NAME+3
$$NOW^XLFDT EXPD+3
$$GET^XPAR T1+10, T1+12

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^OR(100 - [#100] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(9.4 - [#9.4] TEXT+10
^OR(100 - [#100] GET+8, TEXT+4, TEXT+6, TEXT+18, T1T1+5, T1+10, T1+12, T1+13, LASTXT+2
, LAST+2, LAST+3, EXPD+7, EXPD+8, EXPD+10, EXPD+14, GETEIE+6, GETSTAT+2
^ORD(100.01 - [#100.01] GET+10, GETEIE+8, GETSTAT+3
^ORD(100.03 - [#100.03] T1+11, GETEIE+11
^ORD(100.98 - [#100.98] GET+9, TEXT+8, GETEIE+7
^ORD(101.41 - [#101.41] T1+7
^TMP("ORGOTIT" GET+6*, EXPD+1!, EXPD+5, EXPD+18!, GETEIE+12*
^TMP("ORR" GET+7*, GET+13*, GET+14*, EXPD+17*, GETEIE+13*, GETEIE+14*, GETEIE+15*
^TMP("ORSORT" EXPD+1!, EXPD+12*, EXPD+13, EXPD+14, EXPD+18!
^VA(200 - [#200] NAME+1
^XTMP("ORAE" EXPD+4, EXPD+5, EXPD+7!
^XTV(8989.51 - [#8989.51] T1+16

Label References

Name Line Occurrences
$$ACTION TEXT+11
$$DATETIME T1+13
$$LASTXT TEXT+17
$$NAME T1+13
ADD TEXT+8, TEXT+11, TEXT+13, TEXT+15, TEXT+18, TEXT+19, T1+5, T1+7, T1+9, T1+10
T1+11, T1+12, T1+13
T1 TEXT+9
TEXT GET+14, GETEIE+15

Naked Globals

Name Field # of Occurrence
^( TEXT+18, T1+5, LASTXT+2
^(0 EXPD+14
^(3 GET+8, TEXT+6, EXPD+14, GETEIE+6
^(4 GET+8, GETEIE+6
^(6 GET+8, TEXT+6, GETEIE+6
^(8 TEXT+6
^(9 T1+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTOR GET~, GET+6, GET+7, GET+13, GET+14, EXPD+2~, EXPD+15*, GETEIE~, GETEIE+12, GETEIE+13
, GETEIE+14
CODE LAST~, LAST+2, LAST+3
D DATETIME+1~, DATETIME+2*, DATETIME+4
DA LAST+1~, LAST+2*, LAST+3*, LAST+4
DCREAS GETEIE+5~, GETEIE+10*, GETEIE+11
DETAIL GET~, GET+7, GETEIE~, GETEIE+13
DG GET+5~, GET+9*, GET+13, GETEIE+5~, GETEIE+7*, GETEIE+14
DLG TEXT+1~, T1+7*
>> EDATE EXPD+3*, EXPD+4
ENTERD GET+5~, GET+11*, GET+13, GETEIE+5~, GETEIE+9*, GETEIE+14
FIRST TEXT+1~, T1*, T1+5
I LASTXT+1~, LASTXT+2*, NAME+2*, ADD+1~, ADD+4*
IFN GET~, GET+6, GET+7, GET+8, GET+13, GET+14, LASTXT~, LASTXT+2, EXPD+2~, EXPD+5*
EXPD+7, EXPD+8, EXPD+10, EXPD+12, EXPD+14*, GETEIE~, GETEIE+6, GETEIE+12, GETEIE+13, GETEIE+14
, GETEIE+15
IOST TEXT+16
ITEM GETSTAT~, GETSTAT+2
>> MULT EXPD+5
NEWD GET~, GET+7, GET+13, GET+14, GETEIE~, GETEIE+13, GETEIE+14, GETEIE+15
NOW EXPD+2~, EXPD+3*
OR0 TEXT+1~, TEXT+6*, TEXT+8, TEXT+10, T1+7
OR3 TEXT+1~, TEXT+6*, TEXT+12, TEXT+13, TEXT+14, T1+11
OR6 TEXT+1~, TEXT+6*, T1+11
ORACT TEXT+1~, TEXT+3*, TEXT+4*, TEXT+6, T1+10, T1+12, T1+13
ORDG T1+1~, T1+3*
>> ORFLG T1+13
>> ORGRP( EXPD+4
ORI TEXT+1~, TEXT+15*, TEXT+18*, T1+5*
ORIFN TEXT~, TEXT+3*, TEXT+4, TEXT+6, T1T1+3, T1+4, T1+5, T1+10, T1+12
T1+13, LAST+2, LAST+3
ORIG TEXT+14~*, TEXT+17, TEXT+18
ORIGTA TEXT+14~, TEXT+17*, TEXT+18
>> ORIGVIEW TEXT+9, TEXT+12, T1+6, ACTION+2
ORJ TEXT+1~
>> ORLIST EXPD+17
>> ORLST GET+6*, GET+7, GET+13, GET+14, EXPD+17, GETEIE+12*, GETEIE+13, GETEIE+14, GETEIE+15
OROITEM T1+1~
>> ORPAR T1+16*
ORREP EXPD+2~, EXPD+10*, EXPD+11
ORTA TEXT+1~, T1*, T1+4, T1+5
>> ORTOADD T1+4
ORTX TEXT~, TEXT+2!, TEXT+7*, ADD+1, ADD+2*, ADD+3, ADD+4, ADD+5*, ADD+6*
ORTX( ADD+1, ADD+2*, ADD+3*, ADD+4*, ADD+5*
ORTX(1 TEXT+7*, TEXT+10*
ORUAPVER T1+1~, T1+2*, T1+3*, T1+4
ORUGROUP TEXT~, T1+4
>> ORUIFN T1+4*
>> ORUTA T1+4*
ORX TEXT+1~, TEXT+6*, TEXT+11, TEXT+12, T1T1+9, T1+11, T1+13*
ORXZ T1+10*!
>> PAT EXPD+4, EXPD+5, EXPD+7
>> SDATE EXPD+3*, EXPD+4
SIEN GETSTAT+1~, GETSTAT+2*, GETSTAT+3
START GET+5~, GET+11*, GET+13, GETEIE+5~, GETEIE+9*, GETEIE+14
STAT GET+5~, GET+10*, GET+13, GETEIE+5~, GETEIE+8*, GETEIE+14
STOP GET+5~, GET+11*, GET+13, GETEIE+5~, GETEIE+9*, GETEIE+14
T DATETIME+1~, DATETIME+2*, DATETIME+4
T1 DATETIME+1~, DATETIME+2*, DATETIME+3*, DATETIME+4
TM EXPD+2~, EXPD+4*, EXPD+5, EXPD+7, EXPD+12, EXPD+13*, EXPD+14
TO EXPD+2~, EXPD+3*, EXPD+4*, EXPD+5, EXPD+7, EXPD+12, EXPD+13*, EXPD+14
TXT GET+5~, GET+14, GETEIE+5~, GETEIE+15
U GET+9, GET+10, GET+11, GET+13, TEXT+4, TEXT+8, TEXT+10, TEXT+11, TEXT+12, TEXT+13
, TEXT+14, T1T1+7, T1+9, T1+11, T1+12, T1+13, NAME+1, EXPD+8, EXPD+10
EXPD+15, GETEIE+7, GETEIE+8, GETEIE+9, GETEIE+10, GETEIE+14, GETSTAT+2, GETSTAT+3
USTS EXPD+2~, EXPD+8*, EXPD+9
WIDTH TEXT~, TEXT+2*, ADD+3, ADD+4, ADD+5
X TEXT+1~, TEXT+8*, TEXT+11*, TEXT+13*, TEXT+15*, TEXT+18*, TEXT+19*, T1+5*, T1+7*, T1+9*
T1+10*, T1+11*, T1+12*, T1+13*, ACTION~, ACTION+2, DATETIME~, DATETIME+2, NAME~, NAME+1
ADD+2*, ADD+3, ADD+4, EXPD+2~
X0 GET+5~, GET+8*, GET+9, GET+11, EXPD+2~, EXPD+14*, GETEIE+5~, GETEIE+6*, GETEIE+7, GETEIE+9
X3 GET+5~, GET+8*, GET+10, EXPD+2~, EXPD+14*, EXPD+15, GETEIE+5~, GETEIE+6*, GETEIE+8
X4 GET+5~, GET+8*, GETEIE+5~, GETEIE+6*
X6 GET+5~, GET+8*, GETEIE+5~, GETEIE+6*, GETEIE+10
X7 EXPD+2~
X8 EXPD+2~
>> XQAID T1+13
Y TEXT+1~, T1+7!, LASTXT+1~*, LASTXT+2*, LASTXT+3, ACTION+1~, ACTION+2*, ACTION+3, DATETIME+1~, DATETIME+4*
, DATETIME+5, NAME+1~, NAME+2*, NAME+3*, NAME+4, ADD+1~*, ADD+2*, ADD+3, ADD+4*, ADD+5*
ADD+6*
Z DATETIME+1~, DATETIME+2*, DATETIME+3*, DATETIME+4, NAME+1~*, NAME+2, ADD+4*, ADD+5*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All