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

Package: Scheduling

Routine: SDWARD


Information

SDWARD ;ALB/GRR - LIST INPATIENTS WITH PENDING APPTS ; 14 NOV 84

Source Information

Source file <SDWARD.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 5 $$SDAPI^SDAMA301  $$SDAPIERR^SDAMUTDT  SDWARD^SDKILL  TM^SDROUT0  DT^SDUTL  
Registration 2 (CLOSE,ZIS)^DGUTQ  PID^VADPT6  
VA FileMan 2 ^%DT  D^DIQ  

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

Package Total Caller Graph
Scheduling 2 SDOUTPUT  SDWARD  

Entry Points

Name Comments DBIA/ICR reference
START
CHECK
PRT
PN
HED
END

External References

Name Field # of Occurrence
^%DT SDWARD+2
CLOSE^DGUTQ END+2
ZIS^DGUTQ SDWARD+3
D^DIQ STARTPRT+2
$$SDAPI^SDAMA301 CHECK+2
$$SDAPIERR^SDAMUTDT START+4
SDWARD^SDKILL END+2
TM^SDROUT0 PRT+2
DT^SDUTL SDWARD+2
PID^VADPT6 PN+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$$SDAPIERR^SDAMUTDT
  • Line Location: START+4
Function Call: WRITE
  • Prompt: !,"NO PATIENTS FOUND"
  • Line Location: START+5
Function Call: WRITE
  • Prompt: !,?3,$S($D(^SC(SC,0)):$P(^(0),"^",1),1:"DELETED CLINIC")
  • Line Location: PRT+1
Function Call: WRITE
  • Prompt: ?50,Y," "
  • Line Location: PRT+2
Function Call: WRITE
  • Prompt: ?61,$J(X,8)
  • Line Location: PRT+2
Function Call: WRITE
  • Prompt: !,$E($P(^DPT(DFN,0),"^",1),1,25),?29,VA("PID")
  • Line Location: PN+1
Function Call: WRITE
  • Prompt: ?43,$P(^(.1),"^",1)
  • Line Location: PN+1
Function Call: WRITE
  • Prompt: @IOF,!,"PATIENTS ADMITTED ",SDPY," WHO HAVE PENDING APPOINTMENTS",?66,HY,!,"PATIENT NAME",?32,"PT ID",?43,"WARD"
  • Line Location: HED+0
Function Call: WRITE
  • Prompt: !,?3,"CLINIC",?50,"APPNT DATE",?64,"TIME",!
  • Line Location: HED+1
Function Call: WRITE
  • Prompt: "-"
  • Line Location: HED+1
Function Call: WRITE
  • Prompt: !,@IOF
  • Line Location: END+0

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DGPM("AMV1" START+2
^DPT - [#2] PN+1
^SC - [#44] PRT+1
^TMP($J START!, CHECK+3, CHECK+4, END+1!
^UTILITY("SD" START!, START+5, START+7, CHECK+6*, END!

Label References

Name Line Occurrences
CHECK START+3
END SDWARD+3, START+4, START+5, START+8
HED START+6, PRTPN
PN START+7
PRT START+7

Naked Globals

Name Field # of Occurrence
^( CHECK+4, PN+1
^(0 PRT+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT SDWARD+2*!, END!
%DT("A" SDWARD+2*
%DT(0 SDWARD+2*
DFN START+2*, START+7*, PN+1, END!
DT SDWARD+2, STARTCHECK+1
HY START*, HED, END!
I HED+1*, END!
IO START
IOF HEDEND
IOSL PRTPN
PGM SDWARD+3*, END!
POP SDWARD+3, END!
SC START+7*, PRT+1, END!
SD START+7*, END!
SDARRAY CHECK~, CHECK+2
SDARRAY("FLDS" CHECK+1*
SDARRAY("SORT" CHECK+1*
SDARRAY(1 CHECK+1*
SDARRAY(3 CHECK+1*
SDARRAY(4 CHECK+1*
SDCLIN CHECK~, CHECK+5*, CHECK+6
SDCOUNT START+1~*, START+4, CHECK+2*
SDD START+7*, END!
SDDATA CHECK~, CHECK+4*, CHECK+5
SDDATE CHECK~, CHECK+4*, CHECK+6
SDDFN CHECK~, CHECK+3*, CHECK+4, CHECK+6
SDERR START+2, END!
SDI START+7*, PRT+2, END!
SDJ START+2*, END!
SDLIST START+1~, START+3
SDLIST( START+2*
SDNAME CHECK~, CHECK+5*, CHECK+6
SDPY START*, HED, END!
SDY SDWARD+2*, SDWARD+3, STARTSTART+2, END!
U CHECK+5
VA END!
VA("BID" PN+1!
VA("PID" PN+1!
VAL SDWARD+3*, END!
VAR SDWARD+3*, END!
X PRT+2*, END!
Y SDWARD+2, START*, PRT+2*, END!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All