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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: SDCWL1

Package: Scheduling

Routine: SDCWL1


Information

SDCWL1 ;ALB/MLI - CLINIC WORKLOAD REPORT PRINTOUT ; 27 APRIL 88

Source Information

Source file <SDCWL1.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
Kernel 1 $$FMTE^XLFDT  
Scheduling 1 LEG^SDCWL3  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SDCWL  

Entry Points

Name Comments DBIA/ICR reference
SORT
NM
HD1
I
PRADD
ISC ;S (SDAED,SDSCS,SDSCU,SDSCI,SDSCO,SDSCN,SDSCC)=0 Q
PRINT
ADD
PA
T
CLIN
SCT
ADD1
PN
AT

External References

Name Field # of Occurrence
LEG^SDCWL3 HD1
$$FMTE^XLFDT PN+4, PRINT+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: ?24,$E(M,1,17),?43,$E(N,1,3),"-",$E(N,4,5),"-",$E(N,6,9)
  • Line Location: PN+2
Function Call: WRITE
  • Prompt: ?12,$E(M,1,17),?31,N
  • Line Location: PN+4
Function Call: WRITE
  • Prompt: ?56,$S(Q["C":"CANCELLED",Q="NT":"ACTION REQ'D",Q["N":"NO-SHOW",Q["I":"INPATIENT",Q="OB":"OVERBOOK",Q="U":"UNSCHEDULED",Q="S":"SCHEDULED",1:" "),?69,"TIME: ",P
  • Line Location: PN+5
Function Call: WRITE
  • Prompt: ?24,Y,!
  • Line Location: PRINT+1
Function Call: WRITE
  • Prompt: ?30,$J(^TMP($J,1,J,R,"SD"),4),?36,$J(^("UN"),4),?42,$J(^("IN"),4),?48,$J(^("OB"),4),?55,"N/A",?60,$J(^("NS"),4),?66,$J(^("CA"),4),?76,$J(^("SD")+^("UN")+^("IN")+^("OB"),4)
  • Line Location: PRINT+2
Function Call: WRITE
  • Prompt: !
  • Condition for execution: SDNAM
  • Line Location: PRINT+2
Function Call: WRITE
  • Prompt: @IOF,!?29,"CLINIC WORKLOAD REPORT",?71,"PAGE: ",$J(SDPG,3),!?27,$S(SDF="D":"DETAILED BY DAY",1:"SUMMARY BY MONTH")," BY ",$S(SDS="C":"CLINIC",1:"STOP CODE"),!?21,"PERIOD COVERING: ",SDB1,"-",SDE1,!?25,"DATE RUN ON: ",SDNOW
  • Line Location: HD1+1
Function Call: WRITE
  • Prompt: !!?72,"TOTAL",!?29,"SCHED",?35,"UNSCH",?41,"INPAT",?47,"OVER-",?53,"ADD/",?59,"NO-",?65,"CANCEL",?72,"PATIENTS"
  • Line Location: HD1+2
Function Call: WRITE
  • Prompt: !,"CLINIC NAME",?14,"DATE",?29,"APPTS",?35,"APPTS",?41,"APPTS",?47,"BOOKS",?53,"EDITS",?59,"SHOWS",?65,"APPTS",?72,"SEEN",!!
  • Line Location: HD1+3
Function Call: WRITE
  • Prompt: "STOP CODE:",?14,I
  • Condition for execution: SDS="S"
  • Line Location: HD1+3
Function Call: WRITE
  • Prompt: !!?14,Y,!?14,"Clinic Total",?30,$J(SDSCH,4),?36,$J(SDUN,4),?42,$J(SDIN,4),?48,$J(SDOB,4),?55,"N/A",?60,$J(SDNS,4),?66,$J(SDCA,4)
  • Line Location: T+1
Function Call: WRITE
  • Prompt: ?76,$J(SDTOT,4)
  • Line Location: T+1
Function Call: WRITE
  • Prompt: !,"ADD/EDIT"
  • Line Location: ADD+0
Function Call: WRITE
  • Prompt: ?24,$E(L,1,17),?43,$E(M,1,3),"-",$E(M,4,5)
  • Line Location: PA+0
Function Call: WRITE
  • Prompt: "-",$E(M,6,9),?56,"ADD/EDIT",?69,"TIME: "
  • Line Location: PA+1
Function Call: WRITE
  • Prompt: $P(Y,"@",2)
  • Line Location: PA+1
Function Call: WRITE
  • Prompt: !?14,Y,!?14,"Add/Edit Total",?31,"N/A",?37,"N/A",?43,"N/A",?49,"N/A",?54,$J(SDAED,4),?61,"N/A",?67,"N/A",?76,$J(SDAED,4)
  • Line Location: AT+0
Function Call: WRITE
  • Prompt: ?24,Y,!
  • Line Location: PRADD+0
Function Call: WRITE
  • Prompt: ?31,"N/A",?37,"N/A",?43,"N/A",?49,"N/A",?54,$J(SDNUM,4),?61,"N/A",?67,"N/A",?76,$J(SDNUM,4)
  • Line Location: PRADD+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" PA+1
^TMP($J SDCWL1+10, SDCWL1+11, CLIN, SORT, NM, PRINT+2, PRINT+3, PRINT+4, T, SCT
, ADD, ADD1, PRADD, PRADD+1

Label References

Name Line Occurrences
ADD SDCWL1+10
ADD1 ADD
AT SDCWL1+10
CLIN SDCWL1+2
HD1 SDCWL1+11, CLIN, PN, PRINT, ADD, PRADD
I SDCWL1+11, CLIN
ISC SDCWL1+10
NM SORT
PA ADD1
PN NM
PRADD ADD
PRINT SORT
SCT SDCWL1+10
SORT SDCWL1+11, CLIN
T SDCWL1+10, CLIN

Naked Globals

Name Field # of Occurrence
^( SDCWL1+11, CLIN, T, SCT
^("CA" PRINT+2, PRINT+3, PRINT+4
^("IN" PRINT+2, PRINT+3, PRINT+4
^("NS" PRINT+2, PRINT+3, PRINT+4
^("OB" PRINT+2, PRINT+3
^("SD" PRINT+2, PRINT+4
^("UN" PRINT+2, PRINT+3, PRINT+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> I SDCWL1+6*, SDCWL1+10*, SDCWL1+11, SORT, HD1+3, ISC+1, SCT, SCT+1, ADD, ADD1
, PRADD, PRADD+1
>> I( ISC+1*
>> I(1 SDCWL1+10
>> I(2 SDCWL1+10
IOF HD1+1
IOSL PN, PRINT, PRADD
>> J SDCWL1+10*, CLIN*, SORT, NM, PRINT+2, PRINT+3, PRINT+4, T, ADD, ADD1
>> J1 SDCWL1+10*, CLIN*
>> K SDCWL1+10*, SORT, ADD*, ADD1, PA, PRADD, PRADD+1
>> K1 ADD*
>> L ADD1*, PA
>> L1 ADD1*
>> M NM*, PN+4, PRINT, ADD1*, PA, PA+1
>> M1 NM*, ADD1*
>> N NM*, PN+4, ADD1*, PA+1
>> N1 NM*
>> P NM*, PN+5, ADD1*
>> P1 NM*
>> Q NM*, PN+5
>> Q1 NM*
>> R SORT*, NM, PN+4, PRINT, PRINT+1, PRINT+2, PRINT+3, PRINT+4
>> SDADD SCT, SCT+1
>> SDAED ISC+1*, SCT, SCT+1, AT, PRADD+1*
>> SDB1 HD1+1
>> SDCA PRINT+3*, I*, T+1
>> SDE1 HD1+1
>> SDF PN+4, PRINT+1, HD1+1, PA, PRADD
>> SDHK ADD*, PA*
>> SDHR PN+4*
>> SDIN PRINT+3*, I*, T+1
>> SDNAM SORT, PRINT, PRINT+1, PRINT+2, ADD, PRADD
>> SDNOW HD1+1
>> SDNS PRINT+3*, I*, T+1
>> SDNUM PRADD+1*
>> SDOB PRINT+3*, I*, T+1
>> SDPG HD1*, HD1+1
>> SDS SDCWL1+2, SORT, PRINT+4, HD1+1, HD1+3
>> SDSCC PRINT+4*, ISC+1*, SCT+1
>> SDSCH PRINT+3*, I*, T+1
>> SDSCI PRINT+4*, ISC+1*, SCT, SCT+1
>> SDSCN PRINT+4*, ISC+1*, SCT+1
>> SDSCO PRINT+4*, ISC+1*, SCT, SCT+1
>> SDSCS PRINT+4*, ISC+1*, SCT, SCT+1
>> SDSCU PRINT+4*, ISC+1*, SCT, SCT+1
>> SDT I*
>> SDTOT T+1*, SCT*, SCT+1
>> SDUN PRINT+3*, I*, T+1
Y PRINT+1!*, T+1!*, SCT+1!*, PA+1*, AT!*, PRADD!*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All