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

Package: Order Entry Results Reporting

Routine: ORWDLR


Information

ORWDLR ; SLC/KCM - Lab Calls [ 08/04/96 8:47 PM ]

Source Information

Source file <ORWDLR.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Lab Service 1 ($$DEFURG,TEST)^LR7OR3  
Pharmacy Data Management 1 AP^PSS51P1  
Toolkit 1 ($$GET,GETLST)^XPAR  
VA Fileman 1 (C,NOW)^%DTC  

Entry Points

Name Comments DBIA/ICR reference
URGMAP ; return list of lab urgencies mapped to OE/RR urgencies
NXT() ; called by TESTINFO, increments ILST
DOWNAME(DOW) ; function
; Returns Day of Week name (DOW should be $H#7)
INCDATE(ADATE) ; called from COLLTM, increments date nodes in .ADATE
COLLTM ; get collection times
SENDTM ; get send patient times
STOP(VAL,X2)
ALLSAMP(LST) ; procedure
; returns all collection samples
; n^SampIEN^SampName^SpecPtr^TubeTop^^^LabCollect^^SpecName
SCHED ; return list of schedules available for lab tests
ABBSPEC(LST) ; procedure
; returns specimens with abbreviation (uses 'E' xref)
DEF(LST,ALOC) ; procedure
; get dialog definition specific to lab
LOAD(LST,TESTID) ; procedure
; Return sample, specimen, & urgency info about a lab test
COMMON ; return list of commonly ordered lab tests

External References

Name Field # of Occurrence
C^%DTC SENDTM+3, INCDATE+2, STOP+2
NOW^%DTC COLLTM+31
$$DEFURG^LR7OR3 DEF+5
TEST^LR7OR3 LOAD+7
AP^PSS51P1 SCHED+3
$$GET^XPAR COLLTM+4, COLLTM+5, COLLTM+6, COLLTM+7, COLLTM+8, COLLTM+9, COLLTM+10, COLLTM+11, COLLTM+12
GETLST^XPAR COLLTM+17, COMMON+2

Used in RPC

RPC Name Call Tags
ORWDLR DEF DEF
ORWDLR LOAD LOAD
ORWDLR ABBSPEC ABBSPEC
ORWDLR ALLSAMP ALLSAMP
ORWDLR OIPARAM LOAD
ORWDLR STOP STOP

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^HOLIDAY - [#40.5] COLLTM+13, COLLTM+15
^LAB(61 - [#61] LOAD+17, ALLSAMP+10, ABBSPEC+3, ABBSPEC+4
^LAB(62 - [#62] ALLSAMP+5, ALLSAMP+6, ALLSAMP+7
^LAB(62.05 - [#62.05] URGMAP+3
^ORD(101.43 - [#101.43] COMMON+5, LOAD+3, LOAD+4, LOAD+5, LOAD+6
^TMP($J SCHED+2!, SCHED+4, SCHED+5, SCHED+6, SCHED+8!

Label References

Name Line Occurrences
$$DOWNAME COLLTM+23, COLLTM+26
$$NXT DEF+3, DEF+4, DEF+5, DEF+7, DEF+8, COLLTM+30, COLLTM+32, SENDTM+2, SENDTM+4, URGMAP+4
, SCHED+6, SCHED+7, COMMON+5, LOAD+3, LOAD+4, LOAD+5, LOAD+9, LOAD+11, LOAD+12, LOAD+13
, LOAD+19, ALLSAMP+4, ALLSAMP+12, ALLSAMP+13, ALLSAMP+14, ABBSPEC+4
COLLTM DEF+3
COMMON DEF+8
INCDATE COLLTM+3, COLLTM+14, COLLTM+16
SCHED DEF+7
SENDTM DEF+4

Naked Globals

Name Field # of Occurrence
^( URGMAP+3, LOAD+5, ABBSPEC+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % COLLTM+32
%H INCDATE+1~
ADATE INCDATE~, INCDATE+2*
ADATE("DOW" INCDATE+4*
ADATE("H" INCDATE+3*, INCDATE+4
ALOC DEF~, COLLTM+4
AMPM COLLTM+1~, COLLTM+27*, COLLTM+30
CNT COLLTM+1~, COLLTM+13*, COLLTM+14*, COLLTM+15*, COLLTM+16*
CTM COLLTM+1~, COLLTM+17
CTM( COLLTM+18, COLLTM+19, COLLTM+27, COLLTM+28, COLLTM+29
DAY COLLTM+1~, COLLTM+21*, COLLTM+22*, COLLTM+23*, COLLTM+26*, COLLTM+30
DOW COLLTM+1~, DOWNAME~, DOWNAME+2, DOWNAME+3, DOWNAME+4, DOWNAME+5, DOWNAME+6, DOWNAME+7, DOWNAME+8
DOW( COLLTM+13, COLLTM+15
DOW(0 COLLTM+6*
DOW(1 COLLTM+7*
DOW(2 COLLTM+8*
DOW(3 COLLTM+9*
DOW(4 COLLTM+10*
DOW(5 COLLTM+11*
DOW(6 COLLTM+12*
DT COLLTM+2, SENDTM+2, SENDTM+3, STOP+2
FMDT COLLTM+1~, COLLTM+20*, COLLTM+25*, COLLTM+28*, COLLTM+30
I URGMAP+2~, URGMAP+3*, URGMAP+4, COMMON+1~, COMMON+3*, COMMON+4, LOAD+5*, LOAD+10*, LOAD+11, LOAD+12
, LOAD+13, LOAD+16, LOAD+18, LOAD+19
ICTM COLLTM+1~, COLLTM+18*, COLLTM+19, COLLTM+27, COLLTM+28, COLLTM+29
IEN SCHED+1~, SCHED+5*, SCHED+6, COMMON+1~, COMMON+4*, COMMON+5, ALLSAMP+3~, ALLSAMP+6*, ALLSAMP+7, ALLSAMP+8
, ABBSPEC+2~, ABBSPEC+3*, ABBSPEC+4
IGNOR COLLTM+1~, COLLTM+5*, COLLTM+13, COLLTM+15
ILST DEF+2*, LOAD+2~*, LOAD+15, LOAD+17, ALLSAMP+3~, ALLSAMP+4*, ABBSPEC+2~*, NXT+1*, NXT+2
>> J LOAD+18*, LOAD+19
LST DEF~, LOAD~, ALLSAMP~, ABBSPEC~
LST( DEF+3*, DEF+4*, DEF+5*, DEF+7*, DEF+8*, COLLTM+30*, COLLTM+32*, SENDTM+2*, SENDTM+4*, URGMAP+4*
, SCHED+6*, SCHED+7*, COMMON+5*, LOAD+3*, LOAD+4*, LOAD+5*, LOAD+9*, LOAD+11*, LOAD+12*, LOAD+13*
, LOAD+15*, LOAD+17*, LOAD+19*, ALLSAMP+4*, ALLSAMP+12*, ALLSAMP+13*, ALLSAMP+14*, ABBSPEC+4*
PARAM LOAD+2~, LOAD+8*, LOAD+9, LOAD+10, LOAD+11, LOAD+12, LOAD+13, LOAD+14, LOAD+16, LOAD+18
, LOAD+19
SMP ALLSAMP+3~, ALLSAMP+5*, ALLSAMP+6, ALLSAMP+8
SPC ALLSAMP+3~, ALLSAMP+14*
SPC( ALLSAMP+11*, ALLSAMP+14
TDAY COLLTM+1~, COLLTM+2*, COLLTM+3, COLLTM+13, COLLTM+14, COLLTM+20
TDAY("DOW" COLLTM+2*, COLLTM+13, COLLTM+23
TDAY("H" COLLTM+2*, COLLTM+21, COLLTM+22, COLLTM+23
TESTID LOAD~, LOAD+3, LOAD+4, LOAD+5, LOAD+6*, LOAD+7
TIME COLLTM+1~, COLLTM+29*, COLLTM+30
TMPLST COMMON+1~, COMMON+2
TMPLST( COMMON+3, COMMON+4
TMRW COLLTM+1~, COLLTM+3*, COLLTM+15, COLLTM+16, COLLTM+25
TMRW("DOW" COLLTM+15, COLLTM+26
TMRW("H" COLLTM+26
U COLLTM+19, COLLTM+27, COLLTM+29, COLLTM+30, URGMAP+3, URGMAP+4, SCHED+6, COMMON+4, COMMON+5, LOAD+3
, LOAD+6, LOAD+13, LOAD+15, LOAD+16, LOAD+17, ALLSAMP+8, ALLSAMP+9, ALLSAMP+10, ALLSAMP+11, ALLSAMP+14
, ABBSPEC+4
VAL STOP~, STOP+2*
X SENDTM+1~, SENDTM+4, INCDATE+1~, INCDATE+2, URGMAP+2~, URGMAP+3*, URGMAP+4, SCHED+1~, SCHED+4*, SCHED+5
, SCHED+6, SCHED+7, LOAD+2~, LOAD+16*, LOAD+17, ALLSAMP+3~, ALLSAMP+8*, ALLSAMP+10*, ALLSAMP+11, ALLSAMP+12
, ABBSPEC+2~, ABBSPEC+3*, STOP+1~, STOP+2
X0 ALLSAMP+3~, ALLSAMP+7*, ALLSAMP+8, ALLSAMP+9, ALLSAMP+10
X1 SENDTM+1~, SENDTM+3*, INCDATE+1~, INCDATE+2*, STOP+1~, STOP+2*
X2 SENDTM+1~, SENDTM+3*, INCDATE+1~, INCDATE+2*, STOP~
Y LOAD+2~, LOAD+7
Y( LOAD+8, LOAD+9, LOAD+10, LOAD+11, LOAD+12, LOAD+13, LOAD+16, LOAD+18, LOAD+19
Y("Lab CollSa mp" , LOAD+15
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All