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

Package: Order Entry Results Reporting

Routine: ORWCV


Information

ORWCV ; SLC/KCM - Background Cover Sheet Load; ; 3/6/08 6:34am

Source Information

Source file <ORWCV.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Order Entry Results Reporting 4 LIST^ORQOR1  APPL^ORQQPXRM  (DETNOTE,DETSUM)^ORQQVS  SDA^ORQRY01  
Kernel 2 ^%ZTLOAD  ($$FMADD,$$NOW)^XLFDT  
Scheduling 2 (ACTIVE,CLOSE,DATE,INDEX,OPEN,PAT,SCAN,SCANCB)^SDQ  $$ERRCHK^SDQUT  
Toolkit 2 (END,STRT2,STRT3)^AWCMCPR1  ($$GET,GETLST)^XPAR  
PCE Patient Care Encounter 1 ($$APPT2VST,$$GETENC)^PXAPI  
VA Fileman 1 ^%DT  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Care Management 1 ORRCEVT  
Order Entry Results Reporting 1 ORQRY  
Text Integration Utility 1 TIUHL7U1  

Entry Points

Name Comments DBIA/ICR reference
UNWIND ;Unwind Error stack
LST2XTMP(ID) ; put the list in ^XTMP(NODE,ID)
ERR ;Error trap
RNGVBEG() ; return start date for encounters
VST1(ORVISIT,DFN,BEG,END,SKIP) ;
START(VAL,DFN,IP,HWND,LOC,NODO,NEWREM) ; start cover sheet build in background
POLL(LST,DFN,IP,HWND) ; poll for completed cover sheet parts
VST(ORVISIT,DFN,BEG,END,SKIP,ERR,ERRMSG) ; return appts/admissions for patient
RANGES(REC,DFN) ; return ranges given a patient
STOP(OK,DFN,IP,HWND) ; stop cover sheet data retrieval
BUILD ; called in background by task manager, expects DFN, JobID
CLEAN ; clean up ^XTMP nodes
DTLVST(RPT,DFN,IEN,APPTINFO) ; return progress notes / discharge summary
TEST ;D VST(.ZZZ,76,2950101,3050401,777,1,1)
CALLBACK(IEN,NODE0,ARRAY,STOP) ; called back from ACRP Toolkit for encounters
X2FM(X) ; return FM date given relative date
RNGVEND() ; return stop date for encounters
RNGLAB(DFN) ; return days back for patient
LAB(LST,DFN) ; return labs for patient

External References

Name Field # of Occurrence
^%DT X2FM+1
^%ZTLOAD START+20
END^AWCMCPR1 BUILD+17, LAB+3
STRT2^AWCMCPR1 LAB+1
STRT3^AWCMCPR1 BUILD+17
LIST^ORQOR1 LAB+2
APPL^ORQQPXRM BUILD+18
DETNOTE^ORQQVS DTLVST+5, DTLVST+8
DETSUM^ORQQVS DTLVST+11
SDA^ORQRY01 VST+13
$$APPT2VST^PXAPI DTLVST+3
$$GETENC^PXAPI DTLVST+4, DTLVST+7, DTLVST+10
ACTIVE^SDQ VST+32
CLOSE^SDQ VST+34
DATE^SDQ VST+28
INDEX^SDQ VST+26
OPEN^SDQ VST+25
PAT^SDQ VST+27
SCAN^SDQ VST+33
SCANCB^SDQ VST+31
$$ERRCHK^SDQUT VST+26, VST+27, VST+28, VST+29, VST+32, VST+33
$$FMADD^XLFDT START+23
$$NOW^XLFDT VST+3
$$GET^XPAR RNGLAB+4, RNGVBEG+1, RNGVEND+1
GETLST^XPAR START+5, START+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,X
  • Line Location: CLEAN+2

Used in RPC

RPC Name Call Tags
ORWCV VST VST1
ORWCV LAB LAB
ORWCV START START
ORWCV DTLVST DTLVST
ORWCV POLL POLL
ORWCV STOP STOP

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("ERRTN" ERR+6
^DG(405.1 - [#405.1] VST+43
^DGPM - [#405] VST+41
^DGPM("ATID1" VST+39, VST+40
^DIC(42 - [#42] VST+44
^DPT - [#2] RNGLAB+2
^KMPTMP("KMPD-CPRS" START+25, POLL+12
^KMPTMP("KMPDT" START+25*, POLL+12*
^ORD(101.24 - [#101.24] START+6, START+9, BUILD+10, BUILD+12
^SC - [#44] CALLBACK+8
^SD(409.63 - [#409.63] CALLBACK+11
^TMP("ORVSTLIST" VST+7!, VST+20*, VST+30, VST+45*, VST+48, VST+49, VST+50, VST+52, VST+53!
^TMP("PXKENC" DTLVST+12!
^UTILITY("VASD" VST+14!, VST+15, VST+16, VST+21!
^XTMP( START+22!, START+23*, BUILD+4!, BUILD+5, BUILD+6, BUILD+7*, BUILD+24*, BUILD+25!, BUILD+26, ERR+4*
, ERR+5, LST2XTMP+1, LST2XTMP+4!*, POLL+3, POLL+4, POLL+5, POLL+7, POLL+9, POLL+10!, POLL+12!
, STOP+2*, STOP+3, STOP+4!, STOP+5, CLEAN+2!
^XWB(8994 - [#8994] BUILD+12

Label References

Name Line Occurrences
$$RNGLAB LAB+2, RANGES+2
$$RNGVBEG VST+4, VST+38, RANGES+2
$$RNGVEND VST+5, RANGES+2
$$X2FM VST+4, VST+5, VST+38
@( BUILD+19, BUILD+21, BUILD+22, BUILD+23, ERR+6
LST2XTMP BUILD+14, BUILD+15, BUILD+16, BUILD+20, BUILD+21, BUILD+22, BUILD+23, ERR+3
VST VST1+4

Naked Globals

Name Field # of Occurrence
^( POLL+9, RNGLAB+2
^("E" VST+16
^("OOS" CALLBACK+8
^(0 START+6, START+9, BUILD+10
^(2 BUILD+10
^(44 VST+44

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT X2FM+1~*
APPTINFO DTLVST~, DTLVST+2, DTLVST+3, DTLVST+4, DTLVST+6, DTLVST+7, DTLVST+9, DTLVST+10
ARRAY CALLBACK~, CALLBACK+13, CALLBACK+14
BACK START+1~, START+8*, START+15*, START+16
BDT VST+1~, VST+23*, VST+28
BEG VST1~, VST1+4, VST~, VST+4*, VST+10, VST+22, VST+23
CHECKERR VST+1~, VST+2*, VST+14
COUNT VST+1~, VST+6*, VST+47*, VST+51*, VST+52, CALLBACK+5~, CALLBACK+6*, CALLBACK+13*, CALLBACK+14
DETAIL BUILD+1~, BUILD+11*, BUILD+12*, LST2XTMP+3
DFN START~, START+21, BUILD+2, BUILD+7, BUILD+18, POLL~, POLL+2, POLL+4, STOP~, STOP+1
, LAB~, LAB+2, VST1~, VST1+3, VST1+4, VST~, VST+27, VST+39, VST+40, DTLVST~
, DTLVST+3, DTLVST+4, DTLVST+5, DTLVST+7, DTLVST+8, DTLVST+10, DTLVST+11, RNGLAB~, RNGLAB+2, RANGES~
, RANGES+2
DONE POLL+1~, POLL+2*, POLL+5*, POLL+12, STOP+1*, VST+37~, VST+38*, VST+39, VST+40, VST+42*
DT START+23
DTM VST+1~, VST+17*, VST+19, VST+20, CALLBACK+5~, CALLBACK+6*, CALLBACK+13, CALLBACK+14
DUZ START+25
EARLY VST+37~, VST+38*, VST+42
EDT VST+1~, VST+24*, VST+28
END VST1~, VST1+4, VST~, VST+5*, VST+9, VST+11, VST+24
ENT BUILD+1~, BUILD+11*, BUILD+14, BUILD+16, BUILD+19, BUILD+21, BUILD+22, BUILD+23
ERR VST1+1~, VST1+2*, VST1+4, VST1+5, VST~, VST+2, VST+13, VST+14
ERRMSG VST1+1~, VST1+4, VST1+5, VST~, VST+13, VST+14
FILE START+1~, START+8*, START+15*, BUILD+10
HLOC VST+37~, VST+44*, VST+45
HWND START~, START+21, BUILD+2, POLL~, POLL+2, STOP~, STOP+1
I START+1~, START+6*, START+9*, START+15, LST2XTMP+2~, LST2XTMP+3*, POLL+1~, POLL+9*, VST+1~, VST+15*
, VST+16, VST+48*, VST+49, VST+50, VST+52
ID BUILD+1~, BUILD+11*, BUILD+17, LST2XTMP~, LST2XTMP+4, POLL+1~, POLL+6*, POLL+7, POLL+8, POLL+9
, POLL+10
IEN VST+17*, VST+20, CALLBACK~, DTLVST~
IFLE BUILD+1~, BUILD+10*, BUILD+14, BUILD+15, BUILD+16
ILST POLL+1~, POLL+2*, POLL+5*, POLL+8*, POLL+9*, STOP+1*
INODE BUILD+1~, BUILD+11*, BUILD+13, BUILD+14, BUILD+15, BUILD+16, BUILD+20, BUILD+21, BUILD+22, BUILD+23
, ERR+3
INPT RNGLAB+1~, RNGLAB+2*, RNGLAB+3, RNGLAB+4
IO("CLNM" START+25
IP START~, START+21, BUILD+2, POLL~, POLL+2, STOP~, STOP+1
J VST+1~, VST+49*, VST+50, VST+52
K VST+1~, VST+50*, VST+52
LOC START~, START+4*, BUILD+18, VST+1~, VST+18*, VST+20, CALLBACK+5~, CALLBACK+7*, CALLBACK+8, CALLBACK+14
, RNGLAB+1~, RNGLAB+2*, RNGLAB+4
LST BUILD+18, LST2XTMP+4!, POLL~, LAB~, LAB+2
LST( BUILD+14*, BUILD+15*, BUILD+16*, LST2XTMP+3*, POLL+5*, POLL+8*, POLL+9*
LST(0 ERR+3*
LST(1 ERR+3*, POLL+4*
MOV VST+37~, VST+40*, VST+41
MTIM VST+37~, VST+41*, VST+42, VST+45
NEWREM START~, START+4*, BUILD+18
NODE START+1~, START+21*, START+22, START+23, START+25, BUILD+1~, BUILD+2*, BUILD+4, BUILD+5, BUILD+6
, BUILD+7, BUILD+24, BUILD+25, BUILD+26, ERR+2, ERR+4, ERR+5, LST2XTMP+1, LST2XTMP+4, POLL+1~
, POLL+2*, POLL+3, POLL+4, POLL+5, POLL+7, POLL+9, POLL+10, POLL+12, STOP+1*, STOP+2
, STOP+3, STOP+4, STOP+5
NODE0 CALLBACK~, CALLBACK+6, CALLBACK+7, CALLBACK+10, CALLBACK+11, CALLBACK+12
NODO START~, START+4*, START+12
NOW VST+1~, VST+3*, VST+9, VST+22, VST+24
OK STOP~, STOP+2*
OOS CALLBACK+5~, CALLBACK+8*, CALLBACK+9
ORFNUM BUILD+1~, BUILD+10*, BUILD+14, BUILD+15, BUILD+16
ORHTIME START+1~, START+3*, START+25
ORLIST START+1~, START+7
ORLIST( START+9, START+15
ORLST VST+1~, VST+30*
ORQUERY VST+1~, VST+25, VST+26, VST+27, VST+28, VST+31, VST+32, VST+33, VST+34
ORVISIT VST1~, VST1+4, VST1+5!, VST~
ORVISIT( VST+52*
ORVISIT(1 VST1+5*, VST+14*
ORX START+1~, START+5
ORX( START+6
PAR RNGLAB+1~, RNGLAB+3*, RNGLAB+4
PARAM1 BUILD+1~, BUILD+11*, BUILD+21, BUILD+22
PARAM2 BUILD+1~, BUILD+11*, BUILD+21
REC RANGES~, RANGES+1~, RANGES+2*
RPT DTLVST~, DTLVST+5, DTLVST+8, DTLVST+11
RTN BUILD+1~, BUILD+11*, BUILD+15, BUILD+16, BUILD+19, BUILD+21, BUILD+22, BUILD+23
SECT START+1~
SECT( START+6*, START+14
SKIP VST1~, VST1+4, VST~, VST+36
STI VST+1~, VST+17*, VST+19
STOP CALLBACK~
STR START+1~, START+8*, START+13*, START+20
STS VST+1~, VST+18*, VST+20
TIM VST+37~, VST+39*, VST+40
TODAY VST+1~, VST+3*, VST+19
TYPE CALLBACK+5~, CALLBACK+12*, CALLBACK+13, CALLBACK+14
U START+23, VST+17, VST+18, VST+20, VST+41, VST+43, VST+44, VST+45, CALLBACK+8, CALLBACK+14
, RANGES+2
VAERR VST+1~, VST+8*, VST+9
VAL START~, START+8*, START+14*, START+20*
VASD VST+1~
VASD("F" VST+10*
VASD("T" VST+11*
VASD("W" VST+12*
VISIT DTLVST+1~, DTLVST+3*, DTLVST+4*, DTLVST+5, DTLVST+7*, DTLVST+8, DTLVST+10*, DTLVST+11
X START+1~, START+11*, START+12, START+13, START+14, START+15, CLEAN+1*, CLEAN+2*, VST+1~, X2FM~
X0 START+9*, START+10, START+11, BUILD+1~, BUILD+10*, BUILD+11, BUILD+12, BUILD+14, BUILD+15, BUILD+16
, VST+37~, VST+41*, VST+43, VST+44
X2 BUILD+1~, BUILD+10*, BUILD+11
XE VST+1~, VST+16*, VST+18
XI VST+1~, VST+16*, VST+17
XLOC VST+37~, VST+44*, VST+45, CALLBACK+5~, CALLBACK+8*, CALLBACK+14
XSTAT CALLBACK+5~, CALLBACK+11*, CALLBACK+14
XTYP VST+37~, VST+43*, VST+45
Y VST+37~, X2FM+2
ZTDESC START+1~, START+19*
ZTDTH START+1~, START+17*
ZTIO START+1~, START+17*
>> ZTQUEUED BUILD+3
>> ZTREQ BUILD+3*
ZTRTN START+1~, START+17*
ZTSAVE START+1~
ZTSAVE("BACK" START+18*
ZTSAVE("DFN" START+18*
ZTSAVE("FILE" START+18*
ZTSAVE("HWND" START+18*
ZTSAVE("IP" START+18*
ZTSAVE("LOC" START+18*
ZTSAVE("NEWREM" START+18*
>> ZTSK START+20, START+23

Marked Items

Name Field # of Occurrence
$T(@(5) BUILD+16
$T(END^AWCMCPR1 BUILD+17, LAB+3
$T(STRT2^AWCMCPR1 LAB+1
$T(STRT3^AWCMCPR1 BUILD+17
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All