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 |  Marked Items  | All
Print Page as PDF
Routine: SCRPO

Package: Scheduling

Routine: SCRPO


Information

SCRPO ;BP-CIOFO/KEITH - Report prompting utilities ; 20 Aug 99 7:46 AM

Source Information

Source file <SCRPO.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 3 ^%DT  ^DIC  ^DIR  
Kernel 1 $$S^%ZTLOAD  
Scheduling 1 ($$XY,SUBT)^SCRPW50  

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

Package Total Caller Graph
Scheduling 9 SCMCMHHP  SCMCMHHT  SCMCTSK3  SCMCTSK8  SCRPO1  SCRPO2  SCRPO3  SCRPO5  
SCRPO6  

Entry Points

Name Comments DBIA/ICR reference
DTR(SC,SCDTB,SCDTE) ;Date range prompts
EDT
ATYPE(SC) ;Prompt for assignment types
DSUM(SC) ;Prompt for detail or summary
LIST(SC,WHAT,SUBH,LIMIT) ;Get list of entries from a file
DIV
TEAM
ROLE
POS
PCP
ASPR
APR
CLINIC
SORT(SC,SCEL,SCSP) ;Prompt for optional sort elements
QSORT(DIRA) ;Prompt for sort
DIR0() ;Return value for DIR(0)
DV ;;IN:INSTITUTION^SCDIV
IN ;;IN:INSTITUTION^SCDIV
TM ;;TM:TEAM^SCTEAM
RO ;;RO:ROLE^SCROLE
TP ;;TP:TEAM POSITION^SCPOS
PR ;;PR:PROVIDER^SCPROV
EC ;;EC:ENROLLED CLINIC^SCLINIC
AC ;;AC:ASSOCIATED CLINIC^SCLINIC
PA ;;PA:PATIENT^SCPAT
PT ;;PT:PATIENT^SCPAT
XR(SC,SUB,VAL) ;Create x-ref for printing parameters
PPAR(SC,OK,SCT) ;Print report parameters
WAIT
HDR(SCT,SCIOM) ;Print report header
STOP ;Check for stop task request
ELIG(DFN) ;Get Primary Eligibility

External References

Name Field # of Occurrence
^%DT DTR+10, EDT+3
$$S^%ZTLOAD STOP+1
^DIC LIST+27
^DIR ATYPE+7, DSUM+7, QSORT+4, PPAR+37, WAIT, HDR+6
$$XY^SCRPW50 HDR+8, HDR+9
SUBT^SCRPW50 LIST+23

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: DTR+7
Function Call: WRITE
  • Prompt: !
  • Line Location: EDT+0
Function Call: WRITE
  • Prompt: !!,$C(7),"End date cannot be before begin date!",!
  • Line Location: EDT+4
Function Call: WRITE
  • Prompt: !
  • Line Location: ATYPE+7
Function Call: WRITE
  • Prompt: !
  • Line Location: DSUM+7
Function Call: WRITE
  • Prompt: " (ALL)"
  • Line Location: LIST+28
Function Call: WRITE
  • Prompt: !
  • Line Location: PPAR+13
Function Call: WRITE
  • Prompt: !?(COL),$J(SCLAB,24),": "
  • Line Location: PPAR+14
Function Call: WRITE
  • Prompt: @SC@("DTR","PBDT")," to ",@SC@("DTR","PEDT")
  • Line Location: PPAR+15
Function Call: WRITE
  • Prompt: "ALL"
  • Line Location: PPAR+16
Function Call: WRITE
  • Prompt: $P(@SC@(SCX),U,2)
  • Line Location: PPAR+17
Function Call: WRITE
  • Prompt: !
  • Line Location: PPAR+22
Function Call: WRITE
  • Prompt: !
  • Line Location: PPAR+31
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: WAIT+0
Function Call: WRITE
  • Prompt: $$XY^SCRPW50(IOF,1,0)
  • Line Location: HDR+8
Function Call: WRITE
  • Prompt: $$XY^SCRPW50("",0,0)
  • Line Location: HDR+9
Function Call: WRITE
  • Prompt: SCLINE
  • Line Location: HDR+10
Function Call: WRITE
  • Prompt: !,SCLINE,!,"Date printed: ",SCPNOW,?(SCIOM-6-$L(SCPAGE)),"Page: ",SCPAGE
  • Line Location: HDR+14
Function Call: WRITE
  • Prompt: !,SCLINE
  • Line Location: HDR+15
Routine Call
  • DIC
  • Line Location:
    • LIST+27
Routine Call
  • DIR
  • Line Location:
    • ATYPE+7
    • DSUM+7
    • QSORT+4
    • PPAR+37
    • WAIT
    • HDR+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] Classic Fileman Calls
^DIC(4 - [#4] Classic Fileman Calls
^SD(403.46 - [#403.46] Classic Fileman Calls
^SCTM(404.51 - [#404.51] Classic Fileman Calls
^SCTM(404.57 - [#404.57] Classic Fileman Calls
^SC - [#44] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" DTR+11, EDT+5
^DIC(8 - [#8] ELIG+4
^DIC(8.1 - [#8.1] ELIG+6
^DPT - [#2] ELIG+3

Label References

Name Line Occurrences
$$DIR0 QSORT+3
@( LIST+22
EDT EDT+4
HDR PPAR+12, PPAR+21, PPAR+30
QSORT SORT+26, QSORT+7
STOP HDR+7
WAIT PPAR+11, PPAR+20, PPAR+29
XR EDT+7, ATYPE+9, DSUM+9, LIST+33, SORT+30

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT DTR+7~*, DTR+8*, DTR+9, EDT!*, EDT+1*, EDT+2
%DT("A" DTR+9*, EDT+2*
COL PPAR+6~, PPAR+7*, PPAR+14, PPAR+23, PPAR+32
DFN ELIG~, ELIG+3
DIC LIST+18~, DIV*, TEAM*, ROLE*, POS*, PCP*, ASPR*, APR*, CLINIC*
DIC("A" LIST+24*, LIST+31*
DIC("S" LIST+25*, CLINIC*
DIC(0 LIST+22*
DIR ATYPE+4~, DSUM+4~, DSUM+5!, SORT+17~, PPAR+36~, WAIT~, HDR+6~
DIR("A" ATYPE+6*, DSUM+6*, QSORT+2*, PPAR+36*
DIR("B" ATYPE+6*, DSUM+6*, PPAR+36*
DIR(0 ATYPE+5*, DSUM+5*, QSORT+3*, PPAR+36*, WAIT*, HDR+6*
DIRA QSORT~, QSORT+2
DTOUT ATYPE+4~, ATYPE+7, DSUM+4~, DSUM+7, LIST+18~, LIST+27, QSORT+1~, QSORT+4, PPAR+6~, PPAR+37
DUOUT ATYPE+4~, ATYPE+7, DSUM+4~, DSUM+7, LIST+18~, LIST+27, QSORT+1~, QSORT+4, PPAR+6~, PPAR+37
IOF WAIT, HDR+8
IOM HDR+5
IOSL PPAR+12, PPAR+21, PPAR+30
IOST PPAR+7, PPAR+11, PPAR+12, PPAR+20, PPAR+21, PPAR+29, PPAR+30, HDR+6, HDR+8
LIMIT LIST~, LIST+19*, LIST+26
OK PPAR~, PPAR+36
PRIM ELIG+2~, ELIG+3*, ELIG+4*, ELIG+6*, ELIG+7, ELIG+9*, ELIG+10*, ELIG+11*, ELIG+12*, ELIG+13*
, ELIG+14*, ELIG+15*, ELIG+16
PRIM1 ELIG+2~, ELIG+7*, ELIG+16
SC DTR~, DTR+11, EDT+3!, EDT+4, EDT+5, EDT+6, EDT+7, ATYPE~, ATYPE+8, ATYPE+9
, DSUM~, DSUM+8, DSUM+9, LIST~, LIST+28, LIST+30, LIST+33, SORT~, SORT+28, SORT+30
, QSORT+6, XR~, XR+5, PPAR~, PPAR+9, PPAR+10, PPAR+15, PPAR+16, PPAR+17, PPAR+19
, PPAR+23, PPAR+28
SCA LIST+18~, LIST+23, LIST+24, LIST+33, DIV*, TEAM*, ROLE*, POS*, PCP*, ASPR*
, APR*, CLINIC*
SCB LIST+18~, LIST+24*, LIST+31
SCDTB DTR~, DTR+7
SCDTE DTR~, EDT
SCEL SORT~, SORT+18, SORT+20, SORT+21
SCF PPAR+6~, PPAR+18*, PPAR+20, PPAR+21, PPAR+22, PPAR+23, PPAR+24*, PPAR+27*, PPAR+31, PPAR+32
, PPAR+33*
>> SCFF HDR+6, HDR+8, HDR+15*
SCI LIST+18~, LIST+20*, LIST+26*, LIST+28, SORT+17~, SORT+20*, SORT+21, SORT+23, SORT+26*, SORT+28*
, QSORT+6*, DIR0+1~, DIR0+2*, DIR0+3*, PPAR+6~, PPAR+8*, PPAR+9*, PPAR+10, HDR+4~, HDR+11*
, HDR+12
SCIOM HDR~, HDR+5*, HDR+12, HDR+14
SCL PPAR+6~, PPAR+8*, PPAR+11*, PPAR+13*, PPAR+14*, PPAR+20*, PPAR+22*, PPAR+29*, PPAR+31*
SCLAB PPAR+6~, PPAR+8*, PPAR+10*, PPAR+14
>> SCLINE HDR+10, HDR+14, HDR+15
SCOUT LIST+18~, LIST+19*, LIST+26, LIST+28*, LIST+29*, PPAR+6~, PPAR+8*, PPAR+9, PPAR+11, PPAR+12
, PPAR+19, PPAR+20, PPAR+21, PPAR+28, PPAR+29, PPAR+30, WAIT*, HDR+6*, HDR+7, STOP+1*
>> SCPAGE HDR+14, HDR+15*
>> SCPNOW HDR+14
SCQUIT LIST+18~, LIST+19*, LIST+26, LIST+27*, LIST+33, SORT+17~, SORT+19*, SORT+30, QSORT+4*
SCS LIST+18~, LIST+25, DIV*
SCSP SORT~, SORT+27
SCT PPAR~, PPAR+12, PPAR+21, PPAR+30, HDR~
SCT( HDR+11, HDR+12
SCVAL PPAR+6~, PPAR+18*, PPAR+19*, PPAR+23, PPAR+27*, PPAR+28*, PPAR+32
SCW LIST+18~
SCW( LIST+20*, LIST+21
SCX SORT+17~, SORT+21*, SORT+22*, SORT+23, DIR0+2*, DIR0+3*, DIR0+4*, DIR0+5, PPAR+6~, PPAR+10*
, PPAR+13, PPAR+15, PPAR+16, PPAR+17, PPAR+18, PPAR+19, PPAR+23, PPAR+28, PPAR+32, PPAR+36*
, PPAR+37*, PPAR+38*, PPAR+40
SCX( SORT+23*, QSORT+7!, DIR0+3
SCX("" SORT+25
SCY SORT+17~
SCY( SORT+21*, SORT+27, QSORT+7!
SCZ SORT+17~, SORT+21*, SORT+22, SORT+28*
SCZ( SORT+22*, QSORT+6
SUB XR~, XR+5
SUBH LIST~, LIST+23
U ATYPE+8, DSUM+8, LIST+30, SORT+22, SORT+28, QSORT+6, PPAR+17, PPAR+23, ELIG+3, ELIG+4
, ELIG+6, ELIG+16
VAL XR~, XR+5
WHAT LIST~, LIST+19, LIST+21, LIST+22, LIST+28, LIST+30, LIST+33
X LIST+18~, LIST+28, LIST+29, QSORT+5
Y DTR+10, DTR+11, EDT+3, EDT+4, EDT+5, ATYPE+8, DSUM+8, LIST+18~, LIST+30, QSORT+6
, QSORT+7, PPAR+38, WAIT, HDR+6
Y(0 ATYPE+8, DSUM+8, QSORT+6, QSORT+7
>> ZTQUEUED STOP+1
>> ZTSTOP STOP+1*

Marked Items

Name Field # of Occurrence
$T(@SCSP SORT+28
$T(@SCX SORT+21
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 |  Marked Items  | All