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

Package: Scheduling

Routine: SCRPW61


Information

SCRPW61 ;BP-CIOFO/KEITH - Patient Appointment Statistics (cont.) ; 07 May 99 4:33 PM

Source Information

Source file <SCRPW61.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Scheduling 2 DHDR^SCRPW40  HDR^SCRPW60  
Kernel 1 $$S^%ZTLOAD  
Registration 1 $$PRIM^VASITE  

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

Package Total Caller Graph
Scheduling 1 SCRPW60  

Entry Points

Name Comments DBIA/ICR reference
CNT ;Count clinic statistics
ORD() ;Determine collating value for patient list
STOP ;Check for stop task request
AC ;Gather all clinics
A1
SC ;Gather selected clinics
RC ;Gather range of clinics
SS ;Gather clinics with selected Stop Codes
SS1
RS ;Gather clinics in range of Stop Codes
RC1
CG ;Gather clinics with selected clinic group
DIV() ;Check division
SET ;Set ^TMP global
SET1(SDIV)
FOOT ;Report footer
DPRT(SDIV) ;Print report for a division
PLINE(SDAPP) ;Print patient detail line
CLINE ;Print clinic sub-total line
DTOT ;Print division total
HD1 ;Print patient list sub-header
HD2 ;Print clinic list sub-header

External References

Name Field # of Occurrence
$$S^%ZTLOAD STOP+1
DHDR^SCRPW40 DPRT+1
HDR^SCRPW60 DPRT+2, DPRT+5, DPRT+19, PLINE+2, CLINE+1
$$PRIM^VASITE DIV+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: FOOT+2
Function Call: WRITE
  • Prompt: SDLINE,!?(SDCOL),"NOTE: This report reflects appointment workload that is not defined as cancelled"
  • Line Location: FOOT+3
Function Call: WRITE
  • Prompt: !?(SDCOL+6),"or no-showed, including walk-in (unscheduled) appointments. It does not"
  • Line Location: FOOT+4
Function Call: WRITE
  • Prompt: !?(SDCOL+6),"represent all outpatient activity. Report totals are tabulated separately",!?(SDCOL+6),"and will not necessarily be equal to the sum of the sub-total columns.",!,SDLINE
  • Line Location: FOOT+5
Function Call: WRITE
  • Prompt: !!?(132-$L(SDX)\2),SDX
  • Line Location: DPRT+2
Function Call: WRITE
  • Prompt: !?(SDCOL+8),SDPTNA,?(SDCOL+40),$E(SDSSN,1,3),"-",$E(SDSSN,4,5),"-",$E(SDSSN,6,10)
  • Line Location: PLINE+3
Function Call: WRITE
  • Prompt: ?(SDCOL+54),$P(Y,":",1,2)
  • Line Location: PLINE+3
Function Call: WRITE
  • Prompt: !?(SDCOL+5),SDCLN
  • Line Location: CLINE+2
Function Call: WRITE
  • Prompt: ?(SDCOL+27+(12*SDI)),$J($P(SDCTOT,U,SDI),12,0)
  • Line Location: CLINE+2
Function Call: WRITE
  • Prompt: !?(SDCOL+4),$E(SDTLINE,1,32)
  • Line Location: DTOT+1
Function Call: WRITE
  • Prompt: ?(SDCOL+30+(12*SDI)),$E(SDTLINE,1,10)
  • Line Location: DTOT+1
Function Call: WRITE
  • Prompt: !?(SDCOL+5),$S(SDIV:"DIVISION",1:"REPORT")," TOTAL:"
  • Line Location: DTOT+2
Function Call: WRITE
  • Prompt: ?(SDCOL+27+(12*SDI)),$J($P(SDTOT,U,SDI),12,0)
  • Line Location: DTOT+2
Function Call: WRITE
  • Prompt: !?(SDCOL+8),"Patient",?(SDCOL+40),"SSN",?(SDCOL+54),"Appt. date/time"
  • Line Location: HD1+1
Function Call: WRITE
  • Prompt: !?(SDCOL+7),$E(SDLINE,1,31),?(SDCOL+40),$E(SDLINE,1,12),?(SDCOL+54),$E(SDLINE,1,18)
  • Line Location: HD1+2
Function Call: WRITE
  • Prompt: !?(SDCOL+5),"Clinic",?(SDCOL+45),"Appts.",?(SDCOL+57),"Visits",?(SDCOL+68),"Uniques"
  • Line Location: HD2+1
Function Call: WRITE
  • Prompt: !?(SDCOL+4),$E(SDLINE,1,32)
  • Line Location: HD2+2
Function Call: WRITE
  • Prompt: ?(SDCOL+30+(12*SDI)),$E(SDLINE,1,10)
  • Line Location: HD2+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" PLINE+3
^DIC(40.7 - [#40.7] SS1RC1
^DPT - [#2] ORD+2, SET+4, SET+5, PLINE+2
^SC - [#44] AC+1, SC+1, RC+1, RC+2, SS+1, RS+1, CG+1, SET+2, SET+3
^SC("ASCRPW" CG+1
^SC("B" RC+2
^TMP("SCRPW" CNT+1, CNT+2, CNT+3, CNT+4, CNT+5, CNT+6*, CNT+7*, CNT+8, CNT+9*, CNT+10
CNT+11*, CNT+12*, CNT+20, CNT+21, CNT+22*, CNT+23, CNT+24*, CNT+25, CNT+26*, SET1*
, SET1+1*, DPRT+2, DPRT+3, DPRT+4, DPRT+6, DPRT+7, DPRT+8, DPRT+10, DPRT+11, DPRT+20
, DPRT+21, CLINE+1, DTOT+1

Label References

Name Line Occurrences
$$DIV AC+1, SC+1, RC+1, RC+2, SS+1, RS+1, CG+1
$$ORD CNT+6
A1 AC+1, SC+1, RC+1, RC+2, SS+1, RS+1, CG+1
CLINE DPRT+22
DTOT DPRT+24
FOOT DPRT+24, CLINE+1
HD1 DPRT+5, PLINE+2
HD2 DPRT+19, CLINE+1
PLINE DPRT+9, DPRT+12
RC1 RS+1
SET AC+1, SC+1, RC+1, RC+2, SS1RC1CG+1
SET1 SET+6
SS1 SS+1
STOP CNT+2, AC+1, SC+1, RC+1, RC+2, SS+1, RS+1, CG+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DFN CNT+5*, CNT+6, CNT+8, CNT+10, CNT+11, CNT+21*, CNT+23, CNT+25, ORD+2, SET+4*
SET+5, SET1, SET1+1, DPRT+8*, DPRT+10, DPRT+11, PLINE+2
IOSL FOOT+2, PLINE+2, CLINE+1
>> SDAC AC+1*, A1*, SC+1*, RC+1*, RC+2*, SS+1*, RS+1*, CG+1*
SDAPP CNT+10*, CNT+11, CNT+25*, DPRT+11*, DPRT+12, PLINE~, PLINE+3
>> SDBCS RS+1*, RC1
>> SDBDAY SET+2
>> SDCG CG+1*
>> SDCL CNT+3*, CNT+4, CNT+5, CNT+6, CNT+7, CNT+8, CNT+9, CNT+10, CNT+11, CNT+12
AC+1*, SC+1*, RC+1*, RC+2*, SS+1*, RS+1*, CG+1*, SET+2, SET+3, SET1
, DPRT+4*, DPRT+6, DPRT+7, DPRT+8, DPRT+10, DPRT+11, DPRT+21*, CLINE+1
>> SDCL( SC+1, RC+1, SS1RS+1
>> SDCL("" RC+1, RS+1
>> SDCL(0 CG+1
>> SDCL0 AC+1*, A1SC+1*, RC+1*, RC+2*, SS+1*, SS1RS+1*, RC1CG+1*
, SET1
>> SDCLN CNT+2*, CNT+3, CNT+4, CNT+5, CNT+6, CNT+7, CNT+8, CNT+9, CNT+10, CNT+11
CNT+12, RC+1*, RC+2*, DPRT+3*, DPRT+4, DPRT+5, DPRT+6, DPRT+7, DPRT+8, DPRT+10
, DPRT+11, DPRT+20*, DPRT+21, CLINE+1, CLINE+2
>> SDCOL FOOT+3, FOOT+4, FOOT+5, PLINE+3, CLINE+2, DTOT+1, DTOT+2, HD1+1, HD1+2, HD2+1
HD2+2
>> SDCP0 SET+3*, SET+4
>> SDCSC SS1*, RC1*
>> SDCTOT CLINE+1*, CLINE+2
>> SDDAY CNT+8*, CNT+10, CNT+23*, CNT+25, SET+2*, SET+3, SET+5, SET1, SET1+1, DPRT+10*
, DPRT+11
>> SDDIV DIV+2
>> SDDIV( DIV+2
>> SDECL RC+1*, RC+2
>> SDECS RS+1*, RC1
>> SDEDAY SET+2
SDI SET+2*, SET+3, FOOT+1~, FOOT+2*, CLINE+2*, DTOT+1*, DTOT+2*, HD2+2*
SDIV CNT+1*, CNT+2, CNT+3, CNT+4, CNT+5, CNT+6, CNT+7, CNT+8, CNT+9, CNT+10
CNT+11, CNT+12, CNT+20, CNT+21, CNT+22, CNT+23, CNT+24, CNT+25, CNT+26, AC+1*
SC+1*, RC+1*, RC+2*, SS+1*, RS+1*, CG+1*, DIV+1*, DIV+2, SET+6, SET1~
, SET1+1, DPRT~, DPRT+2, DPRT+3, DPRT+4, DPRT+6, DPRT+7, DPRT+8, DPRT+10, DPRT+11
, DPRT+20, DPRT+21, CLINE+1, DTOT+1, DTOT+2
>> SDLINE FOOT+3, FOOT+5, HD1+2, HD2+2
>> SDMD SET+6
>> SDORD DPRT+6*, DPRT+7, DPRT+8, DPRT+9
>> SDOUT CNT+1, CNT+2, CNT+18, STOP+1*, AC+1, SC+1, RC+1, RC+2, SS+1, RS+1
CG+1, DPRT+3, DPRT+4, DPRT+5, DPRT+6, DPRT+7, DPRT+8, DPRT+10, DPRT+11, DPRT+19
, DPRT+20, DPRT+21, DPRT+24, PLINE+2, CLINE+1, HD1+1, HD2+1
SDPAS SET+1~, SET+5*
>> SDPL CNT+6, CNT+11, DPRT+3
>> SDPLO CNT+6, CNT+11, ORD+1, DPRT+9
>> SDPTNA CNT+4*, CNT+5, CNT+6, CNT+8, CNT+10, CNT+11, CNT+20*, CNT+21, CNT+23, CNT+25
, ORD+1, SET+4*, SET1, SET1+1, DPRT+7*, DPRT+8, DPRT+10, DPRT+11, PLINE+3
>> SDSSN ORD+2*, PLINE+2*, PLINE+3
>> SDT DPRT+1
SDT(5 DPRT+5*, DPRT+19!
>> SDTLINE DTOT+1
>> SDTOT DTOT+1*, DTOT+2
>> SDX DPRT+2*
U CNT+7, CNT+9, CNT+12, CNT+22, CNT+24, CNT+26, ORD+2, AC+1, A1SC+1
RC+1, RC+2, SS+1, SS1RS+1, RC1CG+1, SET+3, SET+4, SET+5
, SET1, PLINE+2, CLINE+2, DTOT+2
>> Y PLINE+3*
>> ZTQUEUED STOP+1
>> ZTSTOP STOP+1*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All