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.) ; 12/05/02 11:02

Source Information

Source file <ORWRPP1.m>

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  SITE^ORWRPP  
Kernel 2 ^%ZTLOAD  ($$FMTE,$$NOW)^XLFDT  
Lab Service 1 EN1^LR7OSOS1  
Medicine 1 EN^MCARPS2  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Order Entry Results Reporting 3 ORWLR1  ORWRPL  ORWRPP  

Entry Points

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

External References

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

Interaction Calls

Name Line Occurrences
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: !?27,"*** WORK COPY ONLY *** (continued...)"
  • Line Location: HURL+7
Function Call: READ
  • Prompt: "^ TO STOP: "
  • Formatting: !
  • Timeout: DTIME
  • Variable: A
  • 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

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% MEDB+3~, HEAD+2~
%H HEAD+2~
%I MEDB+3~, HEAD+2~
A HURL+2~, HURL+8*
DA MEDB+3~
DILCT MEDB+3~
DISTP MEDB+3~
DISYS HEAD+2~
DTIME HURL+8
FORMAT HURL~, HURL+13
I PRINTV+2~, PRINTV+7*
>> ID PROBB+1
IO BCMA2B+3~, BCMA2B+5, BCMA1B+3~, BCMA1B+5
IOF HURL+9
IOM HEAD+6, HEAD+9, HEAD+12
IOSL HURL+5
>> IOT HURL+8, HURL+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
NOHURL HURL+2~, HURL+3*, HURL+15, HURL+16*, HURL+17*, HURL+21, HURL+22*, HURL+23*
ORAGE HEAD+2~, HEAD+7
ORALPHA MEDB~, MEDB+6, HSB~, HSB+2, HSTYPEB~, HSTYPEB+1, LSB~, LSB+3, LSB+5, BCMA2B~
, BCMA2B+4, BCMA2B+7, BCMA1B~, BCMA1B+4, BCMA1B+7, PROBB~, PROBB+1
>> ORCOMP HSB+1
>> ORCOMP(0 HSB+1
ORDFN MEDB~, MEDB+5, MEDB+6, HSB~, HSB+1, HSB+2, 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+1, GETVTYPE+2, GETVTYPE+3, PRINTV~, HEAD~, HEAD+1, HEAD+4, HURL~, HURL+11
ORDOB HEAD+2~, HEAD+7
ORDTRNG MEDB~, MEDB+6, HSB~, HSB+2, HSTYPEB~, HSTYPEB+1, LSB~, LSB+3, BCMA2B~, BCMA2B+4
, BCMA1B~, BCMA1B+4, PROBB~, PROBB+1
OREXAMID MEDB~, MEDB+6, BCMA2B~, BCMA2B+4, BCMA1B~, BCMA1B+4, PROBB~
ORFHIE MEDB~, MEDB+6, HSB~, HSB+2, HSTYPEB~, HSTYPEB+1, LSB~, BCMA2B~, BCMA2B+4, BCMA1B~
, BCMA1B+4, PROBB~, PROBB+1
ORHEAD GETVTYPE+2, GETVTYPE+3, PRINTV~
ORHFS MEDB+3~, MEDB+4*
ORHLINE HEAD+2~, HEAD+9*, HEAD+10
ORHSTAG PRINTV+2~
ORHSTYPE HSB~, HSB+2, HSTYPEB~, HSTYPEB+1, LSB~
ORI HEAD+2~
ORIO PRINTV~, PRINTV+4
ORL HEAD+2~
ORL(0 HEAD+8
ORL(1 HEAD+8
ORMAX MEDB~, MEDB+6, HSB~, HSB+2, HSTYPEB~, HSTYPEB+1, LSB~, BCMA2B~, BCMA2B+4, BCMA1B~
, BCMA1B+4, PROBB~, PROBB+1
ORNP HEAD+2~
OROMEGA MEDB~, MEDB+6, HSB~, HSB+2, HSTYPEB~, HSTYPEB+1, LSB~, LSB+3, LSB+5, BCMA2B~
, BCMA2B+4, BCMA2B+7, BCMA1B~, BCMA1B+4, BCMA1B+7, PROBB~, PROBB+1
ORPNM HEAD+2~, HEAD+8
ORPV HEAD+2~
ORRPT PRINTV~
ORSEX HEAD+2~
ORSSN HEAD+2~, HEAD+8
ORTS HEAD+2~
ORVP LSB+1~, LSB+2*, LSB+3
ORWARD HEAD+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+1, GETVTYPE+1*, GETVTYPE+3, PRINTV~, PRINTV+10*, PRINTV+12*
OUT HURL+2~, HURL+3*, HURL+4, HURL+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, HURL+6*, HURL+11
READ HURL~, HURL+8
REMOTE MEDB~, MEDB+6, HSB~, HSB+2, HSTYPEB~, HSTYPEB+1, LSB~, BCMA2B~, BCMA2B+4, BCMA1B~
, BCMA1B+4, PROBB~, PROBB+1
ROOT MEDB~, MEDB+6, HSB~, HSB+1, HSB+2, HSTYPEB~, HSTYPEB+1, LSB~, BCMA2B~, BCMA1B~
, PROBB~
S1 MEDB+3~
S2 MEDB+3~
S4 MEDB+3~
S6 MEDB+3~
STATION HSB+1, HSB+2, BCMA2B+8, BCMA1B+8, PROBB+1, GETVTYPE+2, HEAD~, HEAD+5, HURL~, HURL+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, HURL~, HURL+11
TY MEDB+3~
VA HEAD+2~
WH MEDB+3~
X HEAD+2~, HEAD+7*, HEAD+8, HEAD+11*, HEAD+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
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