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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SDCIAL

Package: Scheduling

Routine: SDCIAL


Information

SDCIAL ;ALB/TMP - INPATIENT APPOINTMENT LIST ;16 JAN 86

Source Information

Source file <SDCIAL.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Scheduling 5 $$SDAPI^SDAMA301  $$SDAPIERR^SDAMUTDT  ASK^SDDIV  SDIAL^SDKILL  (AT,DATE,DIV,DT,DTS,OUT)^SDUTL  
Kernel 1 $$UP^XLFSTR  
Registration 1 (CLOSE,ZIS)^DGUTQ  
VA FileMan 1 ^DIC  

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 SDAPP INPT  

Entry Points

Name Comments DBIA/ICR reference
RD
RD1
START
PT ;build patient list
DFN ;retrieve appt data for list of patients
WRT
APPT
WRTC
HD
END

External References

Name Field # of Occurrence
CLOSE^DGUTQ END+5
ZIS^DGUTQ RD1+2
^DIC RD+4
$$SDAPI^SDAMA301 DFN+4
$$SDAPIERR^SDAMUTDT WRT
ASK^SDDIV SDCIAL+2
SDIAL^SDKILL END+5
AT^SDUTL WRTC+1
DATE^SDUTL RD1
DIV^SDUTL SDCIAL+2
DT^SDUTL START
DTS^SDUTL APPTHD+1
OUT^SDUTL HD
$$UP^XLFSTR RD+1

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Formatting: !
  • Prompt: "FOR WARD (TYPE 'ALL' FOR ALL WARDS): "
  • Variable: X
  • Timeout: DTIME
  • Line Location: RD+0
Function Call: WRITE
  • Prompt: !,"ENTER A WARD NAME OR ALL FOR ALL WARDS"
  • Line Location: RD+0
Function Call: WRITE
  • Prompt: *7,!,"Start date must be in the future"
  • Line Location: RD1+0
Function Call: WRITE
  • Prompt: @IOF,?29,"INPATIENT APPOINTMENT LIST",!
  • Line Location: WRT+0
Function Call: WRITE
  • Prompt: !!,$$SDAPIERR^SDAMUTDT()
  • Line Location: WRT+0
Function Call: WRITE
  • Prompt: @IOF,?29,"INPATIENT APPOINTMENT LIST",!
  • Line Location: WRT+1
Function Call: WRITE
  • Prompt: !!,"NO MATCHES FOUND!"
  • Line Location: WRT+1
Function Call: WRITE
  • Prompt: !!
  • Condition for execution: SD2
  • Line Location: APPT+0
Function Call: WRITE
  • Prompt: !,Y
  • Line Location: APPT+0
Function Call: WRITE
  • Prompt: !,?2,$P(I3,"~",1),?34,$P(^DPT($P(I3,"~",2),0),"^",9)
  • Line Location: APPT+2
Function Call: WRITE
  • Prompt: !,?2,$P(I3,"~",1),?34,$P(^DPT($P(I3,"~",2),0),"^",9)," (CONTINUED)"
  • Line Location: WRTC+0
Function Call: WRITE
  • Prompt: !,?5,$P(^SC(+SDY,0),"^",1)
  • Line Location: WRTC+1
Function Call: WRITE
  • Prompt: ?37,$J(Y,8)
  • Line Location: WRTC+1
Function Call: WRITE
  • Prompt: ?37,$J(Y,8)
  • Line Location: WRTC+1
Function Call: WRITE
  • Prompt: !,?15,$P(^(I4),"^",6)
  • Line Location: WRTC+3
Function Call: WRITE
  • Prompt: !,@IOF,!,?29,"INPATIENT APPOINTMENT LIST",?69,"PAGE: ",SDPG,!
  • Line Location: HD+1
Function Call: WRITE
  • Prompt: ?SDOS,"WARD: ",I
  • Line Location: HD+1
Function Call: WRITE
  • Prompt: ?SDOS,"WARD: ",I
  • Line Location: HD+1
Function Call: WRITE
  • Prompt: !!,"APPOINTMENT DATE",!,?2,"PATIENT NAME",?34,"SSN",!,?38,"APPOINT",?52,"LAB",?62,"XRAY",?72,"EKG",!,?5,"CLINIC",?38,"TIME"
  • Line Location: HD+2
Function Call: WRITE
  • Prompt: ?A,"TIME"
  • Line Location: HD+2
Function Call: WRITE
  • Prompt: !,?15,"OTHER INFORMATION",!
  • Line Location: HD+3
Function Call: WRITE
  • Prompt: "-"
  • Line Location: HD+3
Routine Call
  • DIC
  • Line Location:
    • RD+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(42 - [#42] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(42 - [#42] START+3
^DPT - [#2] PT+1, DFN+9, DFN+18, APPT+2, WRTC
^DPT("ACN" START+4, PT+1
^SC - [#44] DFN+13, WRTC+1
^TMP($J START!, DFN+6, DFN+7, DFN+10*, DFN+13!, DFN+15, DFN+16, DFN+17, DFN+19, DFN+20
DFN+21, DFN+22, END+1!
^UTILITY($J START!, DFN+24*, WRT+1, WRT+2, APPT+2, WRTCWRTC+3

Label References

Name Line Occurrences
APPT WRT+2
DFN START+3, START+5
END RD1RD1+2, WRTWRT+1, WRT+3
HD WRT+2, APPTAPPT+2, WRTC
PT START+3, START+4
RD RD+4
RD1 RD+2, RD1
WRT START+3, START+5
WRTC APPT+2

Naked Globals

Name Field # of Occurrence
^( WRTC+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT END+2!
A WRTC+1*, HD+2*, HD+3*, END+2!
ALL END+2!
BEGDATE RD1RD1+1, DFN+3, END+2!
DFN END+2!
DIC RD+3*, END+2!
DIC("A" SDCIAL+2*
DIC(0 RD+3*
DIV SDCIAL+2*, RD1+1, DFN+11, DFN+13, END+2!
DT RD1STARTHD+1
DTIME RD
ENDDATE RD1+1, DFN+3, END+2!
I START+3*, START+4*, PT+1, WRT+1*, WRT+2*, APPT+2, WRTCWRTC+3, HD+1, END+2!
I1 END+2!
I2 PT+1*, WRT+2*, APPTAPPT+2, WRTCWRTC+3, END+2!
I3 APPT+2*, WRTCWRTC+3, END+2!
I4 APPT+2*, WRTCWRTC+1, WRTC+3, END+2!
II END+3!
IO START
IOF WRTWRT+1, HD+1, END*
IOSL START+2, WRT+2, APPTAPPT+2, WRTC
IOST START+2
PGM RD1+1*, END+3!
POP RD1RD1+2, END+2!
SD1 START+2*, HDHD+1*, END+3!
SD2 APPT*, WRTC+1*, HD+4*, END+4!
SDAPPT DFN+2~, DFN+17*, DFN+19, DFN+20, DFN+21, DFN+22, DFN+24
SDARRAY DFN+2~, DFN+4
SDARRAY("FLDS" DFN+3*
SDARRAY(1 DFN+3*
SDARRAY(3 DFN+3*
SDARRAY(4 DFN+3*
SDB WRTC+1*, END+3!
SDCL DFN+2~, DFN+7*, DFN+10, DFN+13*, DFN+15*, DFN+16, DFN+17, DFN+19, DFN+20, DFN+21
DFN+22, DFN+24
SDCOUNT START+1~*, DFN+4*, WRT
SDDFN DFN+2~, DFN+6*, DFN+7, DFN+9, DFN+10, DFN+16*, DFN+17, DFN+18, DFN+19, DFN+20
DFN+21, DFN+22, DFN+24
SDEKG DFN+2~, DFN+21*, DFN+24
SDEND START+2*, WRT+2, APPTAPPT+2, WRTCHDEND+3!
SDLAB DFN+2~, DFN+19*, DFN+24
SDLIST START+1~, DFN+1
SDLIST( PT+1*
SDOS HD+1*, END+3!
SDOTHER DFN+2~, DFN+22*, DFN+24
SDPG WRT+2*, HD+1*, END+3!
SDPNDFN DFN+2~, DFN+9*, DFN+10, END+3!
SDSC END+3!
SDT1 END+2!
SDTT SDCIAL+2*, START+2*, HDENDEND+3!
SDW RD+2*, RD+4*, RD1+1, START+3, END+3!
SDWARD DFN+2~, DFN+18*, DFN+24
SDXRAY DFN+2~, DFN+20*, DFN+24
SDXX END+3!
SDY WRTC*, WRTC+1, END+3!
VAL RD1+1*, END+4!
VAR RD1+1*, END+4!
X RD*, RD+1*, RD+2, RD+4, END+3!
Y SDCIAL+2, RD+4, APPT*, WRTC+1*, HD+1*, END+3!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All