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

Package: Order Entry Results Reporting

Routine: ORQOR2


Information

ORQOR2 ; slc/CLA - Extrinsic functions which return order information ;02/17/16 12:08

Source Information

Source file <ORQOR2.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Kernel 1 $$FMADD^XLFDT  
Order Entry Results Reporting 1 $$TEXT^ORKOR  
Registration 1 OERR^VADPT  
Toolkit 1 $$GET^XPAR  

Caller Graph

Caller Graph Total: 45

Package Total Caller Graph
Order Entry Results Reporting 33 OCXOZ02  OCXOZ04  OCXOZ05  OCXOZ06  OCXOZ07  OCXOZ08  OCXOZ09  OCXOZ0B  
OCXOZ0D  OCXOZ0E  ORB3  ORB31  ORB3F1  ORB3FUP1  ORB3SPEC  ORB3TIM1  
ORB3TIM2  ORB3U2  ORBPRCHK  ORDEA  ORKCHK  ORKLR  ORKLR2  ORKOR  
ORKPS  ORQ3  ORQPTQ1  ORTSKLPS  ORWDXA  ORWORB  ORWORR1  ORY132  
ORY134  
Outpatient Pharmacy 7 PSO283PI  PSO293PI  PSOELPS2  PSOELPST  PSOHLEXP  PSOMAUEX  PSOPOST  
Adverse Reaction Tracking 2 GMRAFX3  GMRAUTL2  
Inpatient Medications 2 PSJ0077  PSJ0078  
Shift Handoff Tool 1 CRHDDNR  

Entry Points

Name Comments DBIA/ICR reference
STATUS(ORN) ;extrinsic function returns the current status of an order in
RECENT(PT,OI,ST) ;extrinsic funct returns pt's most recent order for an orderable item and status in format:
; order number^order text (truncated to 60 chars)^start d/t^status
DUPRANGE(OI,DG,ODT,ORPT) ;extrinsic funct returns duplicate order range beginning date in the format:
ORDERER(ORNUM) ;ext. funct. gets ordering provider DUZ from ORDER File (#100)
UNSIGNOR(ORNUM) ;ext. funct. gets ordering provider DUZ from ORDER File (#100)
; based on order action number (8 node)
; if no action number return orderer for New order
OI(ORNUM) ;ext. funct. gets Orderable Item ien from ORDER File (#100)
OIM(ORY,ORNUM) ; Retrieves multiple Orderable Item IEN's from ORDER File (#100)
DG(ORNUM) ;ext. funct. gets Display Group ien from ORDER File (#100)
DGRX(ORNUM)
PT(ORNUM) ;ext. funct. gets Patient dfn from ORDER File (#100)
RSLTFLG(ORNUM) ;ext. funct. returns duz of user to receive alert if order was
; flagged to alert when resulted

External References

Name Field # of Occurrence
$$TEXT^ORKOR RECENT+8
OERR^VADPT DUPRANGE+12
$$FMADD^XLFDT DUPRANGE+23
$$GET^XPAR DUPRANGE+17, DUPRANGE+20, DUPRANGE+21

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(42 - [#42] DUPRANGE+13
^OR(100 - [#100] STATUS+4, STATUS+6, RECENT+3, RECENT+4, RECENT+5, ORDERER+4, ORDERER+5, ORDERER+7, UNSIGNOR+9, UNSIGNOR+10
, UNSIGNOR+11, OI+3, OIM+3, OIM+4, DG+3, PT+3, RSLTFLG+4
^ORD(100.01 - [#100.01] STATUS+7, RECENT+7
^ORD(100.98 - [#100.98] DGRX+4
^VA(200 - [#200] DUPRANGE+16

Label References

Name Line Occurrences
$$DG DGRX+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BDT DUPRANGE+6~, DUPRANGE+7*, DUPRANGE+23*, DUPRANGE+24
CDT RECENT+2~, RECENT+7*, RECENT+9
DFN DUPRANGE+12~*
DG DUPRANGE~, DUPRANGE+20, DUPRANGE+21, DG+2~*, DG+3*, DG+4*, DG+5, DGRX+2~, DGRX+3*, DGRX+4
DGNAME DGRX+2~, DGRX+4*, DGRX+5
DHRS DUPRANGE+6~, DUPRANGE+17*, DUPRANGE+18, DUPRANGE+19, DUPRANGE+20*, DUPRANGE+21*, DUPRANGE+22*, DUPRANGE+23
DUZ DUPRANGE+16
FLG RSLTFLG+3~*, RSLTFLG+4*, RSLTFLG+5*, RSLTFLG+6
INBDT DUPRANGE+6~, DUPRANGE+7*, DUPRANGE+23*, DUPRANGE+24
INDT RECENT+2~*, RECENT+3*, RECENT+4, RECENT+7
ODT DUPRANGE~, DUPRANGE+23
OI RECENT~, RECENT+3, RECENT+4, DUPRANGE~, DUPRANGE+17, OI+2~*, OI+3*, OI+4
ORCNT OIM+1~*, OIM+5*, OIM+6
ORDA OIM+1~*, OIM+3*, OIM+4, OIM+5
ORLOC DUPRANGE+6~, DUPRANGE+13*, DUPRANGE+17, DUPRANGE+20, DUPRANGE+21
ORN STATUS~, STATUS+3, STATUS+4, STATUS+6, RECENT+2~*, RECENT+4*, RECENT+5, RECENT+8, RECENT+9
ORNUM ORDERER~, ORDERER+1, ORDERER+2*, ORDERER+4, ORDERER+5, ORDERER+7, UNSIGNOR~, UNSIGNOR+4, UNSIGNOR+6, UNSIGNOR+7*
, UNSIGNOR+8, UNSIGNOR+9, UNSIGNOR+10, UNSIGNOR+11, OI~, OI+1, OI+3, OIM~, OIM+2, OIM+3
, OIM+4, DG~, DG+1, DG+3, DGRX~, DGRX+1, DGRX+3, PT~, PT+1, PT+3
, RSLTFLG~, RSLTFLG+2, RSLTFLG+4
ORPT DUPRANGE~, DUPRANGE+11, DUPRANGE+12
ORQDUZ ORDERER+3~*, ORDERER+7*, ORDERER+8, UNSIGNOR+5~*, UNSIGNOR+11*, UNSIGNOR+12
ORQI ORDERER+3~, ORDERER+5*, ORDERER+6, ORDERER+7, UNSIGNOR+5~, UNSIGNOR+6*, UNSIGNOR+9*, UNSIGNOR+10, UNSIGNOR+11
ORSRV DUPRANGE+6~, DUPRANGE+16*, DUPRANGE+17, DUPRANGE+20, DUPRANGE+21
ORSTATUS STATUS+5~, STATUS+6*, STATUS+7*, STATUS+8, RECENT+2~, RECENT+5*, RECENT+6, RECENT+7*, RECENT+9
ORTEXT RECENT+2~, RECENT+8*, RECENT+9
ORY OIM~, OIM+1*, OIM+2, OIM+6*, OIM+7
ORY( OIM+4*
PT RECENT~, RECENT+3, RECENT+4, PT+2~*, PT+3*, PT+4*, PT+5
RESULT RECENT+2~*, RECENT+3, RECENT+9*, RECENT+10
RXDG DGRX+2~, DGRX+5*, DGRX+6
ST RECENT~, RECENT+6
U STATUS+6, STATUS+7, RECENT+5, RECENT+8, RECENT+9, DUPRANGE+16, DUPRANGE+24, ORDERER+7, UNSIGNOR+9, UNSIGNOR+11
, DG+4, DGRX+4, PT+4, RSLTFLG+5
VA200 DUPRANGE+12*, DUPRANGE+14!
VAIN DUPRANGE+14!
VAIN(4 DUPRANGE+13
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All