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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: VPREVSND

Package: Virtual Patient Record

Routine: VPREVSND


Information

VPREVSND ;SLC/MKB -- CPRS EVSEND listeners ;10/25/18 15:29

Source Information

Source file <VPREVSND.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 2 FIND^DIC  $$GET1^DIQ  
Virtual Patient Record 2 POST^VPRHS  $$MI1^VPRSDAB  
Lab Service 1 RR^LR7OR1  

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

Package Total Caller Graph
Virtual Patient Record 3 VPR LRAP EVENTS  VPR NA EVENTS  VPR XQOR EVENTS  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
OR(MSG,FD) ; -- CPRS EVSEND protocol event listener
; FD = frontdoor msg from CPRS (get ORIFN for new backdoor orders)
; else = backdoor msg/ack from Pharmacy, Lab, Radiology, etc.
PID() ; -- Returns patient from PID segment in current msg
NMSP(IFN) ; -- Returns package namespace from pointer
ORDCONT(NMSP) ; -- Returns SDA Order container name
GMRCOK(IFN) ; -- returns 1 or 0, if consult/order should be updated
; Error if completed CP Transaction but consult or note incomplete
RAD ; -- Radiology documents
LRD ; -- AP/MI documents [from XQOR, LRAP: expects PKGIFN]
LRAP(MSG) ; -- LR7O AP EVSEND OR protocol listener
FLAG() ; -- return 1 if FL/UF message (processed, so done) [VPREVSND]

External References

Name Field # of Occurrence
FIND^DIC GMRCOK+5
$$GET1^DIQ NMSP+2, GMRCOK+2, GMRCOK+4, GMRCOK+9, RAD+6
RR^LR7OR1 LRD+4
POST^VPRHS OR+25, OR+27, RAD+10, LRD+12, FLAG+5
$$MI1^VPRSDAB LRD+8

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^GMR(123 - [#123] GET1^DIQ
^MDD(702 - [#702] FIND^DIC
^RARPT - [#74] GET1^DIQ
^TIU(8925 - [#8925] GET1^DIQ
^DIC(9.4 - [#9.4] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] LRD+5
^LR - [#63] LRD+9
^OR(100 - [#100] OR+16, OR+17, NMSP+1
^RADPT - [#70] RAD+5
^RADPT("AO" RAD+2, RAD+4
^TMP("LRRR" LRD+6

Label References

Name Line Occurrences
$$FLAG OR+6
$$GMRCOK OR+19
$$NMSP OR+24
$$ORDCONT OR+24
$$PID OR+5, LRAP+3
LRD OR+30, LRAP+8
RAD OR+29

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACT OR+3~, OR+20*, OR+22*, OR+25, RAD+1~, RAD+6*, RAD+7*, RAD+10
CPSTS GMRCOK+3~, GMRCOK+7*, GMRCOK+9
CSTS GMRCOK+3~, GMRCOK+4*, GMRCOK+9
DFN OR+3~, OR+5*, OR+25, OR+27, RAD+2, RAD+4, RAD+5, RAD+10, LRD+4, LRD+5
LRD+6, LRD+12, LRAP+1~, LRAP+3*, FLAG+5
FD OR~, OR+12
I PID+1~*, PID+2*, PID+3, RAD+1~, RAD+2*, RAD+4*, RAD+5, RAD+8, FLAG+1~, FLAG+2*
, FLAG+3
IDT RAD+1~, RAD+2*, RAD+4, RAD+5, RAD+8, LRD+1~, LRD+2*, LRD+3, LRD+6*, LRD+8
LRD+9, LRD+11
IFN NMSP~, NMSP+1, GMRCOK~, GMRCOK+2*, GMRCOK+4, GMRCOK+5
LRDFN LRD+1~, LRD+5*, LRD+8, LRD+9, LRD+11
MSG OR~, OR+4, LRAP~, LRAP+2
NMSP ORDCONT~, ORDCONT+1*, ORDCONT+2, ORDCONT+3, ORDCONT+4
OK GMRCOK+3~, GMRCOK+6*, GMRCOK+9*, GMRCOK+10
ORC OR+3~, OR+7*, OR+9*, OR+14, OR+15, LRAP+1~, LRAP+4*, LRAP+6*, LRAP+7
ORDCNTRL OR+8~, OR+9*, OR+11, OR+12, OR+19, OR+20, OR+22, OR+28, LRAP+5~, LRAP+6*
, LRAP+7
ORIFN OR+8~, OR+14*, OR+16, OR+17, OR+23, OR+24, OR+25, FLAG+1~, FLAG+4*, FLAG+5
ORIG OR+8~
PKGIFN OR+8~, OR+14*, OR+19, OR+22, OR+27, RAD+2, RAD+4, LRD+2, LRD+4, LRAP+5~
, LRAP+7*
RPT RAD+1~
RPT( RAD+8*, RAD+10
SEG PID+1~, PID+2*, FLAG+1~, FLAG+2*
STS OR+8~, OR+17*, OR+20, OR+22, RAD+1~, RAD+6*, RAD+7
SUB LRD+1~, LRD+2*, LRD+3, LRD+6, LRD+8, LRD+9, LRD+11
TIU GMRCOK+3~, GMRCOK+8*, GMRCOK+9
U OR+9, OR+14, OR+15, OR+17, NMSP+1, RAD+5, LRD+9, LRAP+6, LRAP+7, FLAG+4
VPRC GMRCOK+3~
VPRC("DILIST" GMRCOK+6, GMRCOK+7, GMRCOK+8
VPRI GMRCOK+3~, GMRCOK+6*, GMRCOK+7, GMRCOK+8
VPRMSG OR+3~, OR+4*, OR+7, OR+9, PID+2, PID+3, LRAP+1~, LRAP+2*, LRAP+4, LRAP+6
, FLAG+2, FLAG+3
VPRPKG OR+3~, OR+15*, OR+19, OR+22, OR+24*, OR+27, OR+29, OR+30
VPRSDA OR+3~, OR+24*, OR+25
X NMSP+1~*, NMSP+2, RAD+1~, RAD+5*, RAD+6, RAD+8, RAD+10*, LRD+1~, LRD+11*, LRD+12
, FLAG+1~, FLAG+3*, FLAG+4
Y PID+1~, PID+3*, PID+5, NMSP+1~, NMSP+2*, NMSP+3, FLAG+1~*, FLAG+2, FLAG+5*, FLAG+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All