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 ;Jun 04, 2019@12:16:35

Source Information

Source file <PXVRPC2.m>

Call Graph

Call Graph

Call Graph Total: 4

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

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

Package Total Caller Graph
PCE Patient Care Encounter 4 PXVIMM ADMIN ROUTE  PXVIMM ADMIN SITE  PXVIMM INFO SOURCE  PXVRPC5  
Order Entry Results Reporting 2 ORFIMM  ORFIMM1  

Entry Points

Name Comments DBIA/ICR reference
IMMSRC(PXVRSLT,PXVFLTR) ;
  • ICR #7283
    • Status: Active
    • Usage: Controlled Subscription
    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
  • ICR #7283
    • Status: Active
    • Usage: Controlled Subscription
    IMMSITE(PXVRSLT,PXVFLTR,PXVDATE) ;
  • ICR #7283
    • Status: Active
    • Usage: Controlled Subscription
    GETDATA(PXVRSLT,PXFILE,PXVFLTR,PXVSITES) ;
    ADDENTRY(PXVRSLT,PXFILE,PXIEN,PXVSITES,PXFLTRSTAT,PXFLTRVAL,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
    GETLST^XPAR GETDATA+40
    $$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+49, GETDATA+51, GETDATA+52, ADDENTRY+6, ADDENTRY+7, 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+9
    $$GETSTAT GETFLDS+6
    ADDENTRY GETDATA+18, GETDATA+27, GETDATA+33, GETDATA+44, GETDATA+54
    ADDSITES ADDENTRY+17
    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+44, GETDATA+54
    , GETDATA+56, ADDENTRY~, ADDENTRY+15*, ADDENTRY+16, ADDENTRY+17, ADDSITES~, ADDSITES+8*, ADDSITES+9
    PXFILE GETDATA~, GETDATA+8, GETDATA+17, GETDATA+18, GETDATA+25, GETDATA+26, GETDATA+27, GETDATA+32, GETDATA+33, GETDATA+39
    , GETDATA+44, GETDATA+45, GETDATA+49, GETDATA+51, GETDATA+52, GETDATA+53, GETDATA+54, ADDENTRY~, ADDENTRY+6, ADDENTRY+7
    , ADDENTRY+9, ADDENTRY+17, 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+9*, ADDENTRY+10, ADDENTRY+16
    PXFLTRSTAT GETDATA+2~, GETDATA+7*, GETDATA+36*, GETDATA+44, GETDATA+54, ADDENTRY~, ADDENTRY+12, ADDENTRY+13
    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, GETDATA+44, GETDATA+54, ADDENTRY~, ADDENTRY+6
    , ADDENTRY+7
    PXHL7 GETDATA+2~, GETDATA+5*, GETDATA+22*, GETDATA+23, GETDATA+26, GETFLDS+2~, GETFLDS+5*, GETFLDS+8
    PXI GETDATA+2~, GETDATA+41*, GETDATA+42
    PXIEN GETDATA+2~, GETDATA+4*, GETDATA+15*, GETDATA+16, GETDATA+17, GETDATA+18, GETDATA+26*, GETDATA+27, GETDATA+32*, GETDATA+33
    , GETDATA+42*, GETDATA+43, GETDATA+44, GETDATA+45, GETDATA+50*, GETDATA+51*, GETDATA+52, GETDATA+53, GETDATA+54, ADDENTRY~
    , ADDENTRY+4, ADDENTRY+6, ADDENTRY+7, ADDENTRY+9, ADDENTRY+17, 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+48*, GETDATA+49*, GETDATA+51, GETDATA+52, GETFLDS+2~, GETFLDS+4*
    , GETFLDS+8
    PXROUTE ADDSITES~, ADDSITES+4
    PXSEQARR GETDATA+2~, GETDATA+40
    PXSEQARR( GETDATA+41, GETDATA+42
    PXSITE ADDSITES+2~, ADDSITES+6*, ADDSITES+7*, ADDSITES+9
    PXSITES ADDSITES+2~, ADDSITES+4
    PXSITES( ADDSITES+7
    PXSKIP GETDATA+2~
    PXSKIP( GETDATA+45*, GETDATA+53
    PXSTAT GETDATA+2~, ADDENTRY+2~, ADDENTRY+10*, ADDENTRY+12, ADDENTRY+13, 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+44, GETDATA+54, ADDENTRY~, ADDENTRY+17, GETFLDS+2~, GETFLDS+8*, GETFLDS+10, ADDSITES~
    PXVRSLT( ADDENTRY+16*, ADDSITES+9*
    PXVRSLT(0 GETDATA+14*, GETDATA+20*, GETDATA+29*, GETDATA+56*
    PXVSITES IMMROUTE~, IMMROUTE+16, GETDATA~, GETDATA+18, GETDATA+27, GETDATA+33, GETDATA+54, ADDENTRY~, ADDENTRY+17
    U GETDATA+42, ADDENTRY+6, ADDENTRY+7, ADDENTRY+10, 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