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

Package: Medicine

Routine: MCAROGA


Information

MCAROGA ; GENERATED FROM 'MCAROGA' PRINT TEMPLATE (#1001) ; 10/04/96 ; (FILE 699, MARGIN=80)

Source Information

Source file <MCAROGA.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 4 $$OUT^DIALOGU  CSTP^DIO2  ^DIWP  A^DIWW  
Medicine 2 TECH^MCARGS  ^MCAROGA1  

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
Medicine 1 MCARP  

Entry Points

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

External References

Name Field # of Occurrence
$$OUT^DIALOGU DT
CSTP^DIO2 T+1
^DIWP F1+1
A^DIWW F1R+1
TECH^MCARGS A2R+3
^MCAROGA1 F1R+5

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: ?0
  • Line Location: BEGIN+3
Function Call: WRITE
  • Prompt: X
  • Line Location: BEGIN+3
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: "LOCATION: "
  • Line Location: A1+1
Function Call: WRITE
  • Prompt: ?14
  • Line Location: A1+2
Function Call: WRITE
  • Prompt: $E(Y,1,30)
  • Line Location: A1+2
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+3
Function Call: WRITE
  • Prompt: "DESCRIPTION: "
  • Line Location: A1+3
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A1+4
Function Call: WRITE
  • Prompt: $E(Y,1,20)
  • Line Location: A1+4
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A1+5
Function Call: WRITE
  • Prompt: ?27
  • Line Location: A1+6
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+7
Function Call: WRITE
  • Prompt: X
  • Line Location: A1+7
Function Call: WRITE
  • Prompt: ?0,$E($P(X,U,4),1,15)
  • Line Location: A1+8
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1+9
Function Call: WRITE
  • Prompt: "Technique: "
  • Line Location: A1+9
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A2+1
Function Call: WRITE
  • Prompt: $E(Y,1,60)
  • Line Location: A2+1
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A2R+1
Function Call: WRITE
  • Prompt: "Impression: "
  • Line Location: A2R+1
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A2R+2
Function Call: WRITE
  • Prompt: $E(Y,1,50)
  • Line Location: A2R+2
Function Call: WRITE
  • Prompt: ?16
  • Line Location: A2R+3
Function Call: WRITE
  • Prompt: ?27
  • Line Location: A1R+1
Function Call: WRITE
  • Prompt: ?38
  • Line Location: A1R+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: X
  • Line Location: A1R+3
Function Call: WRITE
  • Prompt: ?2
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: "Results:"
  • Line Location: A1R+4
Function Call: WRITE
  • Prompt: ?11
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: $E(Y,1,60)
  • Line Location: B1+1
Function Call: WRITE
  • Prompt: ?2
  • Line Location: B1R+1
Function Call: WRITE
  • Prompt: "Complications: "
  • Line Location: B1R+1
Function Call: WRITE
  • Prompt: ?17
  • Line Location: C1+1
Function Call: WRITE
  • Prompt: $E(Y,1,40)
  • Line Location: C1+1
Function Call: WRITE
  • Prompt: ", "
  • Line Location: C1+2
Function Call: WRITE
  • Prompt: ?2
  • Line Location: D1+1
Function Call: WRITE
  • Prompt: "Disposition: "
  • Line Location: D1+1
Function Call: WRITE
  • Prompt: ?20
  • Line Location: D1+2
Function Call: WRITE
  • Prompt: $S($D(DXS(11,Y)):DXS(11,Y),1:Y)
  • Condition for execution: Y]""
  • Line Location: D1+2
Function Call: WRITE
  • Prompt: ?12
  • Line Location: D1+3
Function Call: WRITE
  • Prompt: "Date: "
  • Line Location: D1+3
Function Call: WRITE
  • Prompt: ?20
  • Line Location: D1+4
Function Call: WRITE
  • Prompt: ?12
  • Line Location: D1+5
Function Call: WRITE
  • Prompt: "Reason: "
  • Line Location: D1+5
Function Call: WRITE
  • Prompt: ?20,$E($P(X,U,3),1,80)
  • Line Location: D1+6
Function Call: WRITE
  • Prompt: ?0
  • Line Location: D1R+1
Function Call: WRITE
  • Prompt: X
  • Line Location: D1R+1
Function Call: WRITE
  • Prompt: ?2
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: "Primary: "
  • Line Location: D1R+2
Function Call: WRITE
  • Prompt: ?17
  • Line Location: D1R+3
Function Call: WRITE
  • Prompt: $E(Y,1,50)
  • Line Location: D1R+3
Function Call: WRITE
  • Prompt: ?17,$E($P(X,U,1),1,60)
  • Line Location: D1R+4
Function Call: WRITE
  • Prompt: ?2
  • Line Location: E1+1
Function Call: WRITE
  • Prompt: "Secondary: "
  • Line Location: E1+1
Function Call: WRITE
  • Prompt: ?17
  • Line Location: E1+2
Function Call: WRITE
  • Prompt: $E(Y,1,50)
  • Line Location: E1+2
Function Call: WRITE
  • Prompt: ?17,$E($P(X,U,2),1,60)
  • Line Location: E1+3
Function Call: WRITE
  • Prompt: ?2
  • Line Location: E1R+1
Function Call: WRITE
  • Prompt: "Supplement: "
  • Line Location: E1R+1
Function Call: WRITE
  • Prompt: ?2
  • Line Location: F1R+2
Function Call: WRITE
  • Prompt: X
  • Line Location: F1R+2
Function Call: WRITE
  • Prompt: ?0
  • Line Location: F1R+3
Function Call: WRITE
  • Prompt: X
  • Line Location: F1R+3
Function Call: WRITE
  • Prompt: ?2
  • Line Location: F1R+4
Function Call: WRITE
  • Prompt: "Prescriptions: "
  • Line Location: F1R+4
Routine Call
  • DIALOGU
  • Line Location:
    • DT

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIPT(1001 BEGIN+2
^MCAR(696.9 - [#696.9] C1+1
^MCAR(697 - [#697] A1+2
^MCAR(697.5 - [#697.5] A2R+2, D1R+3, E1+2
^MCAR(699 - [#699] BEGIN+4, A1+2, A1+8, A1+10, A2+1, A2R+2, A1R+5, B1+1, B1R+2, C1+1
C1R+1, D1+2, D1R+3, D1R+4, D1R+5, E1+2, E1R+2, F1+1
^MCAR(699.55 - [#699.55] A1+4
^MCAR(699.6 - [#699.6] A2+1
^MCAR(699.81 - [#699.81] B1+1
^UTILITY($J T

Label References

Name Line Occurrences
@( M
A1 BEGIN+4
A1R BEGIN+5
A2 A1+10
A2R A1+11
B1 A1R+5
B1R A1R+6
BEGIN MCAROGA+1
C1 B1R+2
C1R B1R+3
D1 C1R+1
D1R C1R+2
DT D1+4
E1 D1R+5
E1R D1R+6
F1 E1R+2
F1R E1R+3
N BEGIN+3, A1+1, A1+3, A1+4, A1+7, A1+9, A2+1, A2R+1, A2R+2, A1R+3
A1R+4, B1+1, B1R+1, C1+1, D1+1, D1+2, D1+3, D1+4, D1+5, D1+6
D1R+1, D1R+2, D1R+3, D1R+4, E1+1, E1+2, E1+3, E1R+1, F1R+2, F1R+3
F1R+4
T BEGIN+3, BEGIN+4, A1+1, A1+10, A1R+3, A1R+5, B1R+2, C1R+1, D1R+1, D1R+5
E1R+2, F1R+3

Naked Globals

Name Field # of Occurrence
^( BEGIN+2, BEGIN+4, A1+10, A1R+5, B1R+2, C1R+1, D1R+5, E1R+2
^(0 A1+2, A1+4, A2+1, A2R+2, B1+1, C1+1, D1R+3, E1+2
^(1 T

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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