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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SCMCQK

Package: Scheduling

Routine: SCMCQK


Information

SCMCQK ;ALB/REW - Single Pt Tm/Pt Tm Pos Assign and Discharge ; 5/17/12 1:39pm

Source Information

Source file <SCMCQK.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Scheduling 8 $$ACTHISTB^SCAPMCU2  (ASTM,ASTP,UNTM,UNTP)^SCMCQK1  (DSPL,NPC)^SCMCQK2  $$YSPTTMPC^SCMCTMU2  $$YSPTTPPC^SCMCTPU2  $$IU^SCMCTSK1  FILEIN^SCMCTSK3  PCMM^SCRPU4  
VA FileMan 3 ^DIC  YN^DICN  ^DIR  
Kernel 1 $$FMTE^XLFDT  

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

Package Total Caller Graph
PCE Patient Care Encounter 1 PXCE SC PC Assign/Unassign  
Scheduling 1 SDWLIFT6  

Entry Points

Name Comments DBIA/ICR reference
EN ; - main call
  • ICR #3310
    • Status: Active
    • Usage: Private
    PAT ;process patient
  • ICR #3310
    • Status: Active
    • Usage: Private
    BREAK ;
    NONE ;
    TEAM ;
    BOTH ;
    FUTURE ;
    ERROR ;
    PATIENT() ;Return Patient DFN or -1

    External References

    Name Field # of Occurrence
    ^DIC PATIENT+6
    YN^DICN PAT+27, PAT+29
    ^DIR PAT+11, BREAK+3, TEAM+3, BOTH+3
    $$ACTHISTB^SCAPMCU2 PAT+24
    ASTM^SCMCQK1 NONE+2
    ASTP^SCMCQK1 TEAM+6
    UNTM^SCMCQK1 TEAM+7, BOTH+6
    UNTP^SCMCQK1 BOTH+5
    DSPL^SCMCQK2 PAT+17
    NPC^SCMCQK2 PAT+30
    $$YSPTTMPC^SCMCTMU2 PAT+32
    $$YSPTTPPC^SCMCTPU2 PAT+33
    $$IU^SCMCTSK1 PAT+19
    FILEIN^SCMCTSK3 PAT+28
    PCMM^SCRPU4 PAT+16
    $$FMTE^XLFDT PAT+6

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"Primary Care Team/PC Assignment/Unassignment",!
    • Line Location: EN+1
    Function Call: WRITE
    • Prompt: !,?6,"Prior to using this option, PCMM's Graphical User Interface (GUI)"
    • Line Location: EN+2
    Function Call: WRITE
    • Prompt: !,?6,"must be used to:"
    • Line Location: EN+3
    Function Call: WRITE
    • Prompt: !,?10,"1) Setup active primary care and non-primary care team(s)"
    • Line Location: EN+4
    Function Call: WRITE
    • Prompt: !,?10,"2) Setup active PC and non-primary care Practitioner position(s)"
    • Line Location: EN+5
    Function Call: WRITE
    • Prompt: !,?10,"3) Setup any necessary preceptor/preceptee relationships"
    • Line Location: EN+6
    Function Call: WRITE
    • Prompt: !,?10,"4) Assign practitioner to position(s)"
    • Line Location: EN+7
    Function Call: WRITE
    • Prompt: !!?6,"A patient can only have one PC team and one"
    • Line Location: EN+8
    Function Call: WRITE
    • Prompt: !?6,"PC Position assignment on a given day. The patient must be"
    • Line Location: EN+9
    Function Call: WRITE
    • Prompt: !?6,"assigned to a position's team to be assigned to the position."
    • Line Location: EN+10
    Function Call: WRITE
    • Prompt: !!?6,"Note: You must use the PCMM GUI if the patient was:"
    • Line Location: EN+11
    Function Call: WRITE
    • Prompt: !?10,"o unassigned from PC assignment today or in the future"
    • Line Location: EN+12
    Function Call: WRITE
    • Prompt: !?10,"o assigned to a future PC assignment."
    • Line Location: EN+13
    Function Call: WRITE
    • Prompt: !,"Checking PC Team and Position Status...",!
    • Line Location: PAT+14
    Function Call: WRITE
    • Prompt: !,"Do you want to make a primary care assignment/unassignment"
    • Line Location: PAT+29
    Function Call: WRITE
    • Prompt: !,$P(SCTMSTAT,U,2)
    • Line Location: PAT+37
    Function Call: WRITE
    • Prompt: !,$P(SCTPSTAT,U,2)
    • Line Location: PAT+38
    Function Call: WRITE
    • Prompt: !,"This patient has future assignments for Primary Care"
    • Line Location: FUTURE+1
    Function Call: WRITE
    • Prompt: !,"Team and/or Practitioner"
    • Line Location: FUTURE+2
    Function Call: WRITE
    • Prompt: !!!,"You must use PCMM's Graphical User Interface to change"
    • Line Location: FUTURE+3
    Function Call: WRITE
    • Prompt: !,"This patient has NO active Primary Care Team, but does have"
    • Line Location: ERROR+1
    Function Call: WRITE
    • Prompt: !,"an active PC Position Assignment"
    • Line Location: ERROR+2
    Function Call: WRITE
    • Prompt: !!!,"You must use PCMM's Graphical User Interface to correct"
    • Line Location: ERROR+3
    Function Call: WRITE
    • Prompt: !!!
    • Line Location: PATIENT+3
    Routine Call
    • DIC
    • Line Location:
      • PATIENT+6
    Routine Call
    • DIR
    • Line Location:
      • PAT+11
      • BREAK+3
      • TEAM+3
      • BOTH+3

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DPT - [#2] PAT+4, PAT+5, PAT+22
    ^XUSEC("SC PCMM SETUP" PAT+20

    Label References

    Name Line Occurrences
    $$PATIENT EN+15
    @( PAT+41
    BREAK PAT+42
    PAT EN+15

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> % PAT+27*, PAT+28, PAT+29*, PAT+30
    DATA PAT+18~, PAT+19*, PAT+20, PAT+24, PAT+25, PAT+26, PAT+28
    DFN EN+14~, EN+15*, PAT+1, PAT+4, PAT+5, PAT+16, PAT+19, PAT+22, PAT+32, PAT+33
    DIC PATIENT+2~, PATIENT+4*
    DIC(0 PATIENT+5*
    DIR PAT+11!, BREAK+1~, TEAM+1~, BOTH+1~
    DIR("?" PAT+10*
    DIR("A" BREAK+2*
    DIR("B" PAT+9*
    DIR(0 PAT+8*, BREAK+2*, TEAM+2*, BOTH+2*
    DIRUT PAT+12!
    DT PAT+16, PAT+32, PAT+33
    DTOUT PAT+12!, PATIENT+7
    DUOUT PAT+12!, PATIENT+7
    DUZ PAT+20
    SCASSDT NONE+1~, TEAM+1~
    SCDISCH TEAM+1~, BOTH+1~
    SCSELECT TEAM+1~, TEAM+5*
    SCSTAT PAT+2~, PAT+35*, PAT+36, PAT+37*, PAT+38*, PAT+41
    SCTM PAT+2~, PAT+39*
    SCTMSTAT PAT+2~, PAT+32*, PAT+35, PAT+37, PAT+39
    SCTP PAT+2~, PAT+40*
    SCTPSTAT PAT+2~, PAT+33*, PAT+35, PAT+38, PAT+40
    SDDOD PAT+2~, PAT+5*, PAT+6
    SDDODRES PAT+2~, PAT+6*, PAT+7
    SDUSRANS PAT+2~, PAT+4, PAT+11*
    U PAT+4, PAT+5, PAT+22, PAT+37, PAT+38, PAT+39, PAT+40, TEAM+4, TEAM+5, TEAM+7
    BOTH+4, BOTH+6
    X PAT+12!, BREAK+1~, TEAM+1~, BOTH+1~, PATIENT+2~
    Y PAT+11, PAT+12!, BREAK+1~, TEAM+1~, TEAM+4, TEAM+5, TEAM+7, BOTH+1~, BOTH+4, BOTH+6
    , PATIENT+2~, PATIENT+7
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All