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 |  Local Variables |  All
Print Page as PDF
Routine: SDAMOCP

Package: Scheduling

Routine: SDAMOCP


Information

SDAMOCP ;IOFO BAY PINES/TEH - Print for Cancelled Statistics;4/15/92

Source Information

Source file <SDAMOCP.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
Registration 1 ($$FDATE,$$FDTTM,PAUSE)^VALM1  
VA Fileman 1 NOW^%DTC  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SDAMOC  

Entry Points

Name Comments DBIA/ICR reference
CNT ;Place no-show/no-show auto rebook & cancel/cancel auto-rebook together
TOTAL ;Totals
MCTOT ;
HDR ;Report Header
HDR1
CHK ;Check to pause on screen
MCTOTQ
COL(SDI) ;Column placement of appt. status
LEN(SDI) ;Length of column
BLD ;Build output from ^TMP global
BLDQ
LEGEND ;Legend on bottom of output

External References

Name Field # of Occurrence
NOW^%DTC HDR1+3
$$FDATE^VALM1 HDR1+2
$$FDTTM^VALM1 HDR1+4
PAUSE^VALM1 HDR+3, CHK+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR1+0
Function Call: WRITE
  • Prompt: !,?50,"Cancelled Clinic Report - Summary"
  • Line Location: HDR1+1
Function Call: WRITE
  • Prompt: !,?50,"Date Range: ",$$FDATE^VALM1(SDBEG)_" to "_$$FDATE^VALM1(SDEND)
  • Line Location: HDR1+2
Function Call: WRITE
  • Prompt: !,?54,"Run Date: ",$E($$FDTTM^VALM1(%),1,14)
  • Line Location: HDR1+4
Function Call: WRITE
  • Prompt: !,?62,"Page: ",SDPAGE
  • Line Location: HDR1+5
Function Call: WRITE
  • Prompt: !!,"Division"
  • Line Location: HDR1+6
Function Call: WRITE
  • Prompt: ?34,"Can'd by Clinic",?52,"Can'd by Clinic RB",?73,"Can'd by Patient",?92,"Can'd by Patient RB",?114,"Total"
  • Line Location: HDR1+7
Function Call: WRITE
  • Prompt: !,SDASH
  • Line Location: HDR1+8
Function Call: WRITE
  • Prompt: !,SDDVNM
  • Line Location: BLD+5
Function Call: WRITE
  • Prompt: !,?12,$P($G(^SC(SDCL,0)),U)
  • Line Location: BLD+7
Function Call: WRITE
  • Prompt: ?SDTAB,$J(SDTOTS(SDTOTN),3)
  • Line Location: BLD+10
Function Call: WRITE
  • Prompt: !,?114,"-----",!,?90,"Total Cancellations:",?116,$J(SDTOTT,3)
  • Line Location: BLD+12
Function Call: WRITE
  • Prompt: !!,"End of Report!"
  • Line Location: BLD+13
Function Call: WRITE
  • Prompt: !,SDTDASH,!,"TOTAL"
  • Line Location: MCTOT+9
Function Call: WRITE
  • Prompt: ?124,$J(SDTOT,8)
  • Line Location: MCTOT+11
Function Call: WRITE
  • Prompt: !!
  • Line Location: MCTOT+12
Function Call: WRITE
  • Prompt: !,?5,"o CI=Checked In ; RB=Rebooked"
  • Line Location: LEGEND+2
Function Call: WRITE
  • Prompt: !,?5,"o 'Cancelled' appointments only reflect appointments cancelled using 'Cancel Clinic Availability'."
  • Line Location: LEGEND+3
Function Call: WRITE
  • Prompt: !,?5,"o 'Checked-In' does not include no-shows or cancelled appointments that have been checked in."
  • Line Location: LEGEND+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] BLD+5, MCTOT+3
^SC - [#44] BLD+7
^TMP("SDAMC" BLD+4, BLD+6, BLD+8, BLD+9
^TMP("SDAMS" MCTOT+2, MCTOT+7

Label References

Name Line Occurrences
$$COL CNT+4
$$LEN CNT+4
CHK BLD+4, MCTOT+6, MCTOT+11
CNT MCTOT+10, TOTAL+2
HDR MCTOT+2
HDR1 CHK+2, CHK+3
LEGEND MCTOT+12
MCTOTQ MCTOT+11
TOTAL MCTOT+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% HDR+2~, HDR1+4
>> FMT CHK+2
IOF HDR1
IOSL CHK+1, CHK+3
IOST HDR+3, CHK+1
>> SDASH HDR1+8, MCTOT+7
SDAT MCTOT+1~
SDAT("SDAMS" MCTOT+9
>> SDBEG HDR1+2
SDCI BLD+2~
SDCI( CNT+1, CNT+2
SDCL BLD+2~, BLD+6*, BLD+7, BLD+8, BLD+9, BLD+11, CNT+1, CNT+2
SDCL("SDAMS" TOTAL+1
SDCNT MCTOT+4!, MCTOT+8!, MCTOT+11!, TOTAL+3!
SDCNT( MCTOT+9*, CNT+4, TOTAL+1*
SDCNT(13 CNT+1*
SDCNT(14 CNT+2*
SDCNT(4 CNT+1*
SDCNT(5 CNT+2*
SDCNT(6 CNT+1
SDCNT(7 CNT+2
SDCTYP BLD+2~, BLD+8*, BLD+9
SDDV BLD+2~, BLD+4*, BLD+5, BLD+6, BLD+8, BLD+9, MCTOT+2*, MCTOT+3, MCTOT+7, TOTAL+1
SDDVNM BLD+2~, BLD+5*
>> SDEND HDR1+2
SDFLG BLD+2~, BLD+4*, MCTOT+2*
SDI MCTOT+9*, CNT+3*, CNT+4, TOTAL+1*, COL~, COL+4, LEN~, LEN+4
SDNXT BLD+2~, MCTOT+7*
>> SDPAGE HDR+3, HDR1+5*
SDSTOP HDR+2~, HDR+3*, BLD+4*, MCTOT+2, MCTOT+6, MCTOT+11, CHK+2*
SDTAB BLD+2~, BLD+10*
>> SDTDASH MCTOT+9
SDTOT BLD+4*, BLD+7!*, BLD+9*, MCTOT+4!, MCTOT+5, MCTOT+8!, MCTOT+9*, MCTOT+11!, TOTAL+1*
SDTOT( BLD+7*, BLD+9*, BLD+11
SDTOTN BLD+2~, BLD+7*, BLD+10*
SDTOTS BLD+2~, BLD+7!
SDTOTS( BLD+7*, BLD+9*, BLD+10
SDTOTT BLD+3~, BLD+4*, BLD+9*, BLD+12
SDY BLD+3~, CHK+2*
U BLD+5, BLD+7, MCTOT+3
>> Y HDR+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All