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;03/06/20 13:00

Source Information

Source file <ORWCV.m>

Call Graph

Call Graph

Call Graph Total: 14

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

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 11

Package Total Caller Graph
Order Entry Results Reporting 7 ORQRY  ORWCV DTLVST  ORWCV LAB  ORWCV POLL  ORWCV START  ORWCV STOP  ORWCV VST  
Inpatient Medications 1 PSJOE1  
Mental Health 1 YSBWHIGH  
Outpatient Pharmacy 1 PSODEMSB  
Text Integration Utility 1 TIUHL7U1  

Entry Points

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

External References

Name Field # of Occurrence
^%DT X2FM+1
$$EC^%ZOSV ERR+1
^%ZTLOAD START+19
END^AWCMCPR1 LAB+3, REM+4
STRT2^AWCMCPR1 LAB+1
STRT3^AWCMCPR1 REM+1
LIST^ORQOR1 LAB+2
APPL^ORQQPXRM REM+2
DETNOTE^ORQQVS DTLVST+5, DTLVST+20
DETSUM^ORQQVS DTLVST+23
SDA^ORQRY01 VST+13
$$APPT2VST^PXAPI DTLVST+3
$$GETENC^PXAPI DTLVST+4, DTLVST+19, DTLVST+22
ACTIVE^SDQ VST+33
CLOSE^SDQ VST+35
DATE^SDQ VST+29
INDEX^SDQ VST+27
OPEN^SDQ VST+26
PAT^SDQ VST+28
SCAN^SDQ VST+34
SCANCB^SDQ VST+32
$$ERRCHK^SDQUT VST+27, VST+28, VST+29, VST+30, VST+33, VST+34
COVER^SDRROR VST+25
RCDTL^SDRROR DTLVST+25
$$FMADD^XLFDT START+22
$$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+2
^DG(405.1 - [#405.1] VST+44
^DGPM - [#405] VST+42
^DGPM("ATID1" VST+40, VST+41
^DIC(42 - [#42] VST+45
^DPT - [#2] RNGLAB+2
^KMPTMP("KMPD-CPRS" START+24, POLL+13
^KMPTMP("KMPDT" START+24*, POLL+13*
^ORD(101.24 - [#101.24] START+6, START+9, BUILD+11, BUILD+12, BUILD+15
^SC - [#44] CALLBACK+8, DTLVST+10, DTLVST+11, DTLVST+12, DTLVST+13, DTLVST+15
^SD(409.63 - [#409.63] CALLBACK+11
^TMP("ORVSTLIST" VST+7!, VST+20*, VST+31, VST+46*, VST+49, VST+50, VST+51, VST+53, VST+54!
^TMP("PXKENC" DTLVST+24!
^UTILITY("VASD" VST+14!, VST+15, VST+16, VST+21!
^XTMP( START+21!, START+22*, BUILD+4!, BUILD+5, BUILD+6, BUILD+7*, BUILD+27*, BUILD+28!, BUILD+29, LST2XTMP+1
, LST2XTMP+4!*, LST2XTMP+5*, POLL+4, POLL+5, POLL+6, POLL+9, POLL+10, POLL+13!, CHK+2, CHK+4
, CHK+5!, STOP+2*, STOP+3, STOP+4!, STOP+5, CLEAN+2!
^XWB(8994 - [#8994] BUILD+15

Label References

Name Line Occurrences
$$RNGLAB LAB+2, RANGES+2
$$RNGVBEG VST+4, VST+39, RANGES+2
$$RNGVEND VST+5, RANGES+2
$$X2FM VST+4, VST+5, VST+39
@( BUILD+26, ERR+2, REM+3
CHK POLL+8, POLL+11
LST2XTMP BUILD+17, BUILD+18, BUILD+19, BUILD+26
VST VST1+4

Naked Globals

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

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+9, DTLVST+18, DTLVST+19, DTLVST+21, DTLVST+22, DTLVST+25
ARRAY CALLBACK~, CALLBACK+13, CALLBACK+14
BACK START+1~, START+8*, START+14*, START+15, START+19
BDT VST+1~, VST+23*, VST+29
BEG VST1~, VST1+4, VST~, VST+4*, VST+10, VST+22, VST+23
CALL BUILD+9~, BUILD+20*, BUILD+21*, BUILD+22*, BUILD+23*, BUILD+24*, BUILD+25*, BUILD+26
CHECKERR VST+1~, VST+2*, VST+14
COUNT VST+1~, VST+6*, VST+48*, VST+52*, VST+53, CALLBACK+5~, CALLBACK+6*, CALLBACK+13*, CALLBACK+14
DETAIL BUILD+1~, BUILD+14*, BUILD+15*, LST2XTMP+3
DFN START~, START+20, BUILD+2, BUILD+7, POLL~, POLL+2, POLL+3, POLL+5, STOP~, STOP+1
, LAB~, LAB+2, REM~, REM+2, VST1~, VST1+3, VST1+4, VST~, VST+28, VST+40
, VST+41, DTLVST~, DTLVST+3, DTLVST+4, DTLVST+5, DTLVST+13, DTLVST+19, DTLVST+20, DTLVST+22, DTLVST+23
, RNGLAB~, RNGLAB+2, RANGES~, RANGES+2
>> DILOCKTM BUILD+6, STOP+3
DONE POLL+1~, POLL+3*, POLL+6*, POLL+9*, POLL+13, STOP+1*, VST+38~, VST+39*, VST+40, VST+41
, VST+43*
DT START+22
DTM VST+1~, VST+17*, VST+19, VST+20, CALLBACK+5~, CALLBACK+6*, CALLBACK+13, CALLBACK+14
DUZ START+24
EARLY VST+38~, VST+39*, VST+43
EDT VST+1~, VST+24*, VST+29
END VST1~, VST1+4, VST~, VST+5*, VST+9, VST+11, VST+24
ENT BUILD+1~, BUILD+13*, BUILD+17, BUILD+19, BUILD+21, BUILD+22
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+14*, BUILD+8, BUILD+11
HLOC VST+38~, VST+45*, VST+46
HWND START~, START+20, BUILD+2, POLL~, POLL+2, POLL+3, STOP~, STOP+1
I START+1~, START+6*, START+9*, START+14, LST2XTMP+2~, LST2XTMP+3*, CHK+1~, CHK+4*, VST+1~, VST+15*
, VST+16, VST+49*, VST+50, VST+51, VST+53
ID BUILD+1~, BUILD+13*, BUILD+21, LST2XTMP~, LST2XTMP+4, LST2XTMP+5, POLL+1~, POLL+10*, POLL+11, CHK~
, CHK+2, CHK+3, CHK+4, CHK+5
IEN VST+17*, VST+20, CALLBACK~, DTLVST~
IFLE BUILD+1~, BUILD+8*, BUILD+11, BUILD+17, BUILD+18, BUILD+19
ILST POLL+1~, POLL+3*, POLL+6*, POLL+8, POLL+11, CHK~, CHK+3*, CHK+4*, STOP+1*
INODE BUILD+1~, BUILD+14*, BUILD+16, BUILD+17, BUILD+18, BUILD+19, BUILD+26, ERR+1
INPT RNGLAB+1~, RNGLAB+2*, RNGLAB+3, RNGLAB+4
IO("CLNM" START+24
IP START~, START+20, BUILD+2, POLL~, POLL+2, POLL+3, STOP~, STOP+1
J VST+1~, VST+50*, VST+51, VST+53
K VST+1~, VST+51*, VST+53
LOC START~, START+4*, REM+2, VST+1~, VST+18*, VST+20, CALLBACK+5~, CALLBACK+7*, CALLBACK+8, CALLBACK+14
, RNGLAB+1~, RNGLAB+2*, RNGLAB+4
LST ERR+1!, LST2XTMP+4!, POLL~, POLL+2*, POLL+8, POLL+11, CHK~, LAB~, LAB+2, REM~
, REM+2
LST( BUILD+17*, BUILD+18*, BUILD+19*, LST2XTMP+3*, POLL+6*, CHK+3*, CHK+4*
LST(0 ERR+1*
LST(1 ERR+1*, POLL+5*
MOV VST+38~, VST+41*, VST+42
MTIM VST+38~, VST+42*, VST+43, VST+46
NEWREM START~, START+4*, REM+2, REM+3
NODE START+1~, START+20*, START+21, START+22, START+24, BUILD+1~, BUILD+2*, BUILD+4, BUILD+5, BUILD+6
BUILD+7, BUILD+27, BUILD+28, BUILD+29, ERR+1, LST2XTMP+1, LST2XTMP+4, LST2XTMP+5, POLL+1~, POLL+3*
, POLL+4, POLL+5, POLL+6, POLL+8, POLL+9, POLL+10, POLL+11, POLL+13, CHK~, CHK+2
, CHK+4, CHK+5, 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*
OLDCALL REM~, REM+3
ONLYID POLL~, POLL+7, POLL+8, POLL+10
OOS CALLBACK+5~, CALLBACK+8*, CALLBACK+9
ORFNUM BUILD+1~, BUILD+11*, BUILD+12, BUILD+17, BUILD+18, BUILD+19
ORHTIME START+1~, START+3*, START+24
ORLIST START+1~, START+7
ORLIST( START+9, START+14
ORLST VST+1~, VST+31*
ORQUERY VST+1~, VST+26, VST+27, VST+28, VST+29, VST+32, VST+33, VST+34, VST+35
ORVISIT VST1~, VST1+4, VST1+5!, VST~
ORVISIT( VST+53*
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+13*, BUILD+23
PARAM2 BUILD+1~, BUILD+14*, BUILD+24
REC RANGES~, RANGES+1~, RANGES+2*
RPT DTLVST~, DTLVST+5, DTLVST+20, DTLVST+23
RPT( DTLVST+6, DTLVST+16*
RTN BUILD+1~, BUILD+13*, BUILD+18, BUILD+19, BUILD+21, BUILD+22
SDURL DTLVST+8~, DTLVST+14, DTLVST+15*, DTLVST+16, DTLVST+17!
SECT START+1~
SECT( START+6*, START+13
SKIP VST1~, VST1+4, VST~, VST+37
STI VST+1~, VST+17*, VST+19
STOP CALLBACK~
STS VST+1~, VST+18*, VST+20
TIM VST+38~, VST+40*, VST+41
TODAY VST+1~, VST+3*, VST+19
TYPE CALLBACK+5~, CALLBACK+12*, CALLBACK+13, CALLBACK+14
U START+6, START+9, START+10, START+11, START+14, START+22, START+24, BUILD+13, BUILD+14, BUILD+15
BUILD+17, BUILD+18, BUILD+19, BUILD+21, BUILD+22, LST2XTMP+3, POLL+13, VST+17, VST+18, VST+20
, VST+42, VST+44, VST+45, VST+46, CALLBACK+7, CALLBACK+8, CALLBACK+10, CALLBACK+11, CALLBACK+12, CALLBACK+14
, RANGES+2
VAERR VST+1~, VST+8*, VST+9
VAL START~, START+8*, START+13*, START+19*
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+19*, DTLVST+20, DTLVST+22*, DTLVST+23
X START+1~, START+11*, START+12, START+13, START+14, CLEAN+1*, CLEAN+2*, VST+1~, X2FM~
X0 START+9*, START+10, START+11, BUILD+1~, BUILD+12*, BUILD+13, BUILD+15, BUILD+17, BUILD+18, BUILD+19
, VST+38~, VST+42*, VST+44, VST+45
X1 DTLVST+6~*
X2 BUILD+1~, BUILD+12*, BUILD+13, BUILD+14, DTLVST+6~*, DTLVST+7*, DTLVST+16
XE VST+1~, VST+16*, VST+18
XI VST+1~, VST+16*, VST+17
XLOC VST+38~, VST+45*, VST+46, CALLBACK+5~, CALLBACK+8*, CALLBACK+14
XSD DTLVST+8~, DTLVST+9*, DTLVST+10, DTLVST+11, DTLVST+12, DTLVST+13, DTLVST+15, DTLVST+17!
XSDDT DTLVST+8~, DTLVST+9*, DTLVST+11, DTLVST+12, DTLVST+13, DTLVST+15, DTLVST+17!
XSTAT CALLBACK+5~, CALLBACK+11*, CALLBACK+14
XTYP VST+38~, VST+44*, VST+46
XX1 DTLVST+12!*, DTLVST+13, DTLVST+15
Y VST+38~, X2FM+2
ZTDESC START+1~, START+18*
ZTDTH START+1~, START+16*
ZTIO START+1~, START+16*
>> ZTQUEUED BUILD+3
>> ZTREQ BUILD+3*
ZTRTN START+1~, START+16*
ZTSAVE START+1~
ZTSAVE("BACK" START+17*
ZTSAVE("DFN" START+17*
ZTSAVE("FILE" START+17*
ZTSAVE("HWND" START+17*
ZTSAVE("IP" START+17*
ZTSAVE("LOC" START+17*
ZTSAVE("NEWREM" START+17*
ZTSK START+1~, START+19, START+22

Marked Items

Name Field # of Occurrence
$T(@(5) BUILD+19
$T(END^AWCMCPR1 LAB+3, REM+4
$T(STRT2^AWCMCPR1 LAB+1
$T(STRT3^AWCMCPR1 REM+1
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