Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: RASTRPT1

Package: Radiology Nuclear Medicine

Routine: RASTRPT1


Information

RASTRPT1 ;HISC/SS-Status Tracking Statistics Report ;4/28/00 10:00

Source Information

Source file <RASTRPT1.m>

Entry Points

Name Comments DBIA/ICR reference
RPTP20 ;P20, create report by requesting locations from ^TMP with proc details
RPTP20S ;P20, create report by requesting locations from ^TMP proc summary
BP2
HDR3 ; Header for detailed report by requesting locations
PROC
DET1
DET2
CPT
GETLOC() ;P20 by SS
GETPROC() ;P20 by SS
SUM1
SUM2
PUTNOST(RAIM1,RADV1,RA20J) ;P20 by SS Display all locations which have not exams
STRT
LST
ISTHERE(RAIM,RADV,RALOC) ;Does this requesting location have exams is in ^TMP($J..)

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR3+2
Function Call: WRITE
  • Prompt: !,?20,"** Status Tracking Statistics Report **",?71,"Page: ",$J(RAPG,3)
  • Line Location: HDR3+3
Function Call: WRITE
  • Prompt: !,?20,"Procedure Detail by Requesting Location"
  • Line Location: HDR3+4
Function Call: WRITE
  • Prompt: !,?19,"Division Summary Requesting Location Details"
  • Line Location: HDR3+5
Function Call: WRITE
  • Prompt: !?14,"(Only requesting locations with data are included)"
  • Line Location: HDR3+6
Function Call: WRITE
  • Prompt: !!,?2,"Run Date: ",$E(DT,4,5),"/",$E(DT,6,7),"/",$E(DT,2,3)
  • Line Location: HDR3+7
Function Call: WRITE
  • Prompt: ?42,"For Period: ",$E(BEGDATE,4,5),"/",$E(BEGDATE,6,7),"/",$E(BEGDATE,2,3)," - ",$E(ENDDATE,4,5),"/",$E(ENDDATE,6,7),"/",$E(ENDDATE,2,3)
  • Line Location: HDR3+8
Function Call: WRITE
  • Prompt: !?2,"Division: ",$E($P($G(RACCESS(DUZ,"DIV",RADV,+$O(RACCESS(DUZ,"DIV",RADV,0)))),U,2),1,25),?40,"Imaging Type: ",$E(RAIMAGE(0),1,25)
  • Line Location: HDR3+9
Function Call: WRITE
  • Prompt: !?2,"Requesting Location: ",$E(RARL,1,76)
  • Line Location: HDR3+11
Function Call: WRITE
  • Prompt: !!,?10,"From: ",$S($D(^RA(72,+RAFR,0)):$P(^(0),"^"),1:"Unknown"),!,?10,"To : ",$S($D(^RA(72,+RATO,0)):$P(^(0),"^"),1:"Unknown")
  • Line Location: HDR3+12
Function Call: WRITE
  • Prompt: !,?33,"Minimum",?45,"Maximum",?57,"Average",!,?34,"Time",?46,"Time",?58,"Time",?67,"Number of",!
  • Line Location: HDR3+13
Function Call: WRITE
  • Prompt: ?4,"Procedure (CPT)"
  • Line Location: HDR3+14
Function Call: WRITE
  • Prompt: ?31,"(DD:HH:MM)",?43,"(DD:HH:MM)",?55,"(DD:HH:MM)",?67,"Procedures"
  • Line Location: HDR3+15
Function Call: WRITE
  • Prompt: !,?4,"---------------"
  • Line Location: HDR3+16
Function Call: WRITE
  • Prompt: !?31,"----------",?43,"----------",?55,"----------",?67,"----------",!
  • Line Location: HDR3+17
Function Call: WRITE
  • Prompt: !
  • Line Location: DET1+0
Function Call: WRITE
  • Prompt: RACPT
  • Line Location: DET1+1
Function Call: WRITE
  • Prompt: ?32,$P(RAPROC,"^",4),?44,$P(RAPROC,"^",2)
  • Line Location: DET1+2
Function Call: WRITE
  • Prompt: ?56,Y,?70,$J($P(RAPROC,"^",5),5)
  • Line Location: DET1+3
Function Call: WRITE
  • Prompt: !,?31,"----------",?43,"----------",?55,"----------",?67,"----------",!,?4,"Overall:"
  • Line Location: DET2+0
Function Call: WRITE
  • Prompt: ?32,$P(RASUM,"^",4),?44,$P(RASUM,"^",2)
  • Line Location: DET2+0
Function Call: WRITE
  • Prompt: ?56,Y,?70,$J($P(RASUM,"^",5),5)
  • Line Location: DET2+1
Function Call: WRITE
  • Prompt: !,?4,"From: ",$S($D(^RA(72,RAFR,0)):$P(^(0),"^"),1:"Unknown"),!,?4,"To : ",$S($D(^RA(72,+RATO,0)):$P(^(0),"^"),1:"Unknown")
  • Line Location: SUM1+0
Function Call: WRITE
  • Prompt: ?32,$P(RASUM,"^",4),?44,$P(RASUM,"^",2)
  • Line Location: SUM1+1
Function Call: WRITE
  • Prompt: ?56,Y,?70,$J($P(RASUM,"^",5),5),!
  • Line Location: SUM1+2
Function Call: WRITE
  • Prompt: !,?31,"----------",?43,"----------",?55,"----------",?67,"----------",!,?4,"From: ",$S($D(^RA(72,+RA(1),0)):$P(^(0),"^"),1:"Unknown"),!,?4,"To : ",$S($D(^RA(72,+RA,0)):$P(^(0),"^"),1:"Unknown")
  • Line Location: SUM2+0
Function Call: WRITE
  • Prompt: ?32,$P(RACOMP,"^",4),?44,$P(RACOMP,"^",2)
  • Line Location: SUM2+1
Function Call: WRITE
  • Prompt: ?56,Y
  • Line Location: SUM2+3
Function Call: WRITE
  • Prompt: !!?4,"Total number of exams moved to a status of COMPLETE"
  • Line Location: SUM2+5
Function Call: WRITE
  • Prompt: !?4,"for period ",$E(BEGDATE,4,5),"/",$E(BEGDATE,6,7),"/",$E(BEGDATE,2,3)," - ",$E(ENDDATE,4,5),"/",$E(ENDDATE,6,7),"/",$E(ENDDATE,2,3),": ",?70,$J(RAZZSS1,5)
  • Line Location: SUM2+6
Function Call: WRITE
  • Prompt: !?2,RA20B,!?2,RA20C
  • Line Location: STRT+0
Function Call: WRITE
  • Prompt: !?2,RA20A
  • Line Location: STRT+2
Function Call: WRITE
  • Prompt: !?2,RA20B,!?2,RA20C
  • Line Location: STRT+2
Info |  Source |  Entry Points |  Interaction Calls