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

Package: Surgery

Routine: SRORATA


Information

SRORATA ;B'HAM ISC/MAM - CANCEL RATES ;[ 02/12/97 12:16 PM ]

Source Information

Source file <SRORATA.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Surgery 2 ^SRORATS  ^SROSTOP  

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

Package Total Caller Graph
Surgery 1 SRORATP  

Entry Points

Name Comments DBIA/ICR reference
REASON
PAGE
HDR ; print heading
SUB ; print column headings

External References

Name Field # of Occurrence
^SRORATS SRORATA+13
^SROSTOP HDR+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"TOTAL SURGICAL CASES SCHEDULED FOR ",SRINST,": ",TOTAL
  • Line Location: SRORATA+6
Function Call: WRITE
  • Prompt: !,"CANCELLATION RATE FOR SCHEDULED CASES: ",TCAN," %"
  • Line Location: SRORATA+7
Function Call: WRITE
  • Prompt: !,"AVOIDABLE CANCELLATION RATE FOR SCHEDULED CASES: ",TOTRATE," %"
  • Line Location: SRORATA+8
Function Call: WRITE
  • Prompt: !,"AVOIDABLE CANCELLATION RATE FOR CANCELLED CASES: ",CANRATE," %"
  • Line Location: SRORATA+9
Function Call: WRITE
  • Prompt: !,?47,"-----",?64,"-----",!,"TOTAL CANCELLATIONS",?47,$J(X,4),?64,$J(Y,4)
  • Line Location: SRORATA+12
Function Call: WRITE
  • Prompt: !,$S($E(REASON,1,2)="ZZ":$E(REASON,3,45),1:REASON),?47,$J(X,4),?64,$J(Y,4)
  • Line Location: REASON+2
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: PAGE+1
Function Call: WRITE
  • Prompt: !!,"Enter RETURN to continue printing this report, or '^' to exit from this option."
  • Line Location: PAGE+2
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: !,?(80-$L(SRINST)\2),SRINST,?70,"PAGE: "_PAGE,!,?32,"SURGICAL SERVICE",!,?28,"CANCELLATION RATE REPORT",!,?27,"FROM "_X_" TO "_Y
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !,?29,"DATE PRINTED: "_X
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !,?21,"REVIEWED BY:",?45,"DATE REVIEWED:"
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: !
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: "="
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: !!,"PRIMARY CANCELLATION REASON",?45,"TOTAL CANCELS",?62,"TOTAL AVOIDABLE",!
  • Line Location: SUB+1
Function Call: WRITE
  • Prompt: "-"
  • Line Location: SUB+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("SR" SRORATA+4, SRORATA+10, SRORATA+11, REASON+1
^TMP("SRT" SRORATA+13

Label References

Name Line Occurrences
HDR SRORATA+3, PAGE
PAGE SRORATA+2, REASONPAGE+2
REASON SRORATA+10
SUB SRORATA+10, REASON

Naked Globals

Name Field # of Occurrence
^( REASON+1
^($J SRORATA+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> CANRATE SRORATA+4*, SRORATA+9
DT HDR+5
DTIME PAGE+1
IOF HDR+2
IOSL REASON
IOST PAGE+1, HDR+3
>> LINE HDR+7*, SUB+1*
>> PAGE HDR+2*, HDR+4
>> REASON SRORATA+10*, REASON+1, REASON+2
>> SRED HDR+2
>> SRHALT HDR+1
>> SRHDR PAGE*
>> SRINST SRORATA+6, HDR+4
>> SROTOT SRORATA+2, SRORATA+3
>> SRSD HDR+2
>> SRSOUT SRORATA+2, SRORATA+3, SRORATA+10, REASONPAGE+1*, HDR+1*
>> TCAN SRORATA+5*, SRORATA+7
>> TOTAL SRORATA+4*, SRORATA+5, SRORATA+6
>> TOTRATE SRORATA+5*, SRORATA+8
>> X SRORATA+4*, SRORATA+5, SRORATA+11*, SRORATA+12, REASON+1*, REASON+2, PAGE+1*, PAGE+2, HDR+2*, HDR+4
HDR+5*
>> Y SRORATA+4*, SRORATA+5, SRORATA+11*, SRORATA+12, REASON+1*, REASON+2, HDR+2*, HDR+4
>> ZTQUEUED HDR+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All