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

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

    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
    Info |  Source |  Entry Points |  Interaction Calls