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 |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ORWRPP1

Package: Order Entry Results Reporting

Routine: ORWRPP1


Information

ORWRPP1 ; SLC/DCM - Background Report Prints (cont.) ;Dec 02, 2021@12:51:43

Source Information

Source file <ORWRPP1.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Order Entry Results Reporting 6 PAT^ORPR03  $$DATE^ORU  (HSB,HSTYPEB,MEDB,PROBB)^ORWRP1  (BCMA1,BCMA2)^ORWRP1A  PREPORT^ORWRP2  (LRSITE,SITE)^ORWRPP  
Kernel 2 ^%ZTLOAD  ($$FMTE,$$NOW)^XLFDT  
Lab Service 1 EN1^LR7OSOS1  
Medicine 1 EN^MCARPS2  

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

Package Total Caller Graph
Order Entry Results Reporting 5 ORWLR1  ORWRP PRINT V REPORT  ORWRPL  ORWRPP  ^ORD(101.24  

Entry Points

Name Comments DBIA/ICR reference
MEDB(ROOT,ORDFN,OREXAMID,ORALPHA,OROMEGA,ORDTRNG,REMOTE,ORMAX,ORFHIE)
HSB(ROOT,ORDFN,ORHSTYPE,ORALPHA,OROMEGA,ORDTRNG,REMOTE,ORMAX,ORFHIE)
HSTYPEB(ROOT,ORDFN,ORHSTYPE,ORALPHA,OROMEGA,ORDTRNG,REMOTE,ORMAX,ORFHIE)
LSB(ROOT,ORDFN,ORHSTYPE,ORALPHA,OROMEGA,ORDTRNG,REMOTE,ORMAX,ORFHIE)
BCMA2B(ROOT,ORDFN,OREXAMID,ORALPHA,OROMEGA,ORDTRNG,REMOTE,ORMAX,ORFHIE)
BCMA1B(ROOT,ORDFN,OREXAMID,ORALPHA,OROMEGA,ORDTRNG,REMOTE,ORMAX,ORFHIE)
PROBB(ROOT,ORDFN,OREXAMID,ORALPHA,OROMEGA,ORDTRNG,REMOTE,ORMAX,ORFHIE) ;Print Problem List (Problem Tab)
GETVTYPE
PRINTV(ORY,ORIO,ORDFN,ORHEAD,ORRPT) ;Print data for remote sites
; RPC: ORWRP PRINT V REPORT
HEAD(ORDFN,PAGE,TITLE,STATION) ;Print a patient header
LRHEAD(ORDFN,PAGE,TITLE,STATION) ; modified patient header to add facility address for lab rpts
HURL(Y,ORDFN,TITLE,FORMAT,STATION,READ) ;Write out the file
LRHURL(Y,ORDFN,TITLE,FORMAT,STATION,READ) ; modified patient header to add facility address for lab rpts

External References

Name Field # of Occurrence
^%ZTLOAD PRINTV+8
EN1^LR7OSOS1 LSB+3
EN^MCARPS2 MEDB+5
PAT^ORPR03 HEAD+4, LRHEAD+4
$$DATE^ORU HEAD+11, LRHEAD+11
HSB^ORWRP1 HSB+3
HSTYPEB^ORWRP1 HSTYPEB+1
MEDB^ORWRP1 MEDB+6
PROBB^ORWRP1 PROBB+3
BCMA1^ORWRP1A BCMA1B+4
BCMA2^ORWRP1A BCMA2B+4
PREPORT^ORWRP2 HSB+2
LRSITE^ORWRPP HSB+2, HSB+3, LRHEAD+5
SITE^ORWRPP PROBB+1, HEAD+5
$$FMTE^XLFDT LSB+5, BCMA2B+7, BCMA1B+7
$$NOW^XLFDT HEAD+11, LRHEAD+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: PROBB+2
Function Call: WRITE
  • Prompt: !,TITLE,?(IOM-$L("Page "_PAGE)),"Page "_PAGE
  • Line Location: HEAD+6
Function Call: WRITE
  • Prompt: !,ORPNM_" "_ORSSN,?39,$G(ORL(0))_$S($L($G(ORL(1))):"/"_ORL(1),1:""),?(79-$L(X)),X
  • Line Location: HEAD+8
Function Call: WRITE
  • Prompt: !,ORHLINE
  • Line Location: HEAD+10
Function Call: WRITE
  • Prompt: !?27,"*** WORK COPY ONLY ***",?(IOM-($L(X))-1),X
  • Line Location: HEAD+12
Function Call: WRITE
  • Prompt: !,TITLE,?(IOM-$L("Page "_PAGE)),"Page "_PAGE
  • Line Location: LRHEAD+6
Function Call: WRITE
  • Prompt: !,ORPNM_" "_ORSSN,?39,$G(ORL(0))_$S($L($G(ORL(1))):"/"_ORL(1),1:""),?(79-$L(X)),X
  • Line Location: LRHEAD+8
Function Call: WRITE
  • Prompt: !,ORHLINE
  • Line Location: LRHEAD+10
Function Call: WRITE
  • Prompt: !?27,"*** WORK COPY ONLY ***",?(IOM-($L(X))-1),X
  • Line Location: LRHEAD+12
Function Call: WRITE
  • Prompt: !?27,"*** WORK COPY ONLY *** (continued...)"
  • Line Location: HURL+7
Function Call: READ
  • Formatting: !
  • Prompt: "^ TO STOP: "
  • Variable: A
  • Timeout: DTIME
  • Line Location: HURL+8
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HURL+9
Function Call: WRITE
  • Prompt: !,"(...continued)"
  • Line Location: HURL+12
Function Call: WRITE
  • Prompt: !,@Y@(L)
  • Line Location: HURL+19
Function Call: WRITE
  • Prompt: !,@Y@(L,0)
  • Line Location: HURL+25
Function Call: WRITE
  • Prompt: !?27,"*** WORK COPY ONLY ***"
  • Line Location: HURL+26
Function Call: WRITE
  • Prompt: !?27,"*** WORK COPY ONLY *** (continued...)"
  • Line Location: LRHURL+7
Function Call: READ
  • Formatting: !
  • Prompt: "^ TO STOP: "
  • Variable: A
  • Timeout: DTIME
  • Line Location: LRHURL+8
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: LRHURL+9
Function Call: WRITE
  • Prompt: !,"(...continued)"
  • Line Location: LRHURL+12
Function Call: WRITE
  • Prompt: !,@Y@(L)
  • Line Location: LRHURL+19
Function Call: WRITE
  • Prompt: !,@Y@(L,0)
  • Line Location: LRHURL+25
Function Call: WRITE
  • Prompt: !?27,"*** WORK COPY ONLY ***"
  • Line Location: LRHURL+26

Used in RPC

RPC Name Call Tags
ORWRP PRINT V REPORT PRINTV

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("MCAR" MEDB+1!, MEDB+7!

Label References

Name Line Occurrences
HEAD LSB+6, BCMA2B+8, BCMA1B+8, GETVTYPE+2, HURL+11
HURL LSB+7, BCMA2B+9, BCMA1B+9, GETVTYPE+3
LRHEAD LRHURL+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% MEDB+3~, HEAD+2~, LRHEAD+2~
%H HEAD+2~, LRHEAD+2~
%I MEDB+3~, HEAD+2~, LRHEAD+2~
A HURL+2~, HURL+8*, LRHURL+2~, LRHURL+8*
DA MEDB+3~
DILCT MEDB+3~
DISTP MEDB+3~
DISYS HEAD+2~, LRHEAD+2~
DTIME HURL+8, LRHURL+8
FORMAT HURL~, HURL+13, LRHURL~, LRHURL+13
I PRINTV+2~, PRINTV+7*
>> ID PROBB+3
IO BCMA2B+3~, BCMA2B+5, BCMA1B+3~, BCMA1B+5
IOF HURL+9, LRHURL+9
IOM HEAD+6, HEAD+9, HEAD+12, LRHEAD+6, LRHEAD+9, LRHEAD+12
IOSL HURL+5, LRHURL+5
>> IOT HURL+8, HURL+10, LRHURL+8, LRHURL+10
L HURL+2~, HURL+3*, HURL+4*, HURL+14, HURL+15, HURL+16, HURL+17, HURL+18, HURL+19, HURL+20
, HURL+21, HURL+22, HURL+23, HURL+24, HURL+25, LRHURL+2~, LRHURL+3*, LRHURL+4*, LRHURL+14, LRHURL+15
, LRHURL+16, LRHURL+17, LRHURL+18, LRHURL+19, LRHURL+20, LRHURL+21, LRHURL+22, LRHURL+23, LRHURL+24, LRHURL+25
NOHURL HURL+2~, HURL+3*, HURL+15, HURL+16*, HURL+17*, HURL+21, HURL+22*, HURL+23*, LRHURL+2~, LRHURL+3*
, LRHURL+15, LRHURL+16*, LRHURL+17*, LRHURL+21, LRHURL+22*, LRHURL+23*
ORAGE HEAD+2~, HEAD+7, LRHEAD+2~, LRHEAD+7
ORALPHA MEDB~, MEDB+6, HSB~, HSB+3, HSTYPEB~, HSTYPEB+1, LSB~, LSB+3, LSB+5, BCMA2B~
, BCMA2B+4, BCMA2B+7, BCMA1B~, BCMA1B+4, BCMA1B+7, PROBB~, PROBB+3
>> ORCOMP HSB+2
>> ORCOMP(0 HSB+2
ORDFN MEDB~, MEDB+5, MEDB+6, HSB~, HSB+2, HSB+3, HSTYPEB~, HSTYPEB+1, LSB~, LSB+2
, LSB+6, LSB+7, BCMA2B~, BCMA2B+4, BCMA2B+8, BCMA2B+9, BCMA1B~, BCMA1B+4, BCMA1B+8, BCMA1B+9
, PROBB~, PROBB+3, GETVTYPE+2, GETVTYPE+3, PRINTV~, HEAD~, HEAD+1, HEAD+4, LRHEAD~, LRHEAD+1
, LRHEAD+4, HURL~, HURL+11, LRHURL~, LRHURL+11
ORDOB HEAD+2~, HEAD+7, LRHEAD+2~, LRHEAD+7
ORDTRNG MEDB~, MEDB+6, HSB~, HSB+3, HSTYPEB~, HSTYPEB+1, LSB~, LSB+3, BCMA2B~, BCMA2B+4
, BCMA1B~, BCMA1B+4, PROBB~, PROBB+3
OREXAMID MEDB~, MEDB+6, BCMA2B~, BCMA2B+4, BCMA1B~, BCMA1B+4, PROBB~
ORFHIE MEDB~, MEDB+6, HSB~, HSB+3, HSTYPEB~, HSTYPEB+1, LSB~, BCMA2B~, BCMA2B+4, BCMA1B~
, BCMA1B+4, PROBB~, PROBB+3
ORHEAD GETVTYPE+2, GETVTYPE+3, PRINTV~
ORHFS MEDB+3~, MEDB+4*
ORHLINE HEAD+2~, HEAD+9*, HEAD+10, LRHEAD+2~, LRHEAD+9*, LRHEAD+10
ORHSTAG PRINTV+2~
ORHSTYPE HSB~, HSB+3, HSTYPEB~, HSTYPEB+1, LSB~
ORI HEAD+2~, LRHEAD+2~
ORIO PRINTV~, PRINTV+4
ORL HEAD+2~, LRHEAD+2~
ORL(0 HEAD+8, LRHEAD+8
ORL(1 HEAD+8, LRHEAD+8
ORMAX MEDB~, MEDB+6, HSB~, HSB+3, HSTYPEB~, HSTYPEB+1, LSB~, BCMA2B~, BCMA2B+4, BCMA1B~
, BCMA1B+4, PROBB~, PROBB+3
ORNP HEAD+2~, LRHEAD+2~
OROMEGA MEDB~, MEDB+6, HSB~, HSB+3, HSTYPEB~, HSTYPEB+1, LSB~, LSB+3, LSB+5, BCMA2B~
, BCMA2B+4, BCMA2B+7, BCMA1B~, BCMA1B+4, BCMA1B+7, PROBB~, PROBB+3
ORPNM HEAD+2~, HEAD+8, LRHEAD+2~, LRHEAD+8
ORPV HEAD+2~, LRHEAD+2~
ORRPT PRINTV~
ORSEX HEAD+2~, LRHEAD+2~
ORSSN HEAD+2~, HEAD+8, LRHEAD+2~, LRHEAD+8
ORTS HEAD+2~, LRHEAD+2~
ORVP LSB+1~, LSB+2*, LSB+3
ORWARD HEAD+2~, LRHEAD+2~
ORY LSB+1~, LSB+3, LSB+4, LSB+7, BCMA2B+1~, BCMA2B+4, BCMA2B+6, BCMA2B+9, BCMA2B+10, BCMA1B+1~
, BCMA1B+4, BCMA1B+6, BCMA1B+9, BCMA1B+10, PROBB+3, GETVTYPE+1*, GETVTYPE+3, PRINTV~, PRINTV+10*, PRINTV+12*
OUT HURL+2~, HURL+3*, HURL+4, HURL+8*, LRHURL+2~, LRHURL+3*, LRHURL+4, LRHURL+8*
PAGE LSB+1~, LSB+5*, LSB+6, BCMA2B+1~, BCMA2B+7*, BCMA2B+8, BCMA1B+1~, BCMA1B+7*, BCMA1B+8, GETVTYPE+1*
GETVTYPE+2, HEAD~, HEAD+6, LRHEAD~, LRHEAD+6, HURL+6*, HURL+11, LRHURL+6*, LRHURL+11
READ HURL~, HURL+8, LRHURL~, LRHURL+8
REMOTE MEDB~, MEDB+6, HSB~, HSB+3, HSTYPEB~, HSTYPEB+1, LSB~, BCMA2B~, BCMA2B+4, BCMA1B~
, BCMA1B+4, PROBB~, PROBB+3
ROOT MEDB~, MEDB+6, HSB~, HSB+2, HSB+3, HSTYPEB~, HSTYPEB+1, LSB~, BCMA2B~, BCMA1B~
, PROBB~
S1 MEDB+3~
S2 MEDB+3~
S4 MEDB+3~
S6 MEDB+3~
STATION HSB+2, HSB+3, BCMA2B+8, BCMA1B+8, PROBB+1, GETVTYPE+2, HEAD~, HEAD+5, LRHEAD~, LRHEAD+5
, HURL~, HURL+11, LRHURL~, LRHURL+11
TEXT LSB+1~, LSB+5*, LSB+6, LSB+7, BCMA2B+1~, BCMA2B+7*, BCMA2B+8, BCMA2B+9, BCMA1B+1~, BCMA1B+7*
, BCMA1B+8, BCMA1B+9
TITLE HEAD~, HEAD+3*, HEAD+6, LRHEAD~, LRHEAD+3*, LRHEAD+6, HURL~, HURL+11, LRHURL~, LRHURL+11
TY MEDB+3~
VA HEAD+2~, LRHEAD+2~
WH MEDB+3~
X HEAD+2~, HEAD+7*, HEAD+8, HEAD+11*, HEAD+12, LRHEAD+2~, LRHEAD+7*, LRHEAD+8, LRHEAD+11*, LRHEAD+12
Y HURL~, HURL+4, HURL+14, HURL+15, HURL+16, HURL+17, HURL+18, HURL+19, HURL+20, HURL+21
, HURL+22, HURL+23, HURL+24, HURL+25, LRHURL~, LRHURL+4, LRHURL+14, LRHURL+15, LRHURL+16, LRHURL+17
, LRHURL+18, LRHURL+19, LRHURL+20, LRHURL+21, LRHURL+22, LRHURL+23, LRHURL+24, LRHURL+25
ZTDESC PRINTV+2~, PRINTV+5*
ZTDTH PRINTV+2~, PRINTV+4*
>> ZTIO PRINTV+4*
ZTRTN PRINTV+2~, PRINTV+6*
ZTSAVE PRINTV+2~
ZTSAVE( PRINTV+7*
ZTSK PRINTV+2~, PRINTV+9, PRINTV+10
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All