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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: MCAROGM

Package: Medicine

Routine: MCAROGM


Information

MCAROGM ; GENERATED FROM 'MCAROGM' PRINT TEMPLATE (#3737) ; 11/29/04 ; (FILE 699, MARGIN=80)

Source Information

Source file <MCAROGM.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA Fileman 4 $$OUT^DIALOGU  CSTP^DIO2  ^DIWP  (,0)^DIWW  
Medicine 2 ^MCARGPA  (COL,IND,LAP)^MCARGS  

Entry Points

Name Comments DBIA/ICR reference
BEGIN ;
A1R ;
M
HEAD ;
N
A1 ;
B1R ;
T
DT
B1 ;

External References

Name Field # of Occurrence
$$OUT^DIALOGU DT
CSTP^DIO2 T+1
^DIWP A1R+5
^DIWW A1R+7, A1R+18
0^DIWW A1R+6, A1R+17
^MCARGPA A1+10
COL^MCARGS A1R+21
IND^MCARGS A1R+3
LAP^MCARGS 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: ?1
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: "PROCEDURE: "
  • Line Location: BEGIN+4
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+5
Function Call: WRITE
  • Prompt: ?44
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: "WARD/CLINIC: "
  • Line Location: BEGIN+6
Function Call: WRITE
  • Prompt: $E(Y,1,20)
  • Line Location: BEGIN+7
Function Call: WRITE
  • Prompt: ?1
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: "Endoscopist: "
  • Line Location: BEGIN+8
Function Call: WRITE
  • Prompt: ?15
  • Line Location: BEGIN+9
Function Call: WRITE
  • Prompt: $E(Y,1,35)
  • Line Location: BEGIN+9
Function Call: WRITE
  • Prompt: ?44
  • Line Location: BEGIN+10
Function Call: WRITE
  • Prompt: "FELLOW: "
  • Line Location: BEGIN+10
Function Call: WRITE
  • Prompt: $E(Y,1,35)
  • Line Location: BEGIN+11
Function Call: WRITE
  • Prompt: ?44
  • Line Location: BEGIN+12
Function Call: WRITE
  • Prompt: "2ND FELLOW: "
  • Line Location: BEGIN+12
Function Call: WRITE
  • Prompt: $E(Y,1,35)
  • Line Location: BEGIN+13
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+14
Function Call: WRITE
  • Prompt: ?0
  • Line Location: BEGIN+15
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+15
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: "Liver Biopsy: "
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: ?44
  • Line Location: A1+3
Function Call: WRITE
  • Prompt: "Bleeding Disorder: "
  • Line Location: A1+3
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+5
Function Call: WRITE
  • Prompt: "Valvular Heart Disease: "
  • Line Location: A1+5
Function Call: WRITE
  • Prompt: ?44
  • Line Location: A1+7
Function Call: WRITE
  • Prompt: "Glaucoma: "
  • Line Location: A1+7
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+9
Function Call: WRITE
  • Prompt: "Allergies/Adverse Reactions: "
  • Line Location: A1+9
Function Call: WRITE
  • Prompt: ?33
  • Line Location: A1+10
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+11
Function Call: WRITE
  • Prompt: "Comments: "
  • Line Location: A1+11
Function Call: WRITE
  • Prompt: ?0,$E($P(X,U,6),1,50)
  • Line Location: A1+12
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A1R+2
Function Call: WRITE
  • Prompt: X
  • Line Location: A1R+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: "COMMENT:"
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A1R+8
Function Call: WRITE
  • Prompt: X
  • Line Location: A1R+8
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1R+9
Function Call: WRITE
  • Prompt: "Where Performed: "
  • Line Location: A1R+9
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: A1R+10
Function Call: WRITE
  • Prompt: ?44
  • Line Location: A1R+11
Function Call: WRITE
  • Prompt: "Start - End: "
  • Line Location: A1R+11
Function Call: WRITE
  • Prompt: X
  • Line Location: A1R+12
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1R+13
Function Call: WRITE
  • Prompt: "Urgency: "
  • Line Location: A1R+13
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1R+15
Function Call: WRITE
  • Prompt: "Instrument: "
  • Line Location: A1R+15
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1R+19
Function Call: WRITE
  • Prompt: "Insertion Depth: "
  • Line Location: A1R+19
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: A1R+20
Function Call: WRITE
  • Prompt: ?21
  • Line Location: A1R+21
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1R+22
Function Call: WRITE
  • Prompt: "Medications Used:"
  • Line Location: A1R+22
Function Call: WRITE
  • Prompt: ?21
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: $E(Y,1,40)
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: " "
  • Line Location: B1+2
Function Call: WRITE
  • Prompt: X
  • Line Location: B1+3
Function Call: WRITE
  • Prompt: ?21
  • Line Location: B1R+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(3737 BEGIN+2
^MCAR(690 - [#690] A1+2, A1+12
^MCAR(695 - [#695] B1+1
^MCAR(697 - [#697] A1R+20
^MCAR(699 - [#699] BEGIN+7, BEGIN+11, BEGIN+13, BEGIN+16, A1R+5, A1R+10, A1R+12, A1R+14, A1R+20, A1R+23
, B1+1, B1+3, B1+4
^PSDRUG - [#50] B1+1
^SC - [#44] BEGIN+7, A1R+10
^UTILITY($J T, BEGIN+14
^VA(200 - [#200] BEGIN+9, BEGIN+11, BEGIN+13

Label References

Name Line Occurrences
@( M
A1 BEGIN+16
A1R BEGIN+17
B1 A1R+23
B1R A1R+24
BEGIN MCAROGM+1
N BEGIN+4, BEGIN+6, BEGIN+8, BEGIN+9, BEGIN+10, BEGIN+12, BEGIN+15, A1+1, A1+3, A1+5
, A1+7, A1+9, A1+11, A1R+2, A1R+4, A1R+8, A1R+9, A1R+11, A1R+13, A1R+15
, A1R+16, A1R+19, A1R+22, B1+1
T BEGIN+15, A1R+2, A1R+5, A1R+8, A1R+22, A1R+23

Naked Globals

Name Field # of Occurrence
^( A1R+23
^(0 BEGIN+7, BEGIN+9, BEGIN+11, BEGIN+13, BEGIN+16, A1R+10, A1R+20, B1+1, B1+3
^(1 T
^(9 A1R+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D(0 BEGIN+16*
>> D0 BEGIN+5*, BEGIN+7, BEGIN+11, BEGIN+13, BEGIN+16*, A1+2, A1+12, A1R+1*, A1R+5, A1R+10
, A1R+12, A1R+14, A1R+20, A1R+23, B1+1, B1+3, B1+4
>> D1 A1R+23*, B1+1, B1+3, B1+4
>> DICMX A1R+16*
>> DILCT T+1*, BEGIN+1*
>> DIOT(2 T
DIP BEGIN+5!, BEGIN+14!, BEGIN+15!, A1+10!, A1R+2!, A1R+3!, A1R+8!, A1R+12!, A1R+16!, A1R+21!
, B1+3!, B1R+1!
DIP(1 BEGIN+16*, A1R+12*, B1+3*
DIP(101 BEGIN+5
>> DISTP T+1*, BEGIN+1*
DIWF T, B1R+2!
>> DIWL A1R+5*, A1R+16*
>> DIWR A1R+5*, A1R+16*
>> DIXX M
>> DN T, BEGIN+1*, BEGIN+4, BEGIN+5, BEGIN+6, BEGIN+8, BEGIN+9, BEGIN+10, BEGIN+12, BEGIN+14
, BEGIN+15, A1+1, A1+3, A1+5, A1+7, A1+9, A1+10, A1+11, A1R+2, A1R+3
, A1R+4, A1R+5, A1R+8, A1R+9, A1R+11, A1R+12, A1R+13, A1R+15, A1R+16, A1R+19
, A1R+21, A1R+22, A1R+23, B1+1, B1+3, B1R+1
>> DSC( A1R+23
DUZ("LANG" DT
>> DXS BEGIN+2*
>> DXS(1 BEGIN+5
>> DXS(10 A1R+14
>> DXS(11 B1+4
>> DXS(2 BEGIN+15
>> DXS(3 A1R+2
>> DXS(4 A1R+8
>> DXS(5 A1R+16
>> DXS(6 A1+2
>> DXS(7 A1+4
>> DXS(8 A1+6
>> DXS(9 A1+8
>> I(0 BEGIN+3*, BEGIN+5, BEGIN+16*, A1R+1
>> I(1 A1R+23*
>> I(100 BEGIN+16*, A1R+1!
IOSL T
>> J(0 BEGIN+3*
>> J(1 A1R+23*
>> J(100 BEGIN+16*, A1R+1!
>> MCARGNAM A1R+21, B1R+1
U DT+1, BEGIN+5, BEGIN+7, BEGIN+9, BEGIN+11, BEGIN+13, BEGIN+16, A1+2, A1+4, A1+6
, A1+8, A1+12, A1R+5, A1R+10, A1R+12, A1R+14, A1R+20, B1+1, B1+3, B1+4
>> X BEGIN+5*, BEGIN+7*, BEGIN+9, BEGIN+11*, BEGIN+13*, BEGIN+14*, BEGIN+15, BEGIN+16*, A1+2*, A1+4
, A1+6, A1+8, A1+12*, A1R+2, A1R+5*, A1R+8, A1R+10*, A1R+12*, A1R+14*, A1R+20*
, B1+1*, B1+3*, B1+4*
Y DT, DT+1, DT+2, BEGIN+5!, BEGIN+7*, BEGIN+9*, BEGIN+11*, BEGIN+13*, BEGIN+14!, BEGIN+15!
, A1+2*, A1+4*, A1+6*, A1+8*, A1+10!, A1R+2!, A1R+3!, A1R+5*, A1R+8!, A1R+10*
, A1R+12!, A1R+14*, A1R+16!, A1R+20*, A1R+21!, B1+1*, B1+3!, B1+4*, B1R+1!, B1R+2!
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All