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

Package: Record Tracking

Routine: RTP51


Information

RTP51 ;MJK/TROY ISC;Clinic Pull List; ; 5/7/87 12:22 PM ;

Source Information

Source file <RTP51.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Record Tracking 3 (BOR,NAME)^RTB  ESC^RTRD  LINE^RTUTL3  
VA FileMan 3 (D,Y)^DIQ  ^DIWP  ^DIWW  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Record Tracking 1 RTP5  

Entry Points

Name Comments DBIA/ICR reference
PRTCHK
PRT
PRT0
HD ;
HDPULL ;

External References

Name Field # of Occurrence
D^DIQ HD+2, HD+4
Y^DIQ PRT+4, HDPULL+2
^DIWP HDPULL+4
^DIWW HDPULL+5
BOR^RTB PRT+3, PRT+4, PRT0
NAME^RTB PRT+1
ESC^RTRD HD+1
LINE^RTUTL3 PRT+5, HD+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: PRT+6
Function Call: WRITE
  • Prompt: ?27,RTYPE
  • Condition for execution: RTLNME'=RTCNME RTTD,?5,$E(RTCNME,1,20) W:RTL'=RT
  • Line Location: PRT+6
Function Call: WRITE
  • Prompt: ?33,$J(RTQ,8),?42,$E(RTQST,1,12),?55,$E(RTQNME,1,15),?72,RTQTIME,?82,$E(RTCLOC,1,18)
  • Line Location: PRT+6
Function Call: WRITE
  • Prompt: ?105,$E(Y,1,20),?127,$E(X,1,2)_":"_$E(X,3,4)
  • Line Location: PRT0+0
Function Call: WRITE
  • Prompt: $S($P(RTQ0,"^",6)="x":"[*** CANCELLED ***]",1:""),?67,$S(RTWARD]"":"[Current Ward: "_RTWARD_"]",1:"")
  • Line Location: PRTCHK+1
Function Call: WRITE
  • Prompt: @IOF,!,"Record Pull List",$S(RTLIST="U":" [UPDATE ONLY]",RTLIST="N":" [NOT FILLABLE REQUESTS]",1:"")," - ",$P($P(RTAPL,"^"),";",2),?103,"Page : ",RTPAGE,!,"[Institution : ",$P(^DIC(4,RTDV,0),"^"),"]",?103,"Run Date: ",Y
  • Line Location: HD+3
Function Call: WRITE
  • Prompt: !,"[Sorted by: ",$S(RTSORT="C":"Clinic and Terminal Digits",RTSORT="A":"Clinic and Appointment Time",$D(RTTDFL):"Terminal Digits",1:"Name"),"]"
  • Line Location: HD+4
Function Call: WRITE
  • Prompt: ?97,"Requested Date: ",Y
  • Line Location: HD+4
Function Call: WRITE
  • Prompt: !!?5,"Name",?27,"Type",?33,"Request#",?42,"Status",?55,"Requestor",?72,"Time",?82,"Current Location",?105,"Other Requests for Record:"
  • Line Location: HD+5
Function Call: WRITE
  • Prompt: !?5,"[Record Request Pull List for ",RTPNME,$S(RTLIST="U":" *** UPDATE ONLY ***",RTLIST="N":" *** REQUESTS NOT FILLABLE ONLY ***",1:""),"]"
  • Line Location: HDPULL+1
Function Call: WRITE
  • Prompt: " [Pull List Status: ",Y,"]"
  • Line Location: HDPULL+2
Function Call: WRITE
  • Prompt: !
  • Line Location: HDPULL+3
Function Call: WRITE
  • Prompt: !!?5,"COMMENT: "
  • Line Location: HDPULL+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(190.1 PRT+4
^DD(194.2 HDPULL+2
^DIC(195.2 - [#195.2] PRT+2
^DIC(4 - [#4] HD+3
^DPT - [#2] PRT+1
^RT - [#190] PRT+3
^RTV(190.1 - [#190.1] PRT+8*
^RTV(194.2 - [#194.2] HDPULL+3, HDPULL+4
^TMP($J PRT, PRT+7, HDPULL+2

Label References

Name Line Occurrences
@( PRT
PRT0 PRT+7
PRTCHK PRT+7, PRT+8

Naked Globals

Name Field # of Occurrence
^( PRT+1, PRT+7, HDPULL+2, HDPULL+4
^("CL" PRT+3
^(0 PRT+1, PRT+2, HDPULL+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> C PRT+4*, HDPULL+2*
>> DIWF HDPULL+4*
>> DIWL HDPULL+4*
IOF HD+3
IOSL PRT
IOST HD+1
Q PRT+7*, PRT+9!
Q0 PRT+7*, PRT+9!, PRT0
>> RT PRT, PRT+3, PRT+6, PRT+7, PRT+9
>> RT0 PRT+1, PRT+2
>> RTAPL HD+3
RTC PRT+7*, PRT+8, PRTCHK+1, HDPULL+4*, HDPULL+5!
RTC1 HDPULL+4*, HDPULL+5!
>> RTCLOC PRT+3*, PRT+6
>> RTCNME PRT+1*, PRT+5, PRT+6, PRT+9
>> RTDT HD+4
>> RTDV HD+3
RTESC PRT, HD+1!
>> RTHD PRT
>> RTL PRT+6, PRT+7, PRT+9*
>> RTLIST PRT+8, HD+3, HDPULL+1
>> RTLNME PRT+5, PRT+6, PRT+9*
>> RTPAGE HD+1, HD+2*, HD+3
>> RTPNME HDPULL+1, HDPULL+2
>> RTPULL HDPULL+3, HDPULL+4
>> RTQ PRT+6, PRT+7, PRT+8
>> RTQ0 PRT+4, PRTCHK, PRTCHK+1
RTQDT PRT+7*, PRT+9!
>> RTQNME PRT+4*, PRT+6
>> RTQST PRT+4*, PRT+6
>> RTQTIME PRT+4*, PRT+6
>> RTRDT PRT+8, HD+2
>> RTSORT PRT+8, HD+4
>> RTTD PRT+1*, PRT+6
>> RTTDFL HD+4
RTWARD PRT+1*, PRT+9!, PRTCHK, PRTCHK+1
>> RTYPE PRT+2*, PRT+6
>> X PRT+1*, PRT0*, HDPULL+4*
>> Y PRT+1*, PRT+3*, PRT+4*, PRT0*, HD+2*, HD+3, HD+4*, HDPULL+2*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All