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,GXT - Detail Print for Cancelled Statistics;6/15/92 ; Compiled JUNE 13, 2018 8:00:50

Source Information

Source file <SDAMOCP1.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 3 DD^%DT  NOW^%DTC  ($$GET1,GETS)^DIQ  
Kernel 1 $$FMTE^XLFDT  
List Manager 1 ($$FDATE,$$FDTTM,PAUSE)^VALM1  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

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+19
GETS^DIQ BLD+13
$$FDATE^VALM1 HDR1+2
$$FDTTM^VALM1 HDR1+4
PAUSE^VALM1 HDR+3, CHK+2
$$FMTE^XLFDT BLD+22

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",?57,"Clinic",?88,"STOP",?95,"Cancel Date",?112,"User",!
  • Line Location: HDR1+10
Function Call: WRITE
  • Prompt: SDASH
  • Line Location: HDR1+11
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+26
Function Call: WRITE
  • Prompt: !!,"End of Report!"
  • Line Location: BLD+27
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
^DIC(40.7 - [#40.7] BLD+18
^SC - [#44] BLD+18
^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+24, 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+24, BLD+29*
IOF HDR1
IOSL CHK+2, CHK+3
IOST HDR+3, BLD+4, BLD+29, CHK+2
SDAPDT BLD+12*, BLD+28!
>> SDASH HDR1+7, HDR1+11, MCTOT+7
>> SDAT("SDAMS" MCTOT+9
>> SDBEG HDR1+2
SDCDT BLD+2~, BLD+14*
>> SDCI( CNT+1, CNT+2
SDCL BLD+2~, BLD+8*, BLD+9, BLD+10, BLD+11, BLD+18, BLD+19, CNT+1, CNT+2
SDCL("SDAMS" TOTAL+1
SDCLNM BLD+19*, BLD+22, BLD+28!
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+22, BLD+25, BLD+28!
SDDATA BLD+11*, BLD+12, BLD+14, BLD+22, BLD+28!
SDDATE BLD+2~, BLD+9*, BLD+10, BLD+11
SDDDATE BLD+28!
SDDFN BLD+10*, BLD+11, BLD+13, BLD+28!
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+28!
>> 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+23!
SDNM BLD+13*, BLD+22, BLD+28!
SDNXT MCTOT+1~, MCTOT+7*
>> SDPAGE HDR+3, HDR1+5*
SDRES BLD+23!, BLD+28!
SDRES(2 BLD+13
SDSSN BLD+13*, BLD+22, BLD+28!
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+25*
SDTOTT BLD+2~, BLD+5*, BLD+25*, BLD+26
SDUSER BLD+2~, BLD+14*, BLD+15
SDUSERNM BLD+15*, BLD+22, BLD+28!
SDY CHK+1~, CHK+2*
STP BLD+18~*
STPCDE BLD+18~*, BLD+22
U BLD+6, BLD+14, BLD+18, BLD+22, 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