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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PXRMPRAD

Package: Clinical Reminders

Routine: PXRMPRAD


Information

PXRMPRAD ;SLC/AGP,RFR - Reminder Order Protocol Outgoing to Rad;10/13/2020

Source Information

Source file <PXRMPRAD.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Clinical Reminders 6 $$CTFMD^PXRMDATE  ADD^PXRMEOC  TERM^PXRMLDR  SEND^PXRMMSG  $$EARLDATE^PXRMPRAD  ACOPY^PXRMUTIL  
Kernel 2 $$EC^%ZOSV  $$NOW^XLFDT  
Toolkit 1 GETLST^XPAR  
VA FileMan 1 $$GET1^DIQ  

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

Package Total Caller Graph
Clinical Reminders 3 PXRM ORDER SEND TO RAD  PXRMCWH  PXRMPRAD  
Womens Health 3 WVEXPTRA  WVHS  WVRALINK  
Kernel 1 ^ORD(101  
Order Entry Results Reporting 1 ORSMART  

Entry Points

Name Comments DBIA/ICR reference
EN(MSG) ;
ORC ;process the ORC segments
OBR ;process the OBR segments
ORX ;
EPISODE(ITEM,START,DATE) ;
UNEXPERR ;unexpected error handler
ERROR(TEXT,ERROR) ;
GETCODES(TXIEN,TNAME,TXARRAY) ;
GETTRMCD(TIEN,TXARRAY,TERMARR,ERROR) ;
  • ICR #6808
    • Status: Active
    • Usage: Private
    CHCKPROC(INPUT,ERROR) ;
  • ICR #6808
    • Status: Active
    • Usage: Private
    BLDTARR(TERMARR) ;
  • ICR #6808
    • Status: Active
    • Usage: Private
    EARLDATE(TERMARR) ;
  • ICR #6808
    • Status: Active
    • Usage: Private
    EVAL(PAT,ITEMIEN,ITEMTYPE,CODE,CODESYS,ORDIEN,PROV,DATE,LOC,ERROR) ;evaluation of a reminder
    GETTYPE(APPL) ;
    SENDERR(ERROR) ;
    VALIDCTL(APPL,CNTRL) ;
    VALIDAPL(APPL) ;
    PID(PXRMMSG,MSH,PID,PAT) ; -- Returns patient from PID segment in current msg

    External References

    Name Field # of Occurrence
    $$EC^%ZOSV UNEXPERR+2
    $$GET1^DIQ OBR+9
    $$CTFMD^PXRMDATE EARLDATE+5
    ADD^PXRMEOC EVAL+7
    TERM^PXRMLDR GETTRMCD+3, CHCKPROC+11
    SEND^PXRMMSG SENDERR+3
    $$EARLDATE^PXRMPRAD CHCKPROC+12
    ACOPY^PXRMUTIL ERROR+6
    $$NOW^XLFDT EPISODE+1
    GETLST^XPAR BLDTARR+3

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^RAMIS(71 - [#71] GET1^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^%ZOSF("ERRTN" UNEXPERR+4
    ^DPT - [#2] PID+4
    ^OR(100 - [#100] ORC+9, ORC+11
    ^PXD(811.2 - [#811.2] GETCODES+2, GETCODES+4
    ^PXRMD(811.5 - [#811.5] GETTRMCD+2, BLDTARR+6
    ^TMP("PXRMXMZ" SENDERR+1!, SENDERR+2*, SENDERR+4!

    Label References

    Name Line Occurrences
    $$BLDTARR CHCKPROC+6
    $$CHCKPROC EVAL+4
    $$GETTYPE OBR+6
    $$VALIDAPL EN+8
    $$VALIDCTL ORC+5
    @( UNEXPERR+4
    ERROR EN+7, EN+9, ORC+4, ORC+9, UNEXPERR+2, CHCKPROC+11, EVAL+9, EVAL+10
    EVAL OBR+10
    GETCODES GETTRMCD+5, CHCKPROC+14
    ORX EN+7, EN+8, EN+9, ORC+13
    PID EN+9
    SENDERR ORX+1, UNEXPERR+3

    Naked Globals

    Name Field # of Occurrence
    ^(0 ORC+9

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    APPL EN+4~, EN+8*, ORC+5, OBR+6, GETTYPE~, GETTYPE+1, VALIDCTL~, VALIDCTL+3, VALIDAPL~, VALIDAPL+1
    BEGDATE EN+4~
    CNT ERROR+1~, ERROR+2*, ERROR+3*, ERROR+4*, ERROR+5, ERROR+7*, BLDTARR+1~, BLDTARR+2*, BLDTARR+7*, BLDTARR+16
    , EARLDATE+1~, EARLDATE+3*, EARLDATE+4, EVAL+1~, EVAL+10*
    CNTRL EN+4~, ORC+3*, ORC+4, ORC+5, ORC+7, VALIDCTL~, VALIDCTL+4, VALIDCTL+5
    CODE EN+4~, OBR+4*, OBR+7, OBR+9*, OBR+10, GETCODES+1~, GETCODES+4*, GETCODES+5, CHCKPROC+1~, CHCKPROC+2*
    , CHCKPROC+13, CHCKPROC+15, EVAL~, EVAL+2
    CODESYS EN+4~, OBR+4*, OBR+7, OBR+10, GETCODES+1~, GETCODES+2*, GETCODES+3, GETCODES+4, CHCKPROC+1~, CHCKPROC+2*
    , CHCKPROC+13, EVAL~, EVAL+2
    DATA EN+5~, ERROR+1~
    DATA( ERROR+7
    DATE EN+4~, ORC+11*, OBR+10, EPISODE~, EPISODE+1*, CHCKPROC+1~, CHCKPROC+12*, EARLDATE+1~, EARLDATE+5*, EARLDATE+6
    , EARLDATE+7, EVAL~, EVAL+3, EVAL+7
    DFN PID+1~, PID+3*, PID+4
    ENDDATE EN+4~
    ERROR EN+4~, EN+7, EN+9, ORC+9, OBR+10, ORX+1, UNEXPERR+1~, UNEXPERR+2, UNEXPERR+3, ERROR~
    , GETTRMCD~, GETTRMCD+2*, GETTRMCD+3*, GETTRMCD+4*, CHCKPROC~, CHCKPROC+7, CHCKPROC+11, EVAL~, EVAL+4, EVAL+9
    , EVAL+10, SENDERR~, SENDERR+2
    ERROR( ERROR+3*, ERROR+4*, ERROR+5*, ERROR+7*
    ERROR("?" ERROR+2
    EXIT EN+5~
    I PID+1~*, PID+2*, PID+3, PID+5
    INDEX ERROR+1~, ERROR+7*
    INPUT CHCKPROC~, EVAL+1~, EVAL+4
    INPUT("CODE" CHCKPROC+2, EVAL+2*
    INPUT("CODESYS" CHCKPROC+2, EVAL+2*
    INPUT("DATE" CHCKPROC+12, EVAL+3*
    INPUT("ITEM" CHCKPROC+3, EVAL+2*
    INPUT("ITEMTYPE" CHCKPROC+3, EVAL+2*
    ITEM EPISODE~, CHCKPROC+1~, CHCKPROC+3*, CHCKPROC+18, CHCKPROC+19
    ITEMIEN EN+4~, EVAL~, EVAL+2
    ITEMTYPE OBR+6*, OBR+10, CHCKPROC+1~, CHCKPROC+3*, CHCKPROC+17, CHCKPROC+19, EVAL~, EVAL+2
    LOC EN+4~, ORC+11*, OBR+10, EVAL~
    MATCH EN+4~, ORC+1*, ORC+10*, ORC+13
    MAX CHCKPROC+1~, CHCKPROC+6*, CHCKPROC+7
    MSG EN~, EN+3, EVAL+1~, EVAL+7, EVAL+8
    MSG( EVAL+10
    MSH EN+4~, EN+6*, EN+7, EN+8, EN+9, PID~, PID+1
    NODE EN+4~, OBR+3*, OBR+4, OBR+5
    OBR EN+4~, ORC+14*, OBR+1*, OBR+2*, OBR+3
    OBX EN+5~
    ORC EN+4~, EN+10*, ORC+2*, ORC+3*, ORC+8, ORC+12, ORC+14
    ORDIEN EN+4~, ORC+8*, ORC+9, ORC+11, OBR+10, EVAL~, EVAL+7
    PARAMS EN+5~
    PAT EN+4~, EN+9, ORC+9, OBR+10, EVAL~, EVAL+7, PID~, PID+4*, PID+5*
    PID EN+4~, EN+9, EN+10, PID~, PID+1*, PID+3*
    PKGIFN EN+5~, ORC+8*
    PROV EN+4~, ORC+12*, OBR+10, EVAL~
    PXRMERR BLDTARR+1~, BLDTARR+3
    PXRMMSG EN+1~, EN+3*, EN+6, EN+8, EN+9, ORC+2, ORC+3, OBR+1, OBR+2, ERROR+6
    , PID~, PID+2, PID+3, PID+5
    PXRMOUT BLDTARR+1~, BLDTARR+3
    PXRMOUT( BLDTARR+4, BLDTARR+5
    PXRMXDT EN+5~
    RADID EN+5~, OBR+5*, OBR+7, OBR+9, OBR+10
    RADNAME EN+5~, OBR+5*
    REMIEN EN+5~
    RESULT CHCKPROC+1~, CHCKPROC+4*, CHCKPROC+7, CHCKPROC+15*, CHCKPROC+16, CHCKPROC+20*, CHCKPROC+21, EARLDATE+1~, EARLDATE+2*, EARLDATE+6*
    , EARLDATE+7*, EARLDATE+8, VALIDCTL+1~, VALIDCTL+2*, VALIDCTL+3, VALIDCTL+4*, VALIDCTL+5*, VALIDCTL+6
    SEG PID+1~, PID+2*
    START EPISODE~, CHCKPROC+1~, CHCKPROC+10*, CHCKPROC+15, CHCKPROC+20, EVAL+1~, EVAL+6*, EVAL+7
    TEMP EARLDATE+1~, EARLDATE+4*, EARLDATE+5
    TEMPDATE CHCKPROC+1~
    TERMARR EN+5~, GETTRMCD~, GETTRMCD+3, CHCKPROC+1~, CHCKPROC+9!, CHCKPROC+11, CHCKPROC+12, BLDTARR~, EARLDATE~
    TERMARR( BLDTARR+7*
    TERMARR("DNE" GETTRMCD+3, CHCKPROC+11
    TERMARR("E" GETTRMCD+4, GETTRMCD+5, CHCKPROC+14, CHCKPROC+19
    TERMARR(20 EARLDATE+3, EARLDATE+4
    TERMIEN EN+5~
    TERMLARR CHCKPROC+1~, CHCKPROC+6
    TERMLARR( CHCKPROC+8
    TEXT ERROR~, ERROR+3
    TIEN GETTRMCD~, GETTRMCD+2, BLDTARR+1~, BLDTARR+5*, BLDTARR+6
    TNAME GETCODES~, GETTRMCD+1~, GETTRMCD+2*, GETTRMCD+3, GETTRMCD+4, GETTRMCD+5, CHCKPROC+1~, CHCKPROC+8*, CHCKPROC+10, CHCKPROC+11
    , CHCKPROC+14, BLDTARR+1~, BLDTARR+6*, BLDTARR+7
    TXARRAY GETCODES~, GETTRMCD~, GETTRMCD+5, CHCKPROC+1~, CHCKPROC+14
    TXARRAY( GETCODES+5*, CHCKPROC+15
    TXIEN GETCODES~, GETCODES+2, GETCODES+4, GETTRMCD+1~, GETTRMCD+5*, CHCKPROC+1~, CHCKPROC+14*
    U ORC+3, ORC+8, ORC+9, ORC+11, ORC+12, OBR+2, OBR+4, OBR+5, ERROR+6, GETTRMCD+2
    , CHCKPROC+15, CHCKPROC+20, BLDTARR+5, BLDTARR+6, EARLDATE+4, EVAL+6
    VALUE EVAL+1~, EVAL+4*, EVAL+5, EVAL+6
    X CHCKPROC+1~, CHCKPROC+7*, CHCKPROC+8, BLDTARR+1~, BLDTARR+4*, BLDTARR+5
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All