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 Total: 10

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  
IHS Changes To ADT 1 EN^BDGSD  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Scheduling 3 SD IHS WARD  SDOUTPUT  SDWARD  

Entry Points

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

External References

Name Field # of Occurrence
^%DT SDWARD+4
EN^BDGSD SDWARD+9
CLOSE^DGUTQ END+2
ZIS^DGUTQ SDWARD+5
D^DIQ START, PRT+2
$$SDAPI^SDAMA301 CHECK+2
$$SDAPIERR^SDAMUTDT START+4
SDWARD^SDKILL END+2
TM^SDROUT0 PRT+2
DT^SDUTL SDWARD+4
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+5, START+4, START+5, START+8
HED START+6, PRT, PN
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+4*!, END!
%DT("A" SDWARD+4*
%DT(0 SDWARD+4*
>> BDGDT SDWARD+9*
DFN START+2*, START+7*, PN+1, END!
DT SDWARD+4, START, CHECK+1
HY START*, HED, END!
I HED+1*, END!
IO START
IOF HED, END
IOSL PRT, PN
IOST SDWARD+9
PGM SDWARD+5*, END!
POP SDWARD+5, 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+4*, SDWARD+5, SDWARD+9, START, START+2, END!
U CHECK+5
VA END!
VA("BID" PN+1!
VA("PID" PN+1!
VAL SDWARD+5*, END!
VAR SDWARD+5*, END!
X PRT+2*, END!
Y SDWARD+4, 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