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

Package: Scheduling

Routine: SDCNP1A


Information

SDCNP1A ;ALB/LDB - CANCEL APPT. (continued) ; 5/26/05 10:59am

Source Information

Source file <SDCNP1A.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
VA Fileman 5 ^%DT  (,C)^%DTC  ^DIK  D^DIQ  ^DIR  
Scheduling 4 ^SDAUT1  ^SDAUT2  (,BADADD,REST,WRAPP)^SDLT  DT^SDUTL  
Registration 2 $$BADADR^DGUTL3  CLOSE^DGUTQ  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Scheduling 4 SDAMC  SDCNP0  SDCNP1  SDM2  

Entry Points

Name Comments DBIA/ICR reference
FLEN1
CKK
DT
SDIN
CHECK
B
E
F
SDDT
SDLET
Q
CKK2
CKK1
R
RBK
FLEN
LOOP1
OVR1
MAX
APP
PROT
NRBK
LOOP
SDNP

External References

Name Field # of Occurrence
^%DT SDDT
^%DTC SDDT
C^%DTC SDDT+2, DT
$$BADADR^DGUTL3 B
CLOSE^DGUTQ E+3
^DIK FLEN1+1
D^DIQ DT
^DIR E, E+2
^SDAUT1 RBK+1
^SDAUT2 RBK+1
^SDLT SDLET+7
BADADD^SDLT E
REST^SDLT R+1
WRAPP^SDLT R, APP
DT^SDUTL SDDT

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Exceeds maximum number of days for rebooking in ",S9
  • Line Location: MAX+0
Function Call: WRITE
  • Prompt: !,"NO REBOOKING ALLOWED FOR ",$P(^SC(SC,0),"^")
  • Line Location: NRBK+0
Function Call: WRITE
  • Prompt: !,*7,"Appt. in ",$P(^SC(+I,0),"^")," NOT CANCELLED ",!,"Access to this clinic is restricted to only privileged users!",*7
  • Line Location: PROT+0
Function Call: READ
  • Timeout: 'B0
  • Variable: Q
  • Line Location: SDLET+7
Function Call: WRITE
  • Prompt: !,$P(^SC(SC,0),"^")," Clinic is not assigned a letter",!!
  • Line Location: SDLET+8
Function Call: WRITE
  • Prompt: !!,"BAD ADDRESS INDICATOR FOR THIS PATIENT. NO LETTER WILL BE PRINTED."
  • Line Location: E+1
Function Call: WRITE
  • Prompt: !!,"NO LETTER CAN BE PRINTED FOR THIS PATIENT."
  • Line Location: E+2
Function Call: WRITE
  • Prompt: !,"There is no appointment number ",$S($L(SDDI)>5:SDDI,1:SDDM)
  • Line Location: CKK+0
Routine Call
  • DIR
  • Line Location:
    • E
    • E+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] SDLET+5, F
^DIR(0 E!
^DPT - [#2] FLEN+1, R, APP, B+1, CHECK
^SC - [#44] LOOP, SDDT+1, OVR1, SDIN, NRBK, PROT, FLEN+1, FLEN+2, FLEN+3, FLEN1
, SDLET+3, SDLET+8, F+1
^TMP($J E!, B+1*
^UTILITY($J LOOP, LOOP1, LOOP1+1!, SDLET+6*, SDLET+7, SDLET+8, Q!, F+2*, R, APP*
, CKK1, CKK2

Label References

Name Line Occurrences
APP SDLET+7
B SDLET+4
DT SDDT
F SDLET+6
FLEN1 FLEN+2
MAX SDDT+1
NRBK RBK+1
OVR1 RBK+1
Q SDLET+1
R SDLET+7
RBK LOOP
SDDT LOOP, SDDT, SDDT+1
SDIN RBK+1
SDNP RBK+1

Naked Globals

Name Field # of Occurrence
^( LOOP, LOOP1, R, APP, CHECK
^("I" SDIN
^("LTR" F, F+1
^("SDP" SDDT+1, OVR1
^("SDPROT" PROT
^("SL" OVR1
^(0 FLEN+3, APP, CHECK

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT SDDT*!
%DT("A" SDDT*
%DT(0 SDDT*
A RBK+1*, SDLET+6, SDLET+7*, E+3!, R*, APP, B, B+1, CHECK
A1 SDLET+7*, Q!, R
>> A2 R*
>> APL FLEN+3*
>> B0 SDLET+7*
BSDNO RBK~*
>> CDATE RBK+1*
>> COV FLEN+1*
>> D SDDT, DT*
>> DA FLEN1+1*
>> DA(1 FLEN1+1*
>> DA(2 FLEN1+1*
>> DATE RBK+1*, OVR1
>> DFN LOOP, RBK+1, FLEN+1, FLEN+3, R, CKK2
DIC SDDT!
>> DIK FLEN1+1*
>> DIR(0 E*, E+2*!
DT SDDT, SDDT+2, OVR1, DT
>> DTOUT SDDT
DUZ PROT
>> GDATE RBK+1*, SDNP
GDT SDLET~, SDLET+3*, SDLET+6, CHECK
>> I PROT
IO SDLET+1
IOF SDLET+8
IOST E
>> L LOOP1*
>> LEN RBK+1*
>> M1 SDDT+1*, MAX
>> M8 SDDT+1*, MAX*
>> MAX LOOP*, SDDT+1*, MAX*, RBK+1
>> NDATE SDNP
NDT FLEN+1, FLEN+2, FLEN+3, FLEN1, FLEN1+1, SDLET~, SDLET+3*, SDLET+6
>> S APP*
>> S1 LOOP*, SDDT+1*, RBK+1
>> S2 SDDT+1*, SDDT+2, RBK+1
>> S9 LOOP*, SDDT, MAX
>> SC RBK+1*, OVR1, SDIN, SDNP, NRBK, FLEN+1, FLEN+2, FLEN+3, FLEN1, FLEN1+1
, SDLET+8*
>> SDAP LOOP*, SDNP
SDB SDLET+4, Q!, B*, B+1
>> SDC SDLET+3*, SDLET+6, F+1, F+2, R*, APP*
SDCL E+3!
SDCL( SDNP*, LOOP1*, SDLET+2, SDLET+3
>> SDCNT1 LOOP*, SDNP*, LOOP1*
>> SDCP CHECK
>> SDDI CKK, CKK1*, CKK2*
>> SDDM CKK, CKK1*, CKK2*
>> SDDT SDDT*, SDDT+2*, RBK+1
>> SDERR CKK*, CKK1*, CKK1+1, CKK2*, CKK2+1
SDFORM Q!, F*
SDIN RBK+1!, SDIN*
SDK SDLET+4, E+2, Q!, CHECK*
SDLET SDLET+6, SDLET+7*, Q!, F+1*, F+2, R, APP
SDNDT Q!
>> SDP SDLET+2*, SDLET+3
SDP1 LOOP*, SDDT+1, RBK+1, SDLET+3*, Q!
>> SDPRT PROT*
>> SDS R*
>> SDSP FLEN*, FLEN+3*
>> SDSTRTDT OVR1*
>> SDTIME CHECK
SDV1 SDLET+3*, SDLET+5*, Q!, F
>> SDWH F+1
SDX R*!, APP*
>> SI OVR1*
>> SL OVR1*
>> STARTDAY OVR1*
>> STIME OVR1*
U OVR1, PROT, FLEN+3
X SDDT!, SDDT+2, MAX, OVR1~*, DT, R*!
>> X1 SDDT*, SDDT+2*, DT*
>> X2 SDDT*, SDDT+2*, DT*
>> X8 LOOP, SDDT*
Y SDDT*!, DT*
>> Z0 CKK1*, CKK1+1, CKK2*, CKK2+1
>> ZL FLEN+1*, FLEN+2, FLEN+3, FLEN1, FLEN1+1
>> ZPL FLEN*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All