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

Call Graph Total: 2

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

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 SDCWL  

Entry Points

Name Comments DBIA/ICR reference
CLIN
SORT
NM
PN
PRINT
HD1
I
ISC
T
SCT
ADD
ADD1
PA
AT
PRADD

External References

Name Field # of Occurrence
LEG^SDCWL3 HD1
$$FMTE^XLFDT PN+1, 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+1
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+2
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+3, CLINSORTNMPRINT+2, PRINT+3, PRINT+4, TSCTADD
ADD1PRADDPRADD+1

Label References

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

Naked Globals

Name Field # of Occurrence
^( SDCWL1+3, CLINTSCT
^("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+3*, SORTHD1+3, SCTSCT+1, ADDADD1PRADDPRADD+1
IOF HD1+1
IOSL PNPRINTPRADD
>> J SDCWL1+3*, CLIN*, SORTNMPRINT+2, PRINT+3, PRINT+4, TADDADD1
>> J1 SDCWL1+3*, CLIN*
>> K SDCWL1+3*, SORT, ADD*, ADD1PAPRADDPRADD+1
>> K1 ADD*
>> L ADD1*, PA
>> L1 ADD1*
>> M NM*, PN+1, PRINT, ADD1*, PAPA+1
>> M1 NM*, ADD1*
>> N NM*, PN+1, ADD1*, PA+1
>> N1 NM*
>> P NM*, PN+2, ADD1*
>> P1 NM*
>> Q NM*, PN+2
>> Q1 NM*
>> R SORT*, NMPN+1, PRINTPRINT+1, PRINT+2, PRINT+3, PRINT+4
>> SDADD SCTSCT+1
>> SDAED ISC*, SCTSCT+1, ATPRADD+1*
>> SDB1 HD1+1
>> SDCA PRINT+3*, I*, T+1
>> SDE1 HD1+1
>> SDF PN+1, PRINT+1, HD1+1, PAPRADD
>> SDHK ADD*, PA*
>> SDHR PN+1*
>> SDIN PRINT+3*, I*, T+1
>> SDNAM SORTPRINTPRINT+1, PRINT+2, ADDPRADD
>> 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, SORTPRINT+4, HD1+1, HD1+3
>> SDSCC PRINT+4*, ISC*, SCT+1
>> SDSCH PRINT+3*, I*, T+1
>> SDSCI PRINT+4*, ISC*, SCTSCT+1
>> SDSCN PRINT+4*, ISC*, SCT+1
>> SDSCO PRINT+4*, ISC*, SCTSCT+1
>> SDSCS PRINT+4*, ISC*, SCTSCT+1
>> SDSCU PRINT+4*, ISC*, SCTSCT+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