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

Package: Medicine

Routine: MCAROC1


Information

MCAROC1 ; GENERATED FROM 'MCARCATH1' PRINT TEMPLATE (#974) ; 10/04/96 ; (FILE 691.1, MARGIN=80)

Source Information

Source file <MCAROC1.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA FileMan 4 $$OUT^DIALOGU  CSTP^DIO2  ^DIWP  (,0,A)^DIWW  

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

Package Total Caller Graph
Medicine 2 MCARP  MCMAGDSP  

Entry Points

Name Comments DBIA/ICR reference
N
T
DT
M
BEGIN ;
A1 ;
A1R ;
B1 ;
B1R ;
C1 ;
C1R ;
D1 ;
D1R ;
E1 ;
E1R ;
F1 ;
F1R ;
HEAD ;

External References

Name Field # of Occurrence
$$OUT^DIALOGU DT
CSTP^DIO2 T+1
^DIWP B1+1, F1+1
^DIWW F1R+2
0^DIWW F1R+1
A^DIWW B1R+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: N+0
Function Call: WRITE
  • Prompt: $$OUT^DIALOGU(Y,"DD")
  • Line Location: DT+0
Function Call: WRITE
  • Prompt: $P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$E(Y,4,5))_" "
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: $J(Y#100\1,2)_","
  • Condition for execution: Y#100
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: Y\10000+1700
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: " "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12)
  • Condition for execution: Y#1
  • Line Location: DT+1
Function Call: WRITE
  • Prompt: Y
  • Line Location: DT+2
Function Call: WRITE
  • Prompt: ?49
  • Line Location: BEGIN+3
Function Call: WRITE
  • Prompt: "WARD/CLINIC: "
  • Line Location: BEGIN+3
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: ?4
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: "REF HOSP OR PHYS: "
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: ?49
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: ?4
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: "HT IN: "
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: ?27
  • Line Location: BEGIN+10
Function Call: WRITE
  • Prompt: "WT LBS: "
  • Line Location: BEGIN+10
Function Call: WRITE
  • Prompt: ?49
  • Line Location: BEGIN+12
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+12
Function Call: WRITE
  • Prompt: ?4
  • Line Location: BEGIN+14
Function Call: WRITE
  • Prompt: "PROCEDURES:"
  • Line Location: BEGIN+14
Function Call: WRITE
  • Prompt: ?17
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: ?4
  • Line Location: A1R+1
Function Call: WRITE
  • Prompt: "HISTORY:"
  • Line Location: A1R+1
Function Call: WRITE
  • Prompt: ?7
  • Line Location: B1R+2
Function Call: WRITE
  • Prompt: "SYMPTOMS INCLUDED:"
  • Line Location: B1R+2
Function Call: WRITE
  • Prompt: ?26
  • Line Location: C1+1
Function Call: WRITE
  • Prompt: $E(Y,1,99)
  • Line Location: C1+1
Function Call: WRITE
  • Prompt: ?4
  • Line Location: C1R+1
Function Call: WRITE
  • Prompt: "RISK FACTORS:"
  • Line Location: C1R+1
Function Call: WRITE
  • Prompt: ?19
  • Line Location: D1+1
Function Call: WRITE
  • Prompt: $E(Y,1,40)
  • Line Location: D1+1
Function Call: WRITE
  • Prompt: ?4
  • Line Location: D1R+1
Function Call: WRITE
  • Prompt: "HEART MEDS:"
  • Line Location: D1R+1
Function Call: WRITE
  • Prompt: ?17
  • Line Location: E1+1
Function Call: WRITE
  • Prompt: $E(Y,1,40)
  • Line Location: E1+1
Function Call: WRITE
  • Prompt: X
  • Line Location: E1+2
Function Call: WRITE
  • Prompt: X
  • Line Location: E1+3
Function Call: WRITE
  • Prompt: ?4
  • Line Location: E1R+1
Function Call: WRITE
  • Prompt: "PHYSICAL:"
  • Line Location: E1R+1
Function Call: WRITE
  • Prompt: !,"--------------------------------------------------------------------------------",!!
  • Line Location: HEAD+1
Routine Call
  • DIALOGU
  • Line Location:
    • DT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIPT(974 BEGIN+2
^MCAR(691.1 - [#691.1] BEGIN+4, BEGIN+7, BEGIN+9, BEGIN+13, BEGIN+15, A1+1, A1R+2, B1+1, B1R+3, C1+1
C1R+2, D1+1, D1R+2, E1+1, E1+2, E1+3, E1R+2, F1+1
^MCAR(695 - [#695] E1+1
^MCAR(695.3 - [#695.3] A1+1
^MCAR(695.4 - [#695.4] D1+1
^MCAR(695.5 - [#695.5] C1+1
^MCAR(697.1 - [#697.1] BEGIN+6
^PSDRUG - [#50] E1+1
^SC - [#44] BEGIN+4
^UTILITY($J T

Label References

Name Line Occurrences
@( M
A1 BEGIN+15
A1R BEGIN+16
B1 A1R+2
B1R A1R+3
BEGIN MCAROC1+1
C1 B1R+3
C1R B1R+4
D1 C1R+2
D1R C1R+3
E1 D1R+2
E1R D1R+3
F1 E1R+2
F1R E1R+3
N BEGIN+3, BEGIN+5, BEGIN+7, BEGIN+8, BEGIN+10, BEGIN+12, BEGIN+14, A1R+1, B1R+2, C1+1
C1R+1, D1R+1, E1R+1
T BEGIN+14, BEGIN+15, A1R+1, A1R+2, B1R+3, C1R+2, D1R+2, E1R+1, E1R+2

Naked Globals

Name Field # of Occurrence
^( BEGIN+2, BEGIN+15, A1R+2, B1R+3, C1R+2, D1R+2, E1R+2
^(0 BEGIN+4, BEGIN+6, BEGIN+7, A1+1, C1+1, D1+1, E1+1, E1+2, E1+3
^(1 T

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D0 BEGIN+4, BEGIN+7, BEGIN+9, BEGIN+13, BEGIN+15, A1+1, A1R+2, B1+1, B1R+3, C1+1
C1R+2, D1+1, D1R+2, E1+1, E1+2, E1+3, E1R+2, F1+1
>> D1 BEGIN+15*, A1+1, A1R+2*, B1+1, B1R+3*, C1+1, C1R+2*, D1+1, D1R+2*, E1+1
E1+2, E1+3, E1R+2*, F1+1
>> DILCT T+1*, BEGIN+1*
>> DIOT(2 T
DIP BEGIN+7!, BEGIN+12!, E1+2!, E1+3!, F1R+1!
DIP(1 BEGIN+7*, E1+2*, E1+3*
DIP(2 BEGIN+12
DIP(3 BEGIN+12
DIP(4 BEGIN+12
DIP(5 BEGIN+12
DIP(6 BEGIN+12
>> DISTP T+1*, BEGIN+1*
DIWF TF1R+2!
>> DIWL B1+1*, F1+1*
>> DIWR B1+1*, F1+1*
>> DIXX M
>> DN TBEGIN+1*, BEGIN+3, BEGIN+5, BEGIN+7, BEGIN+8, BEGIN+10, BEGIN+12, BEGIN+14, BEGIN+15
A1R+1, A1R+2, B1R+2, B1R+3, C1+1, C1R+1, C1R+2, D1R+1, D1R+2, E1+2
E1+3, E1R+1, E1R+2, F1R+1
>> DSC( BEGIN+15, B1R+3, C1R+2, D1R+2
>> DUZ("LANG" DT
>> DXS BEGIN+2
>> DXS( BEGIN+2*
>> DXS(1 BEGIN+12
>> I(1 BEGIN+15*, A1R+2*, B1R+3*, C1R+2*, D1R+2*, E1R+2*
IOSL T
>> J(1 BEGIN+15*, A1R+2*, B1R+3*, C1R+2*, D1R+2*, E1R+2*
U DT+1, BEGIN+4, BEGIN+6, BEGIN+7, BEGIN+9, BEGIN+11, BEGIN+13, A1+1, C1+1, D1+1
E1+1, E1+2, E1+3
>> X BEGIN+2*, BEGIN+4*, BEGIN+6, BEGIN+7*, BEGIN+9*, BEGIN+11, BEGIN+12*, BEGIN+13*, A1+1*, B1+1*
C1+1*, D1+1*, E1+1*, E1+2*, E1+3*, F1+1*
Y DTDT+1, DT+2, BEGIN+2*, BEGIN+4*, BEGIN+6*, BEGIN+7!, BEGIN+9*, BEGIN+11*, BEGIN+12!
BEGIN+13*, A1+1*, C1+1*, D1+1*, E1+1*, E1+2!, E1+3!, F1R+1!, F1R+2!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All