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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: ORRDI1

Package: Order Entry Results Reporting

Routine: ORRDI1


Information

ORRDI1 ;SLC/JMH - RDI ROUTINES FOR API SUPPORTING CDS DATA ;10/28/2015 15:59

Source Information

Source file <ORRDI1.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Kernel 3 UNWIND^%ZTER  ($$FMADD,$$FMDIFF,$$FMTHL7,$$NOW)^XLFDT  F4^XUAF4  
Master Patient Index VistA 1 $$GETICN^MPIF001  
Order Entry Results Reporting 1 ($$DOWNXVAL,$$FAILPVAL,$$FAILXVAL,SPAWN)^ORRDI2  
Registration 1 $$SITE^VASITE  
Toolkit 1 $$GET^XPAR  
Web Services Client 1 ($$GET,$$GETREST,$$STATCHK)^XOBWLIB  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 24

Package Total Caller Graph
Outpatient Pharmacy 15 PSOCPDUP  PSOCPPRE  PSODDPR4  PSODGDGI  PSODGDGP  PSOORDRG  PSOORRDI  PSOORROC  
PSOORUT2  PSOQ0595  PSOQRART  PSOQUAP2  PSORMRX  PSORX1  PSOVER1  
Health Summary 4 GMTSPST1  GMTSPST4  GMTSPST5  GMTSPSTN  
Inpatient Medications 2 PSJDPT  PSJMUTL  
Order Entry Results Reporting 2 ORKCHK  ORRDI2  
Adverse Reaction Tracking 1 GMRAHDR  

Entry Points

Name Comments DBIA/ICR reference
PARSE(STREAM) ;
SPUSH(S,X) ;places X on the stack S and returns the current level of the stack
SPEEK(S,X) ;same as SPOP except the top item is not removed
RETRIEVE(DFN,DOMAIN) ;GET DATA
PS(DFN) ;expects ^TMP($J,"ORRDI")
SPUT(S,X) ;implementation specific, uses the stack to form a global node
ERRHNDL(DFN) ;handle any errors that may get thrown in call to GET^ORRDI1
HAVEHDR() ;call to check if this system has an HDR to perform order checks
; against
DTCONV(DATE) ;convert date in hl7 format to mm/dd/yy
SPOP(S,X) ;removes the top item from the stack S and put it into the variable X and returns the level that X was at
GET(DFN,DOMAIN) ;API for packages to call in order to get data from HDR for
MSGERR() ;check errors from XML return
AL(DFN) ;expects ^TMP($J,"ORRDI")

External References

Name Field # of Occurrence
UNWIND^%ZTER ERRHNDL+2
$$GETICN^MPIF001 RETRIEVE+8
$$DOWNXVAL^ORRDI2 GET+3
$$FAILPVAL^ORRDI2 GET+23
$$FAILXVAL^ORRDI2 GET+22, GET+23
SPAWN^ORRDI2 GET+25
$$SITE^VASITE RETRIEVE+13
$$FMADD^XLFDT RETRIEVE+10, RETRIEVE+49
$$FMDIFF^XLFDT GET+11, GET+13, GET+14
$$FMTHL7^XLFDT RETRIEVE+11
$$NOW^XLFDT GET+11, GET+13, GET+14, RETRIEVE+10, RETRIEVE+34, RETRIEVE+47, RETRIEVE+48, RETRIEVE+49, RETRIEVE+54, RETRIEVE+56
$$GET^XOBWLIB RETRIEVE+37
$$GETREST^XOBWLIB RETRIEVE+36
$$STATCHK^XOBWLIB PARSE+6
$$GET^XPAR GET+10, HAVEHDR+3
F4^XUAF4 AL+9, AL+59

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J RETRIEVE+4!, RETRIEVE+55!, PS+4, AL+4, AL+55, PARSE+2, MSGERR+5, MSGERR+7, MSGERR+8, ERRHNDL+1!
^XTMP("ORRDI" GET+4!, GET+5*, GET+9, GET+11, GET+13, GET+14, GET+18*, GET+22*, GET+24*, GET+26*
, RETRIEVE+47*, RETRIEVE+48*, RETRIEVE+49*, RETRIEVE+52*, RETRIEVE+54*, RETRIEVE+56*, RETRIEVE+57*, RETRIEVE+58*, PS+1!, PS+7*
, PS+8*, PS+9*, PS+10*, PS+11*, PS+12*, PS+13*, PS+14*, PS+17*, PS+18*, PS+19*
, PS+20*, PS+21*, PS+22*, PS+23*, AL+1!, AL+11*, AL+13*, AL+15*, AL+17*, AL+21*
, AL+23*, AL+25*, AL+28*, AL+31*, AL+33*, AL+35*, AL+38*, AL+41*, AL+43*, AL+44*
, AL+45*, AL+49*, AL+53*, AL+54*, AL+57*, AL+61*, AL+63*, ERRHNDL+1!

Label References

Name Line Occurrences
$$AL RETRIEVE+45
$$DTCONV PS+13, PS+14, PS+17, PS+18
$$MSGERR PS+2, AL+2
$$PS RETRIEVE+46
$$RETRIEVE GET+17
PARSE RETRIEVE+42
SPOP PARSE+11
SPUSH PARSE+10
SPUT PARSE+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%XML PARSE+1~
BREAK PARSE+7~, PARSE+8*
CNT PS+3~, PS+4*, PS+6*, PS+25, AL+3~, AL+4*, AL+6*, AL+64
DATE DTCONV~, DTCONV+1, DTCONV+2
DFN GET~, GET+4, GET+5, GET+9, GET+11, GET+13, GET+14, GET+17, GET+26, RETRIEVE~
, RETRIEVE+8, RETRIEVE+45, RETRIEVE+46, RETRIEVE+47, RETRIEVE+48, RETRIEVE+54, RETRIEVE+56, RETRIEVE+57, RETRIEVE+58, PS~
, PS+1, PS+7, PS+8, PS+9, PS+10, PS+11, PS+12, PS+13, PS+14, PS+17
, PS+18, PS+19, PS+20, PS+21, PS+22, PS+23, AL~, AL+1, AL+11, AL+13
, AL+15, AL+17, AL+21, AL+23, AL+25, AL+28, AL+31, AL+33, AL+35, AL+38
, AL+41, AL+43, AL+44, AL+45, AL+49, AL+53, AL+54, AL+57, AL+61, AL+63
, ERRHNDL~, ERRHNDL+1
DOMAIN GET~, GET+1*, GET+4, GET+5, GET+9, GET+11, GET+17, GET+26, RETRIEVE~, RETRIEVE+6*
, RETRIEVE+50, RETRIEVE+51
FACIL RETRIEVE+3~, RETRIEVE+13*, RETRIEVE+21, RETRIEVE+34
GL PS+3~, PS+4*, PS+5, PS+7, PS+8, PS+9, PS+10, PS+11, PS+12, PS+13
, PS+14, PS+15, PS+16, PS+17, PS+18, PS+19, PS+20, PS+21, PS+22, AL+3~
, AL+4*, AL+5, AL+7, AL+9, AL+13, AL+14, AL+15, AL+16, AL+17, AL+18
, AL+19, AL+20, AL+21, AL+22, AL+23, AL+24, AL+25, AL+26, AL+27, AL+28
, AL+29, AL+30, AL+31, AL+32, AL+33, AL+34, AL+35, AL+36, AL+37, AL+38
, AL+39, AL+41, AL+42, AL+43, AL+44, AL+45, AL+46, AL+47, AL+48, AL+49
, AL+50, AL+51, AL+52, AL+53, AL+54, AL+55*, AL+56, AL+57, AL+59, AL+63
, PARSE+1~, PARSE+2*, PARSE+3, SPUT+2
I GET+7~, PS+3~, PS+5*, PS+7, PS+8, PS+9, PS+10, PS+11, PS+12, PS+13
, PS+14, PS+15, PS+16, PS+17, PS+18, PS+19, PS+20, PS+21, PS+22, PS+23
, AL+3~, AL+5*, AL+7, AL+9, AL+11, AL+13, AL+14, AL+15, AL+16, AL+17
, AL+18, AL+19, AL+20, AL+21, AL+22, AL+23, AL+24, AL+25, AL+26, AL+27
, AL+28, AL+29, AL+30, AL+31, AL+32, AL+33, AL+34, AL+35, AL+36, AL+37
, AL+38, AL+39, AL+41, AL+42, AL+43, AL+44, AL+45, AL+46, AL+47, AL+48
, AL+49, AL+50, AL+51, AL+52, AL+53, AL+54, AL+56*, AL+57, AL+59, AL+61
, AL+63, SPUSH+1~*, SPUSH+2, SPOP+1~*, SPOP+2, SPOP+3, SPOP+4, SPEEK+1~*, SPEEK+2, SPEEK+3
, SPUT+1~, SPUT+3*, SPUT+4, SPUT+6, MSGERR+6~*, MSGERR+7, MSGERR+8
ICN RETRIEVE+3~, RETRIEVE+8*, RETRIEVE+9, RETRIEVE+19
J AL+19~*, AL+20, AL+21, AL+22, AL+23, AL+24, AL+25, AL+47~*, AL+48, AL+49
, AL+51~*, AL+53, AL+54, SPOP+3~*, MSGERR+7~*, MSGERR+8
K PS+15~*, PS+16, PS+17
L PS+22~*
NUM SPUT+5~*, SPUT+6*, SPUT+7
ORALNUM RETRIEVE+3~, RETRIEVE+45*, RETRIEVE+47, RETRIEVE+50, RETRIEVE+54
ORCACHE GET+7~, GET+10*, GET+11
ORCDIF RETRIEVE+3~, RETRIEVE+38*, RETRIEVE+43, RETRIEVE+54
ORCSTART RETRIEVE+3~, RETRIEVE+33*, RETRIEVE+34, RETRIEVE+38, RETRIEVE+43, RETRIEVE+54, RETRIEVE+56
ORERR RETRIEVE+3~, RETRIEVE+37, RETRIEVE+56, RETRIEVE+57, RETRIEVE+58
ORPDIF RETRIEVE+3~, RETRIEVE+43*, RETRIEVE+54
ORPSNUM RETRIEVE+3~, RETRIEVE+46*, RETRIEVE+48, RETRIEVE+51, RETRIEVE+54
ORPSTART RETRIEVE+3~, RETRIEVE+41*
ORQ PS+2~*, AL+2~*
ORRECDT GET+7~, GET+9*, GET+11
ORREQ RETRIEVE+3~, RETRIEVE+15*, RETRIEVE+16*, RETRIEVE+17*, RETRIEVE+18*, RETRIEVE+19*, RETRIEVE+20*, RETRIEVE+21*, RETRIEVE+22*, RETRIEVE+23*
, RETRIEVE+24*, RETRIEVE+25*, RETRIEVE+26*, RETRIEVE+27*, RETRIEVE+28*, RETRIEVE+29*, RETRIEVE+30*, RETRIEVE+31*, RETRIEVE+32*, RETRIEVE+34*
, RETRIEVE+37, RETRIEVE+52
ORRET GET+7~, GET+11*, GET+13*, GET+14*, GET+16, GET+17*, GET+18, GET+19, GET+20, GET+21*
, GET+26, GET+27, RETRIEVE+3~, RETRIEVE+37*, RETRIEVE+39, RETRIEVE+56, MSGERR+4~*, MSGERR+9*, MSGERR+10
ORSTR MSGERR+8~*, MSGERR+9
ORXML RETRIEVE+3~, RETRIEVE+36*, RETRIEVE+37
ORY RETRIEVE+3~, RETRIEVE+5*, RETRIEVE+39, RETRIEVE+50*, RETRIEVE+51*, RETRIEVE+52
READER PARSE+4~, PARSE+5
RETURN AL+8~, AL+9, AL+10, AL+11, AL+12, AL+58~, AL+59, AL+60, AL+61, AL+62
RETURN("NAME" AL+11, AL+61
RETURN("STATI ON NUMBER" , AL+11, AL+61
RETURN("VA NA ME" , AL+11, AL+61
S PARSE+4~, PARSE+10, PARSE+11, PARSE+12, SPUSH~, SPOP~, SPEEK~, SPUT~
S( SPUSH+1*, SPOP+2!, SPOP+3*, SPEEK+2, SPUT+3, SPUT+4, SPUT+6
S("" SPUSH+1, SPOP+1, SPEEK+1
START RETRIEVE+3~, RETRIEVE+10*, RETRIEVE+11*, RETRIEVE+12*, RETRIEVE+29
STATUS PARSE+4~, PARSE+5*, PARSE+6
STR SPUT+1~, SPUT+2*, SPUT+4*, SPUT+7*, SPUT+8*, SPUT+9, SPUT+10, SPUT+11
STREAM PARSE~, PARSE+5
U GET+9, GET+11, GET+13, GET+14, GET+20, GET+26, RETRIEVE+13, RETRIEVE+47, RETRIEVE+48, RETRIEVE+49
, RETRIEVE+54, RETRIEVE+56, RETRIEVE+57, RETRIEVE+58, PS+2, AL+2, AL+11, AL+13, AL+15, AL+21
, AL+23, AL+28, AL+31, AL+33, AL+38, AL+43, AL+44, AL+49, AL+53, AL+54
, AL+57, AL+61, AL+63
X PARSE+9~, PARSE+11, SPUSH~, SPUSH+1, SPOP~, SPOP+2*, SPOP+3, SPEEK~, SPEEK+2*, SPUT~
, SPUT+9, SPUT+10
XOBERR PARSE+4~, PARSE+6
Y RETRIEVE+3~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables |  All