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  | All
Print Page as PDF
Routine: SCMCMHTC

Package: Scheduling

Routine: SCMCMHTC


Information

SCMCMHTC ;BP/DMR - PCMM/MH API ;02/27/2015

Source Information

Source file <SCMCMHTC.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Kernel 1 $$NOW^XLFDT  
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: 19

Package Total Caller Graph
Scheduling 11 SCMCMH  SCMCMHE  SCMCMHO7  SCRPU4  SDEC09  SDEC28  SDES2PATSEARCH  SDESGETREGA  
SDESGETREGA1  SDESPATSEARCH  SDMHAD1  
Order Entry Results Reporting 5 ORB3  ORB3SPEC  ORBPRCHK  ORCXPND1  ORWPT1  
Clinical Reminders 1 PXRMPCMM  
Enterprise Health Management Platform 1 HMPCRPC1  
Health Summary 1 GMTSMHTC  

Entry Points

Name Comments DBIA/ICR reference
START(DFN) ; Get patient MHTC info.
  • ICR #5697
    • Status: Active
    • Usage: Controlled Subscription
    SAVE ;Save MHTC info.
    PRINT ;Display in CPRS Patient Inquiry.
    LIST ;List of all active MHTC's from PCMM to CPRS.
    EXIT ;

    External References

    Name Field # of Occurrence
    $$GET1^DIQ START+8, START+10, START+11, START+12, START+14, START+15, START+16, START+17, SAVE+3, SAVE+4
    PRINT+7, LIST+10, LIST+11, LIST+12, LIST+13, LIST+14, LIST+15, LIST+16
    $$NOW^XLFDT START+19

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !!," MH Treatment Team: ",TNAM
    • Line Location: PRINT+8
    Function Call: WRITE
    • Prompt: !,"MH Treatment Coord: ",$E(PNAM,1,28),?52,"Position: ",$E(TP,1,18)
    • Line Location: PRINT+9
    Function Call: WRITE
    • Prompt: !," Analog Pager: ",PAG,?55,"Phone: ",PH
    • Line Location: PRINT+10
    Function Call: WRITE
    • Prompt: !," Digital Pager: ",DPAG
    • Line Location: PRINT+11

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^VA(200 - [#200] GET1^DIQ
    ^SCPT(404.43 - [#404.43] GET1^DIQ
    ^SCTM(404.51 - [#404.51] GET1^DIQ
    ^SCTM(404.52 - [#404.52] GET1^DIQ
    ^SCTM(404.57 - [#404.57] GET1^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^SCPT(404.42 - [#404.42] START+6, START+7
    ^SCPT(404.43 - [#404.43] START+9
    ^SCTM(404.52 - [#404.52] START+13, LIST+8, LIST+9
    ^TMP("SCMCMHTC" LIST+6!, LIST+17*

    Label References

    Name Line Occurrences
    EXIT LIST+19
    PRINT START+24
    SAVE START+23

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    ACT START+2~, START+14*
    ADATE START+3~, START+16*, START+20, START+21, START+22
    CC LIST+5*, LIST+17*, EXIT+1!
    >> CPRSGUI START+24, PRINT+2
    DFN START~, START+1, START+6
    DPAG PRINT+3~, PRINT+7*, PRINT+11
    IEN START+2~, START+6*, START+7, START+9, LIST+5*, LIST+8*, LIST+9, EXIT+1!
    MHTC START+4*, START+25, SAVE+2*, SAVE+5*, SAVE+6*, SAVE+7*, SAVE+8*, SAVE+9*, LIST+5*, LIST+13*
    LIST+17, EXIT+1!
    NP START+3~, SAVE+2*, SAVE+3*, SAVE+5, PRINT+4, PRINT+7
    PAG PRINT+3~, PRINT+7*, PRINT+10
    PAIEN LIST+5*, LIST+9*, LIST+10, LIST+11, LIST+13, LIST+14, EXIT+1!
    PH PRINT+3~, PRINT+7*, PRINT+10
    PIEN LIST+5*, LIST+14*, LIST+17, EXIT+1!
    PNAM START+2~, START+15*, SAVE+6, PRINT+5, PRINT+9
    PRO START+2~, START+13*, START+14, START+15, SAVE+3
    ROLE LIST+5*, LIST+12*, LIST+17, EXIT+1!
    SAVE START+3~, START+4*, START+6, START+9, SAVE+2*, SAVE+10*
    SCNOW START+3~, START+19*, START+20, START+21, START+22
    TEAM START+2~, LIST+5*, LIST+16*, LIST+17, EXIT+1!
    TIEM START+2~, START+7*, START+8, SAVE+4
    TNAM START+3~, SAVE+2*, SAVE+4*, SAVE+9, PRINT+8
    TP START+3~, START+12*, SAVE+7, PRINT+6, PRINT+9, LIST+5*, LIST+15*, LIST+17, EXIT+1!
    TPIEN START+9*, START+10, START+16, START+17, LIST+5*, LIST+11*, LIST+12, LIST+15, LIST+16, EXIT+1!
    TPR START+3~, START+11*, START+12, SAVE+8
    TPRIEN START+3~, START+10*, START+11, START+12, START+13
    TPUR START+2~
    UDATE START+3~, START+17*, START+21, START+22
    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  | All