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

Package: Scheduling

Routine: SDAMOCP1


Information

SDAMOCP1 ;IOFO BAY PINES/TEH - Detail Print for Cancelled Statistics;4/15/92 ; Compiled January 25, 2007 12:00:46

Source Information

Source file <SDAMOCP1.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 3 DD^%DT  NOW^%DTC  ($$GET1,GETS)^DIQ  
Registration 1 ($$FDATE,$$FDTTM,PAUSE)^VALM1  

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
DD^%DT BLD+12, BLD+14
NOW^%DTC HDR1+3
$$GET1^DIQ BLD+15, BLD+16
GETS^DIQ BLD+13
$$FDATE^VALM1 HDR1+2
$$FDTTM^VALM1 HDR1+4
PAUSE^VALM1 HDR+3, CHK+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR1+0
Function Call: WRITE
  • Prompt: !,?50,"Cancelled Clinic Report - Detail"
  • 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: !,SDASH,!
  • Line Location: HDR1+7
Function Call: WRITE
  • Prompt: "Status",?8,"Patient",?30,"SSN",?39,"Appt Date",?61,"Clinic",?81,"Cancel Date",?106,"User",!
  • Line Location: HDR1+8
Function Call: WRITE
  • Prompt: SDASH
  • Line Location: HDR1+9
Function Call: WRITE
  • Prompt: !,SDDVNM
  • Line Location: BLD+6
Function Call: WRITE
  • Prompt: !!,"SUBTOTAL:",$J(SDTOT(SDCR),4),!
  • Line Location: BLD+7
Function Call: WRITE
  • Prompt: !!,"TOTAL CANCELLATIONS:",$J(SDTOTT,14)
  • Line Location: BLD+21
Function Call: WRITE
  • Prompt: !!,"End of Report!"
  • Line Location: BLD+22
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

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GETS^DIQ
^VA(200 - [#200] GET1^DIQ
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

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

Label References

Name Line Occurrences
$$COL CNT+4
$$LEN CNT+4
CHK BLD+5, BLD+19, MCTOT+6, MCTOT+11
CNT MCTOT+10, TOTAL+2
HDR BLD+3, 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
>> % HDR1+4
DIRUT BLD+4!, BLD+7, BLD+8, BLD+9, BLD+10, BLD+19, BLD+24*
IOF HDR1
IOSL CHK+2, CHK+3
IOST HDR+3, BLD+4, BLD+24, CHK+2
SDAPDT BLD+12*, BLD+17, BLD+23!
>> SDASH HDR1+7, HDR1+9, MCTOT+7
>> SDAT("SDAMS" MCTOT+9
>> SDBEG HDR1+2
SDCDT BLD+2~, BLD+14*, BLD+17
>> SDCI( CNT+1, CNT+2
SDCL BLD+2~, BLD+8*, BLD+9, BLD+10, BLD+11, BLD+16, CNT+1, CNT+2
SDCL("SDAMS" TOTAL+1
SDCLNM BLD+16*, BLD+17, BLD+23!
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
SDCR BLD+7*, BLD+8, BLD+9, BLD+10, BLD+11, BLD+17, BLD+20, BLD+23!
SDDATA BLD+11*, BLD+12, BLD+14, BLD+23!
SDDATE BLD+2~, BLD+9*, BLD+10, BLD+11
SDDDATE BLD+23!
SDDFN BLD+10*, BLD+11, BLD+13, BLD+23!
SDDV BLD+5*, BLD+6, BLD+7, BLD+8, BLD+9, BLD+10, BLD+11, MCTOT+1~, MCTOT+2*, MCTOT+3
, MCTOT+7, TOTAL+1
SDDVNM BLD+6*, BLD+23!
>> SDEND HDR1+2
SDFLG BLD+5*, MCTOT+1~, MCTOT+2*
SDI MCTOT+9*, CNT+3*, CNT+4, TOTAL+1*, COL~, COL+4, LEN~, LEN+4
SDMES BLD+18!
SDNM BLD+13*, BLD+17, BLD+23!
SDNXT MCTOT+1~, MCTOT+7*
>> SDPAGE HDR+3, HDR1+5*
SDRES BLD+18!, BLD+23!
SDRES(2 BLD+13
SDSSN BLD+13*, BLD+17, BLD+23!
SDSTOP HDR+2~, HDR+3*, BLD+5*, MCTOT+2, MCTOT+6, MCTOT+11, CHK+2*
>> SDTDASH MCTOT+9
SDTOT BLD+2~, MCTOT+4!, MCTOT+5, MCTOT+8!, MCTOT+9*, MCTOT+11!, TOTAL+1*
SDTOT( BLD+7*, BLD+20*
SDTOTT BLD+2~, BLD+5*, BLD+20*, BLD+21
SDUSER BLD+2~, BLD+14*, BLD+15
SDUSERNM BLD+15*, BLD+17, BLD+23!
SDY CHK+1~, CHK+2*
U BLD+6, BLD+14, MCTOT+3
>> Y HDR+3, BLD+12*, BLD+14*, CHK+2
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 |  Local Variables |  All