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 |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: PXVRPC2

Package: PCE Patient Care Encounter

Routine: PXVRPC2


Information

PXVRPC2 ;BPFO/LMT - PCE RPCs for IMM Source, Route, Site ;02/16/16 13:00

Source Information

Source file <PXVRPC2.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Kernel 1 ($$FMADD,$$NOW)^XLFDT  
PCE Patient Care Encounter 1 SITES^PXAPIIM  
Toolkit 1 $$GETSTAT^XTID  

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
PCE Patient Care Encounter 4 PXVIMM ADMIN ROUTE  PXVIMM ADMIN SITE  PXVIMM INFO SOURCE  PXVRPC5  

Entry Points

Name Comments DBIA/ICR reference
IMMSRC(PXVRSLT,PXVFLTR) ;
IMMROUTE(PXVRSLT,PXVFLTR,PXVSITES) ;
; The following additional Input and Return values are available for IMMROUTE:
; Input:
; PXVSITES - (Optional) Controls if the available sites for a give route are returned
; Returns:
; If PXVSITES=1, the sites for a given route will be returned.
; o if If only a subset of sites are selectable for a route,
; that list will be returned in
; PXVRSLT(n+1)=SITE^Site IEN 1
; PXVRSLT(n+2)=SITE^Site IEN 2
; PXVRSLT(n+x)=SITE^Site IEN x
; o if all sites are selectable for a route, the RPC will return:
; PXVRSLT(n+1)=SITE^ALL
; o If no sites are selectable for a route, the RPC will return:
; PXVRSLT(n+1)=SITE^NONE
IMMSITE(PXVRSLT,PXVFLTR,PXVDATE) ;
GETDATA(PXVRSLT,PXFILE,PXVFLTR,PXVSITES) ;
ADDENTRY(PXVRSLT,PXFILE,PXIEN,PXVSITES,PXFLTRSTAT,PXCNT) ; Adds entry to PXVRSLT
GETFLDS(PXFILE,PXIEN) ; Returns field values
ADDSITES(PXVRSLT,PXCNT,PXROUTE) ; Add Sites to PXVRSLT
GETSTAT(PXFILE,PXIEN) ;
CHKCACHE(PXFILE) ; Check Cache - see if we need to update
UPDCACHE(PXFILE) ;

External References

Name Field # of Occurrence
SITES^PXAPIIM ADDSITES+4
$$FMADD^XLFDT UPDCACHE+5
$$NOW^XLFDT UPDCACHE+5
$$GETSTAT^XTID GETSTAT+8, UPDCACHE+8

Used in RPC

RPC Name Call Tags
PXVIMM INFO SOURCE IMMSRC
PXVIMM ADMIN ROUTE IMMROUTE
PXVIMM ADMIN SITE IMMSITE

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIA - [#1.1] CHKCACHE+6
^PXV( GETDATA+17, GETDATA+26, GETDATA+32, GETDATA+38, GETDATA+40, GETDATA+41, GETFLDS+4, GETFLDS+5, GETSTAT+5, UPDCACHE+7
^XTMP("PXVCACHE-" GETSTAT+7, CHKCACHE+7, UPDCACHE+4!, UPDCACHE+5*, UPDCACHE+10*

Label References

Name Line Occurrences
$$GETFLDS ADDENTRY+6
$$GETSTAT GETFLDS+6
ADDENTRY GETDATA+18, GETDATA+27, GETDATA+33, GETDATA+42
ADDSITES ADDENTRY+14
CHKCACHE GETDATA+8
GETDATA IMMSRC+1, IMMROUTE+16, IMMSITE+1
UPDCACHE CHKCACHE+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DT UPDCACHE+5
PXCACHEDT CHKCACHE+2~, CHKCACHE+7*, CHKCACHE+8
PXCNT GETDATA+2~, GETDATA+3*, GETDATA+14, GETDATA+18, GETDATA+20, GETDATA+27, GETDATA+29, GETDATA+33, GETDATA+42, GETDATA+44
, ADDENTRY~, ADDENTRY+12*, ADDENTRY+13, ADDENTRY+14, ADDSITES~, ADDSITES+8*, ADDSITES+9
PXFILE GETDATA~, GETDATA+8, GETDATA+17, GETDATA+18, GETDATA+25, GETDATA+26, GETDATA+27, GETDATA+32, GETDATA+33, GETDATA+38
, GETDATA+40, GETDATA+41, GETDATA+42, ADDENTRY~, ADDENTRY+6, ADDENTRY+14, GETFLDS~, GETFLDS+4, GETFLDS+5, GETFLDS+6
, GETSTAT~, GETSTAT+4, GETSTAT+5, GETSTAT+7, GETSTAT+8, CHKCACHE~, CHKCACHE+4, CHKCACHE+6, CHKCACHE+7, CHKCACHE+9
, UPDCACHE~, UPDCACHE+4, UPDCACHE+5, UPDCACHE+7, UPDCACHE+8, UPDCACHE+10
PXFKTRSTAT GETDATA+2~
PXFLDS GETDATA+2~, ADDENTRY+2~, ADDENTRY+6*, ADDENTRY+7, ADDENTRY+13
PXFLTRSTAT GETDATA+2~, GETDATA+7*, GETDATA+36*, GETDATA+42, ADDENTRY~, ADDENTRY+9, ADDENTRY+10
PXFLTRTYP GETDATA+2~, GETDATA+6*, GETDATA+11*, GETDATA+14, GETDATA+20, GETDATA+29
PXFLTRVAL GETDATA+2~, GETDATA+12*, GETDATA+15, GETDATA+22, GETDATA+30, GETDATA+36
PXHL7 GETDATA+2~, GETDATA+5*, GETDATA+22*, GETDATA+23, GETDATA+26, GETFLDS+2~, GETFLDS+5*, GETFLDS+8
PXIEN GETDATA+2~, GETDATA+4*, GETDATA+15*, GETDATA+16, GETDATA+17, GETDATA+18, GETDATA+26*, GETDATA+27, GETDATA+32*, GETDATA+33
, GETDATA+39*, GETDATA+40*, GETDATA+41, GETDATA+42, ADDENTRY~, ADDENTRY+4, ADDENTRY+6, ADDENTRY+14, GETFLDS~, GETFLDS+4
, GETFLDS+5, GETFLDS+6, GETFLDS+8, GETSTAT~, GETSTAT+5, GETSTAT+7, GETSTAT+8, UPDCACHE+2~, UPDCACHE+6*, UPDCACHE+7*
, UPDCACHE+8, UPDCACHE+10
PXINDEX GETDATA+21~, GETDATA+24*, GETDATA+25*, GETDATA+26
PXLASTEDITDT CHKCACHE+2~, CHKCACHE+6*, CHKCACHE+8
PXNAME GETDATA+2~, GETDATA+30*, GETDATA+31, GETDATA+32, GETDATA+37*, GETDATA+38*, GETDATA+40, GETDATA+41, GETFLDS+2~, GETFLDS+4*
, GETFLDS+8
PXROUTE ADDSITES~, ADDSITES+4
PXSITE ADDSITES+2~, ADDSITES+6*, ADDSITES+7*, ADDSITES+9
PXSITES ADDSITES+2~, ADDSITES+4
PXSITES( ADDSITES+7
PXSTAT GETDATA+2~, ADDENTRY+2~, ADDENTRY+7*, ADDENTRY+9, ADDENTRY+10, GETFLDS+2~, GETFLDS+6*, GETFLDS+8, GETSTAT+2~, GETSTAT+4
, GETSTAT+5*, GETSTAT+7*, GETSTAT+8*, GETSTAT+9*, GETSTAT+10, UPDCACHE+2~, UPDCACHE+8*, UPDCACHE+9*, UPDCACHE+10
PXVDATE IMMSITE~
PXVFLTR IMMSRC~, IMMSRC+1, IMMROUTE~, IMMROUTE+16, IMMSITE~, IMMSITE+1, GETDATA~, GETDATA+10, GETDATA+11, GETDATA+12
PXVRSLT IMMSRC~, IMMSRC+1, IMMROUTE~, IMMROUTE+16, IMMSITE~, IMMSITE+1, GETDATA~, GETDATA+18, GETDATA+27, GETDATA+33
, GETDATA+42, ADDENTRY~, ADDENTRY+14, GETFLDS+2~, GETFLDS+8*, GETFLDS+10, ADDSITES~
PXVRSLT( ADDENTRY+13*, ADDSITES+9*
PXVRSLT(0 GETDATA+14*, GETDATA+20*, GETDATA+29*, GETDATA+44*
PXVSITES IMMROUTE~, IMMROUTE+16, GETDATA~, GETDATA+18, GETDATA+27, GETDATA+33, GETDATA+42, ADDENTRY~, ADDENTRY+14
U ADDENTRY+7, GETFLDS+4, GETFLDS+5, GETFLDS+8, GETSTAT+5, GETSTAT+8, CHKCACHE+7, UPDCACHE+5, UPDCACHE+8
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All