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

Package: Scheduling

Routine: SDCNP2


Information

SDCNP2 ;ALB/LDB - PRINT CANCELLED AND AUTO REBOOKED APPTS. REPORT ; 14 MAR 88@13:00

Source Information

Source file <SDCNP2.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
VA Fileman 2 ^%DT  (D,DT)^DIQ  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SDCNP1  

Entry Points

Name Comments DBIA/ICR reference
HDR ;W @IOF,?23,"CANCELLED AND AUTO-REBOOKED REPORT",?65 S X="T",Y="" D ^%DT,DT^DIQ W !,?23,"FOR:",?30,SD1,!,?23,"SSN: ",?30,SD2,!,?14,"CANCELLED BY:",?30,$S(DUZ:$P(^VA(200,DUZ,0),"^",1),1:"UNKNOWN"),!!,"CLINIC" ;IHS/ANMC/LJF 12/06/2000
CL
APPT
TM
TST
OUT

External References

Name Field # of Occurrence
^%DT HDR+1
D^DIQ APPT
DT^DIQ HDR+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$E($P(^SC(SDP,0),"^"),1,25)
  • Line Location: CL+0
Function Call: WRITE
  • Prompt: !,?23,"FOR:",?30,SD1,!,?23,"SSN: ",?30,SD2,!,?14,"CANCELLED BY:",?30,$S(DUZ:$P(^VA(200,DUZ,0),"^",1),1:"UNKNOWN"),!!,"CLINIC"
  • Line Location: HDR+0
Function Call: WRITE
  • Prompt: @IOF,?23,"CANCELLED AND AUTO-REBOOKED REPORT",?65
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: !,?23,"FOR:",?30,SD1,!,?23,"HRCN: ",?30,SD2,!,?14,"CANCELLED BY:",?30,$S(DUZ:$P(^VA(200,DUZ,0),"^",1),1:"UNKNOWN"),!!,"CLINIC"
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: ?25,"CANCELLED APPT.",?55,"NEW DATE"
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,SDLN
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,SDLN
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,SDLN
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: ?25
  • Line Location: APPT+0
Function Call: WRITE
  • Prompt: Y," at ",$J(X,8),?55
  • Line Location: APPT+0
Function Call: WRITE
  • Prompt: Y," at ",$J(X,8),?55
  • Line Location: APPT+0
Function Call: WRITE
  • Prompt: !
  • Line Location: APPT+1
Function Call: WRITE
  • Prompt: *7
  • Line Location: OUT+0
Function Call: WRITE
  • Prompt: !
  • Line Location: OUT+0
Function Call: READ
  • Prompt: "PRESS RETURN TO CONTINUE"
  • Formatting: !
  • Timeout: DTIME
  • Variable: X
  • Line Location: OUT+1
Function Call: WRITE
  • Prompt: !,?65,$P("LAB^X-RAY^EKG","^",(TST-2))," ",?71,$J(X,8)
  • Line Location: TST+0
Function Call: WRITE
  • Prompt: !
  • Line Location: TST+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] SDCNP2+4, TST
^SC - [#44] CL
^UTILITY($J SDCNP2+6*, CL, APPT, TST
^VA(200 - [#200] HDR+1

Label References

Name Line Occurrences
APPT CL
HDR SDCNP2+5, CL
OUT CL, CL+1
TM APPT, TST
TST APPT

Naked Globals

Name Field # of Occurrence
^( APPT

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % TM*
>> A SDCNP2+4, SDCNP2+6, CL, APPT, TST
>> APPZ SDCNP2+6*
DTIME OUT+1
DUZ HDR+1
>> GDATE SDCNP2+6*
IO SDCNP2+4
IOF HDR+1
IOSL CL, OUT
>> NDATE SDCNP2+6*
>> SC SDCNP2+6*
>> SD1 SDCNP2+4*, HDR+1
>> SD2 SDCNP2+4*, HDR+1
>> SDCL( SDCNP2+6
>> SDEND SDCNP2+4*, CL+1, OUT+1*
>> SDIO CL, CL+1
>> SDLN SDCNP2+4*, HDR+2*
>> SDLN1 SDCNP2+4*, HDR+2*
>> SDLN2 SDCNP2+4*, HDR+2*
>> SDP CL*, APPT, TST
>> SDPT SDCNP2+4*
>> SDT1 CL*, APPT*, TST
>> SDT20 TST*
>> SDXX OUT*
>> TST TST*
>> X HDR+1*, APPT*, TM*, OUT+1*, TST*
>> X3 APPT*
>> Y HDR+1*, APPT*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All