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

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

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

Package Total Caller Graph
Scheduling 4 SDAMC  SDCNP0  SDCNP1  SDM2  

Entry Points

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

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 EE+2
^SDAUT1 RBK
^SDAUT2 RBK
^SDLT SDLET+8
BADADD^SDLT E
REST^SDLT R+1
WRAPP^SDLT RAPP
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
  • Variable: Q
  • Timeout: 'B0
  • Line Location: SDLET+8
Function Call: WRITE
  • Prompt: !,$P(^SC(SC,0),"^")," Clinic is not assigned a letter",!!
  • Line Location: SDLET+9
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, RAPPB+1, CHECK
^SC - [#44] LOOPSDDT+1, OVR1SDINNRBKPROTFLEN+1, FLEN+2, FLEN+3, FLEN1
SDLET+3, SDLET+9, F+1
^TMP($J E!, B+1*
^UTILITY($J LOOPLOOP1LOOP1+1!, SDLET+6*, SDLET+8, SDLET+9, Q!, F+2*, R, APP*
CKK1CKK2

Label References

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

Naked Globals

Name Field # of Occurrence
^( LOOPLOOP1RAPPCHECK
^("I" SDIN
^("LTR" FF+1
^("SDP" SDDT+1, OVR1
^("SDPROT" PROT
^("SL" OVR1
^(0 FLEN+3, APPCHECK

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT SDDT*!
%DT("A" SDDT*
%DT(0 SDDT*
A RBK*, SDLET+6, SDLET+8*, E+3!, R*, APPBB+1, CHECK
A1 SDLET+8*, Q!, R
>> A2 R*
>> APL FLEN+3*
>> B0 SDLET+8*
>> CDATE RBK*
>> COV FLEN+1*
>> D SDDT, DT*
>> DA FLEN1+1*
>> DA(1 FLEN1+1*
>> DA(2 FLEN1+1*
>> DATE RBK*, OVR1
>> DFN LOOPRBKFLEN+1, FLEN+3, RCKK2
DIC SDDT!
>> DIK FLEN1+1*
>> DIR(0 E*, E+2*!
DT SDDTSDDT+2, OVR1DT
>> DTOUT SDDT
DUZ PROT
>> GDATE RBK*, SDNP
GDT SDLET~, SDLET+3*, SDLET+6, CHECK
>> I PROT
IO SDLET+1
IOF SDLET+9
IOST E
>> L LOOP1*
>> LEN RBK*
>> M1 SDDT+1*, MAX
>> M8 SDDT+1*, MAX*
>> MAX LOOP*, SDDT+1*, MAX*, RBK
>> NDATE SDNP
NDT FLEN+1, FLEN+2, FLEN+3, FLEN1FLEN1+1, SDLET~, SDLET+3*, SDLET+6
>> S APP*
>> S1 LOOP*, SDDT+1*, RBK
>> S2 SDDT+1*, SDDT+2, RBK
>> S9 LOOP*, SDDTMAX
>> SC RBK*, OVR1SDINSDNPNRBKFLEN+1, FLEN+2, FLEN+3, FLEN1FLEN1+1
SDLET+9*
>> 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
>> SDERR CKK*, CKK1*, CKK1+1, CKK2*, CKK2+1
SDFIRST SDLET+8~*
SDFORM Q!, F*
SDIN RBK!, SDIN*
SDK SDLET+4, E+2, Q!, CHECK*
SDLET SDLET+6, SDLET+8*, Q!, F+1*, F+2, RAPP
SDNDT Q!
>> SDP SDLET+2*, SDLET+3
SDP1 LOOP*, SDDT+1, RBKSDLET+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 OVR1PROTFLEN+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, FLEN1FLEN1+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