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 (#3698) ; 11/29/04 ; (FILE 691.1, MARGIN=80)

Source Information

Source file <MCAROC1.m>

Call Graph

Call Graph Total: 4

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

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Medicine 2 MCARP  MCMAGDSP  

Entry Points

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

External References

Name Field # of Occurrence
$$OUT^DIALOGU DT
CSTP^DIO2 T+1
^DIWP B1+1, F1+1
^DIWW B1R+2, F1R+2
0^DIWW B1R+1, F1R+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+4
Function Call: WRITE
  • Prompt: "WARD/CLINIC: "
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: ?4
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: "REF HOSP OR PHYS: "
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: ?49
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: ?4
  • Line Location: BEGIN+9
Function Call: WRITE
  • Prompt: "HT IN: "
  • Line Location: BEGIN+9
Function Call: WRITE
  • Prompt: ?27
  • Line Location: BEGIN+11
Function Call: WRITE
  • Prompt: "WT LBS: "
  • Line Location: BEGIN+11
Function Call: WRITE
  • Prompt: ?49
  • Line Location: BEGIN+13
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+13
Function Call: WRITE
  • Prompt: ?4
  • Line Location: BEGIN+15
Function Call: WRITE
  • Prompt: "PROCEDURES:"
  • Line Location: BEGIN+15
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+3
Function Call: WRITE
  • Prompt: "SYMPTOMS INCLUDED:"
  • Line Location: B1R+3
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(3698 BEGIN+2
^MCAR(691.1 - [#691.1] BEGIN+5, BEGIN+8, BEGIN+10, BEGIN+14, BEGIN+16, A1+1, A1R+2, B1+1, B1R+4, 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+7
^PSDRUG - [#50] E1+1
^SC - [#44] BEGIN+5
^UTILITY($J T

Label References

Name Line Occurrences
@( M
A1 BEGIN+16
A1R BEGIN+17
B1 A1R+2
B1R A1R+3
BEGIN MCAROC1+1
C1 B1R+4
C1R B1R+5
D1 C1R+2
D1R C1R+3
E1 D1R+2
E1R D1R+3
F1 E1R+2
F1R E1R+3
N BEGIN+4, BEGIN+6, BEGIN+8, BEGIN+9, BEGIN+11, BEGIN+13, BEGIN+15, A1R+1, B1R+3, C1+1
, C1R+1, D1R+1, E1R+1
T BEGIN+15, BEGIN+16, A1R+1, A1R+2, B1R+4, C1R+2, D1R+2, E1R+1, E1R+2

Naked Globals

Name Field # of Occurrence
^( BEGIN+16, A1R+2, B1R+4, C1R+2, D1R+2, E1R+2
^(0 BEGIN+5, BEGIN+7, BEGIN+8, 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+5, BEGIN+8, BEGIN+10, BEGIN+14, BEGIN+16, A1+1, A1R+2, B1+1, B1R+4, C1+1
, C1R+2, D1+1, D1R+2, E1+1, E1+2, E1+3, E1R+2, F1+1
>> D1 BEGIN+16*, A1+1, A1R+2*, B1+1, B1R+4*, 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+8!, BEGIN+13!, E1+2!, E1+3!
DIP(1 BEGIN+8*, E1+2*, E1+3*
DIP(2 BEGIN+13
DIP(3 BEGIN+13
DIP(4 BEGIN+13
DIP(5 BEGIN+13
DIP(6 BEGIN+13
>> DISTP T+1*, BEGIN+1*
DIWF T, F1R+2!
>> DIWL B1+1*, F1+1*
>> DIWR B1+1*, F1+1*
>> DIXX M
>> DN T, BEGIN+1*, BEGIN+4, BEGIN+6, BEGIN+8, BEGIN+9, BEGIN+11, BEGIN+13, BEGIN+15, BEGIN+16
, A1R+1, A1R+2, B1R+3, B1R+4, C1+1, C1R+1, C1R+2, D1R+1, D1R+2, E1+2
, E1+3, E1R+1, E1R+2
>> DSC( BEGIN+16, B1R+4, C1R+2, D1R+2
DUZ("LANG" DT
>> DXS BEGIN+2*
>> DXS(1 BEGIN+13
>> I(0 BEGIN+3*
>> I(1 BEGIN+16*, A1R+2*, B1R+4*, C1R+2*, D1R+2*, E1R+2*
IOSL T
>> J(0 BEGIN+3*
>> J(1 BEGIN+16*, A1R+2*, B1R+4*, C1R+2*, D1R+2*, E1R+2*
U DT+1, BEGIN+5, BEGIN+7, BEGIN+8, BEGIN+10, BEGIN+12, BEGIN+14, A1+1, C1+1, D1+1
, E1+1, E1+2, E1+3
>> X BEGIN+5*, BEGIN+7, BEGIN+8*, BEGIN+10*, BEGIN+12, BEGIN+13*, BEGIN+14*, A1+1*, B1+1*, C1+1*
, D1+1*, E1+1*, E1+2*, E1+3*, F1+1*
Y DT, DT+1, DT+2, BEGIN+5*, BEGIN+7*, BEGIN+8!, BEGIN+10*, BEGIN+12*, BEGIN+13!, BEGIN+14*
, A1+1*, C1+1*, D1+1*, E1+1*, E1+2!, E1+3!, 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