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. ;06/04/2014

Source Information

Source file <PXRMDIEV.m>

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

Caller Graph Total: 6

Package Total Caller Graph
Clinical Reminders 5 PXRM  PXRM DISABLE/ENABLE EVALUATION  PXRMDIEV  PXRMP26I  PXRMSXRM  
PCE Patient Care Encounter 1 PXRM DISABLE/ENABLE EVALUATION  

Entry Points

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

    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+8
    Function Call: WRITE
    • Prompt: !,"of the index for file # ",INDEX,"."
    • Line Location: INDEXD+9
    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( 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+19!, MGRO+3, PINDXCHK+10, SDISXTMP+2, SDISXTMP+5*, SDISXTMP+6*, SDISXTMP+7*
    ^XUSEC("PXRM MANAGER" MGRO+1

    Label References

    Name Line Occurrences
    $$TINDXCHK INDEXD+6
    DMSG SDISXTMP+12
    EMSG KDISXTMP+11, MGRE+18
    KDISXTMP BUILDE+4, INDXCHK+2
    MGRD MGRO+4
    MGRE MGRO+3
    OPTIONS KDISXTMP+8, MGRE+20, SDISXTMP+9
    PROTCOLS KDISXTMP+9, MGRE+21, SDISXTMP+10
    SDISXTMP BUILDD+4, INDEXD+3, 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+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+18, 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+6, INDEXD+9, INDXCHK~, INDXCHK+2, PINDXCHK+8, PINDXCHK+10, TINDXCHK~, TINDXCHK+8
    MGIEN TOLIST+1~, TOLIST+3*, TOLIST+4, TOLIST+5
    MGROUP TOLIST+1~, TOLIST+5*, TOLIST+6
    >> MNAME MGRE+12*, MGRE+13
    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+3, INDEXD+6, 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+9, SDISXTMP+10, TINDXCHK~
    STATUS TSKLIST+2~, TSKLIST+14*, TSKLIST+15
    TASKNUM INDEXD+1~, INDEXD+6*, INDEXD+7, INDEXD+8, 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