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

Package: Clinical Reminders

Routine: PXRMDIEV


Information

PXRMDIEV ;SLC/PKR - Routines for disabling/enabling evaluation. ;11/16/2015

Source Information

Source file <PXRMDIEV.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 5 (,DESC,ISQED,STAT)^%ZTLOAD  ($$FMADD,$$FMTE,$$HTE,$$NOW)^XLFDT  OUT^XPDMENU  OUT^XPDPROT  BMES^XPDUTL  
Clinical Reminders 3 KDISXTMP^PXRMDIEV  $$ASKYN^PXRMEUT  SEND^PXRMMSG  
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 5 PXRM  PXRM DISABLE/ENABLE EVALUATION  PXRMDIEV  PXRMP26I  PXRMSXRM  
PCE Patient Care Encounter 2 PXRM DISABLE/ENABLE EVALUATION  PXVP210  
Problem List 1 GMPLY47  

Entry Points

Name Comments DBIA/ICR reference
BUILDD(BUILD) ;Disable for a build installation.
BUILDE(BUILD) ;Enable after a build installation is complete.
DMSG ;Send a message that reminder evaluation has been disabled.
EMSG(DTIME) ;Send a message that reminder evaluation has been enabled.
INDEXD(INDEX,INDEXL) ;Disable for index rebuilding.
  • ICR #6059
    • Status: Active
    • Usage: Private
    INDXCHK(REASON,INDEX) ;If reminder evaluation is disabled for index
    KDISXTMP(REASON,RDATA) ;Kill ^XTMP nodes for disabling evaluation.
    MGRD ;Code for disabling evaluation by the reminder manager.
    MGRE ;Code for enabling evaluation by the reminder manager.
    MGRO ;Called by the option PXRM DISABLE/ENABLE EVALUATION.
    OPTIONS(TEXT) ;Disable/enable critical PXRM options.
    PINDXCHK ;If reminder evaluation is disabled for index
    PROTCOLS(TEXT) ;Disable/enable critical PXRM protocols.
    SDISXTMP(REASON,RDATA,INDEXL) ;Set ^XTMP nodes for disabling evaluation.
    TINDXCHK(REASON,INDEX) ;If reminder evaluation is disabled for index
    TOLIST(TO) ;Return the list of who to send the message to.
    TSKJOBS(NL) ;Search for TaskMan jobs that may be affected by disabled reminder
    TSKLIST(TDESC,NL) ;Search for tasks with the description TDESC. For any

    External References

    Name Field # of Occurrence
    ^%ZTLOAD TINDXCHK+11
    DESC^%ZTLOAD TSKLIST+3
    ISQED^%ZTLOAD TSKLIST+16
    STAT^%ZTLOAD TSKLIST+8
    $$GET1^DIQ TOLIST+5
    KDISXTMP^PXRMDIEV PINDXCHK+10
    $$ASKYN^PXRMEUT MGRD+5, MGRE+15
    SEND^PXRMMSG DMSG+27, EMSG+9
    $$FMADD^XLFDT SDISXTMP+4
    $$FMTE^XLFDT DMSG+4, EMSG+4, EMSG+5
    $$HTE^XLFDT TSKLIST+17
    $$NOW^XLFDT EMSG+5, SDISXTMP+3, TINDXCHK+9
    OUT^XPDMENU OPTIONS+12
    OUT^XPDPROT PROTCOLS+9
    BMES^XPDUTL BUILDD+3, BUILDE+3

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"Started job ",TASKNUM," to check for completion of the rebuilding"
    • Line Location: INDEXD+9
    Function Call: WRITE
    • Prompt: !,"of the index for file # ",INDEX,"."
    • Line Location: INDEXD+10
    Function Call: WRITE
    • Prompt: !,"Disabling reminder evaluation will stop all evaluation, dialogs,"
    • Line Location: MGRD+2
    Function Call: WRITE
    • Prompt: !,"reminder order checks, and anything using reminder evaluation!"
    • Line Location: MGRD+3
    Function Call: WRITE
    • Prompt: !,"Are you sure you want to proceed?"
    • Line Location: MGRD+4
    Function Call: WRITE
    • Prompt: !,"Reminder evaluation is currently disabled for the following reason(s):"
    • Line Location: MGRE+2
    Function Call: WRITE
    • Prompt: !,TEXT
    • Line Location: MGRE+7
    Function Call: WRITE
    • Prompt: !,TEXT
    • Line Location: MGRE+14
    Function Call: WRITE
    • Prompt: !,"You must have the reminder managers key to use this option."
    • Line Location: MGRO+2

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^XMB(3.8 - [#3.8] GET1^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PXRM(800 - [#800] TOLIST+3
    ^PXRMINDX( INDEXD+3!, INDXCHK+2, PINDXCHK+8
    ^TMP("PXRMXMZ" DMSG+2!, DMSG+5*, DMSG+6*, DMSG+7*, DMSG+8*, DMSG+9*, DMSG+10*, DMSG+16*, DMSG+23*, DMSG+28!
    , EMSG+2!, EMSG+6*, EMSG+7*, EMSG+10!, TSKJOBS+5*, TSKJOBS+6*, TSKJOBS+10*, TSKJOBS+11*, TSKJOBS+15*, TSKJOBS+16*
    , TSKLIST+12*, TSKLIST+13*, TSKLIST+15*, TSKLIST+17*, TSKLIST+18*
    ^VA(200 - [#200] DMSG+21, MGRE+12, TSKLIST+18
    ^XTMP("PXRM_DISEV" DMSG+4, DMSG+13, DMSG+14, DMSG+18, KDISXTMP+1!, KDISXTMP+2!, KDISXTMP+3, KDISXTMP+5, KDISXTMP+6!, MGRE+4
    MGRE+5, MGRE+9, MGRE+17, MGRE+18!, MGRO+3, PINDXCHK+10, SDISXTMP+2, SDISXTMP+5*, SDISXTMP+6*, SDISXTMP+7*
    , SDISXTMP+9, SDISXTMP+12*, SDISXTMP+18*
    ^XUSEC("PXRM MANAGER" MGRO+1

    Label References

    Name Line Occurrences
    $$TINDXCHK INDEXD+7
    DMSG SDISXTMP+17
    EMSG KDISXTMP+11, MGRE+19
    KDISXTMP BUILDE+4, INDXCHK+2
    MGRD MGRO+4
    MGRE MGRO+3
    OPTIONS KDISXTMP+8, MGRE+20, SDISXTMP+14
    PROTCOLS KDISXTMP+9, MGRE+21, SDISXTMP+15
    SDISXTMP BUILDD+4, INDEXD+4, MGRD+8
    TOLIST DMSG+26, EMSG+8
    TSKJOBS DMSG+25
    TSKLIST TSKJOBS+7, TSKJOBS+12, TSKJOBS+17

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    ANS MGRD+1~, MGRD+5*, MGRD+6, MGRE+1~, MGRE+15*, MGRE+16
    BUILD BUILDD~, BUILDD+2, BUILDE~, BUILDE+2
    CDATE SDISXTMP+1~, SDISXTMP+3*, SDISXTMP+4, SDISXTMP+5
    DONE OPTIONS+7~, OPTIONS+8*, OPTIONS+9, OPTIONS+11*, PINDXCHK+4~, PINDXCHK+6*, PINDXCHK+7, PINDXCHK+9*, PINDXCHK+11, PROTCOLS+4~
    , PROTCOLS+5*, PROTCOLS+6, PROTCOLS+8*
    DTIME DMSG+1~, DMSG+4*, DMSG+5, EMSG~, EMSG+4*, EMSG+7, KDISXTMP+4~, KDISXTMP+5*, KDISXTMP+11, MGRE+1~
    MGRE+17*, MGRE+19, TSKLIST+2~
    DUZ MGRD+8, MGRO+1, TOLIST+2
    ETIME EMSG+1~, EMSG+5*, EMSG+6
    IND OPTIONS+7~, OPTIONS+9*, PROTCOLS+4~, PROTCOLS+6*
    INDEX INDEXD~, INDEXD+3, INDEXD+4, INDEXD+7, INDEXD+10, INDXCHK~, INDXCHK+2, PINDXCHK+8, PINDXCHK+10, SDISXTMP+1~
    , SDISXTMP+11*, SDISXTMP+12*, TINDXCHK~, TINDXCHK+8
    INDEXL INDEXD~, INDEXD+4, SDISXTMP~, SDISXTMP+10
    INDEXL( SDISXTMP+12
    MGIEN TOLIST+1~, TOLIST+3*, TOLIST+4, TOLIST+5
    MGROUP TOLIST+1~, TOLIST+5*, TOLIST+6
    >> MNAME MGRE+12*, MGRE+13
    NINDEX SDISXTMP+1~, SDISXTMP+11*, SDISXTMP+12*, SDISXTMP+18
    NL DMSG+1~, DMSG+3*, DMSG+5*, DMSG+6*, DMSG+7*, DMSG+8*, DMSG+9*, DMSG+10*, DMSG+16*, DMSG+23*
    DMSG+25, EMSG+1~, EMSG+3*, EMSG+6*, EMSG+7*, TSKJOBS~, TSKJOBS+5*, TSKJOBS+6*, TSKJOBS+7, TSKJOBS+10*
    , TSKJOBS+11*, TSKJOBS+12, TSKJOBS+15*, TSKJOBS+16*, TSKJOBS+17, TSKLIST~, TSKLIST+12*, TSKLIST+13*, TSKLIST+15*, TSKLIST+17*
    , TSKLIST+18*
    OPTION OPTIONS+7~, OPTIONS+10*, OPTIONS+11, OPTIONS+12
    PROTOCOL PROTCOLS+4~, PROTCOLS+7*, PROTCOLS+8, PROTCOLS+9
    PUDATE SDISXTMP+1~, SDISXTMP+4*, SDISXTMP+5
    RDATA DMSG+1~, DMSG+17*, DMSG+18*, DMSG+19, DMSG+21, KDISXTMP~, KDISXTMP+1, MGRE+1~, MGRE+8*, MGRE+9*
    MGRE+10, MGRE+12, SDISXTMP~, SDISXTMP+6, SDISXTMP+7
    REASON BUILDD+1~, BUILDD+2*, BUILDD+4, BUILDE+1~, BUILDE+2*, BUILDE+4, DMSG+1~, DMSG+12*, DMSG+13*, DMSG+14
    DMSG+15, DMSG+18, DMSG+19, DMSG+20, DMSG+22, INDEXD+1~, INDEXD+2*, INDEXD+4, INDEXD+7, INDXCHK~
    , INDXCHK+2, KDISXTMP~, KDISXTMP+1, KDISXTMP+2, MGRD+1~, MGRD+7*, MGRD+8, MGRE+1~, MGRE+3*, MGRE+4*
    MGRE+5, MGRE+6, MGRE+9, MGRE+10, MGRE+11, MGRE+13, PINDXCHK+10, SDISXTMP~, SDISXTMP+6, SDISXTMP+7
    , SDISXTMP+12, SDISXTMP+14, SDISXTMP+15, TINDXCHK~
    STATUS TSKLIST+2~, TSKLIST+14*, TSKLIST+15
    TASKNUM INDEXD+1~, INDEXD+7*, INDEXD+8, INDEXD+9, TSKLIST+2~, TSKLIST+4*, TSKLIST+5*, TSKLIST+7, TSKLIST+13
    TDESC TSKJOBS+3~, TSKJOBS+4*, TSKJOBS+7, TSKJOBS+9*, TSKJOBS+12, TSKJOBS+14*, TSKJOBS+17, TSKLIST~, TSKLIST+3
    TEXT DMSG+15*, DMSG+16, DMSG+19*, DMSG+22*, DMSG+23, MGRE+1~, MGRE+6*, MGRE+7, MGRE+10*, MGRE+13*
    MGRE+14, OPTIONS~, OPTIONS+12, PROTCOLS~, PROTCOLS+9
    TIME TSKLIST+2~
    TLIST TSKLIST+2~
    TLIST( TSKLIST+5
    TO DMSG+1~, DMSG+26, DMSG+27, EMSG+1~, EMSG+8, EMSG+9, TOLIST~
    TO( TOLIST+2*, TOLIST+6*
    U DMSG+4, DMSG+21, KDISXTMP+5, MGRE+12, MGRE+17, SDISXTMP+5, TSKLIST+18
    USER DMSG+21*, DMSG+22, TSKLIST+2~
    ZTDESC TINDXCHK+3~, TINDXCHK+8*
    ZTDTH TINDXCHK+3~, TINDXCHK+9*
    ZTIO TINDXCHK+3~, TINDXCHK+10*
    >> ZTREQ PINDXCHK+5*
    ZTRTN TINDXCHK+3~, TINDXCHK+7*
    ZTSAVE TINDXCHK+3~
    ZTSAVE("INDEX" TINDXCHK+4*
    ZTSAVE("RDATA" TINDXCHK+5*
    ZTSAVE("REASON" TINDXCHK+6*
    ZTSK TINDXCHK+12, TSKLIST+2~, TSKLIST+6!, TSKLIST+7*
    ZTSK("D" TSKLIST+17
    ZTSK("DUZ" TSKLIST+18
    ZTSK(0 TSKLIST+9
    ZTSK(2 TSKLIST+11, TSKLIST+14

    Marked Items

    Name Field # of Occurrence
    $T(OPTIONS+IND OPTIONS+10
    $T(PROTCOLS+IND PROTCOLS+7
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All