Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PXRMSXRM

Package: Clinical Reminders

Routine: PXRMSXRM


Information

PXRMSXRM ; SLC/PKR - Main driver for building indexes. ;08/14/2017

Source Information

Source file <PXRMSXRM.m>

Entry Points

Name Comments DBIA/ICR reference
ADDERROR(GLOBAL,IDEN,NERROR) ;Add to the error list.
  • ICR #4113
    • Status: Active
    • Usage: Controlled Subscription
    ASKTASK() ;See if this should be tasked.
    BLDINDEX(FNUMLIST,START,SEQP) ;API for building the Clinical Reminders
  • ICR #6210
    • Status: Active
    • Usage: Controlled Subscription
    COMMSG(GLOBAL,START,END,NE,NERROR) ;Send a MailMan message providing
  • ICR #4113
    • Status: Active
    • Usage: Controlled Subscription
    DETIME(START,END) ;Write out the elapsed time.
  • ICR #4113
    • Status: Active
    • Usage: Controlled Subscription
    ERRMSG(NERROR,GLOBAL) ;If there were errors send an error message.
  • ICR #4113
    • Status: Active
    • Usage: Controlled Subscription
    ETIME(START,END) ;Calculate and format the elapsed time.
    INDEX ;Driver for building the various indexes.
    NDONEMSG(FNUM,ZTSK) ;If the task to rebuild an index did not complete
    RTNLIST(ROUTINE) ;Populate the routine list.
    RUNNOW(LIST,GBL,ROUTINE) ;Run the index build routines now.
    SEL(LIST,GBL) ;Select global list
    TASKIT(LIST,GBL,ROUTINE) ;Build the indexes as a tasked job.
    TASKBLD ;Execute as tasked job. FNUM, FNUMLIST, and RTN come through ZTSAVE.
    TASKJOB ;Execute as tasked job, used by list build option.
    TASKDONE(TASKNUM) ;Return a 1 when task number TASKNUM has completed.
    TASKRUN ;Task to queue index builds for BLDINDEX API.

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"Rebuilding an index will stop all evaluation, dialogs,"
    • Line Location: INDEX+3
    Function Call: WRITE
    • Prompt: !,"reminder order checks, and anything using reminder evaluation!"
    • Line Location: INDEX+4
    Function Call: WRITE
    • Prompt: !,"Are you sure you want to proceed?"
    • Line Location: INDEX+5
    Function Call: WRITE
    • Prompt: !,"Which indexes do you want to (re)build?"
    • Line Location: INDEX+9
    Function Call: WRITE
    • Prompt: !,"Queue the Clinical Reminders index job."
    • Line Location: INDEX+16
    Function Call: WRITE
    • Prompt: !,"Task number ",ZTSK," queued."
    • Line Location: TASKIT+21

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^VA(200 - [#200] GET1^DIQ
    ^XMB(3.8 - [#3.8] GET1^DIQ
    Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call