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 ; 1 Jul 1998

Source Information

Source file <SCMCQK.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Scheduling 7 (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  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SDWLIFT6  

Entry Points

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

    External References

    Name Field # of Occurrence
    ^DIC PATIENT+6
    YN^DICN PAT+12, PAT+14
    ^DIR BREAK+3, TEAM+3, BOTH+3
    ASTM^SCMCQK1 NONE+2
    ASTP^SCMCQK1 TEAM+6
    UNTM^SCMCQK1 TEAM+7, BOTH+6
    UNTP^SCMCQK1 BOTH+5
    DSPL^SCMCQK2 PAT+6
    NPC^SCMCQK2 PAT+15
    $$YSPTTMPC^SCMCTMU2 PAT+17
    $$YSPTTPPC^SCMCTPU2 PAT+18
    $$IU^SCMCTSK1 PAT+8
    FILEIN^SCMCTSK3 PAT+13
    PCMM^SCRPU4 PAT+5

    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+3
    Function Call: WRITE
    • Prompt: !,"Do you want to make a primary care assignment/unassignment"
    • Line Location: PAT+14
    Function Call: WRITE
    • Prompt: !,$P(SCTMSTAT,U,2)
    • Line Location: PAT+22
    Function Call: WRITE
    • Prompt: !,$P(SCTPSTAT,U,2)
    • Line Location: PAT+23
    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:
      • BREAK+3
      • TEAM+3
      • BOTH+3

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^XUSEC("SC PCMM SETUP" PAT+9

    Label References

    Name Line Occurrences
    $$PATIENT EN+15
    @( PAT+26
    BREAK PAT+27
    PAT EN+15

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> % PAT+12*, PAT+13, PAT+14*, PAT+15
    DATA PAT+7~, PAT+8*, PAT+9, PAT+10, PAT+11, PAT+13
    DFN EN+14~, EN+15*, PAT+1, PAT+5, PAT+8, PAT+17, PAT+18
    DIC PATIENT+2~, PATIENT+4*
    DIC(0 PATIENT+5*
    DIR BREAK+1~, TEAM+1~, BOTH+1~
    DIR("A" BREAK+2*
    DIR(0 BREAK+2*, TEAM+2*, BOTH+2*
    DT PAT+5, PAT+17, PAT+18
    >> DTOUT PATIENT+7
    >> DUOUT PATIENT+7
    DUZ PAT+9
    SCASSDT NONE+1~, TEAM+1~
    SCDISCH TEAM+1~, BOTH+1~
    SCSELECT TEAM+1~, TEAM+5*
    SCSTAT PAT+2~, PAT+20*, PAT+21, PAT+22*, PAT+23*, PAT+26
    SCTM PAT+2~, PAT+24*
    SCTMSTAT PAT+2~, PAT+17*, PAT+20, PAT+22, PAT+24
    SCTP PAT+2~, PAT+25*
    SCTPSTAT PAT+2~, PAT+18*, PAT+20, PAT+23, PAT+25
    U PAT+22, PAT+23, PAT+24, PAT+25, TEAM+4, TEAM+5, TEAM+7, BOTH+4, BOTH+6
    X BREAK+1~, TEAM+1~, BOTH+1~, PATIENT+2~
    Y 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