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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: BLRAAORR

Package: IHS Changes To Lab

Routine: BLRAAORR


Information

BLRAAORR ;IHS/OIT/MKK - IHS LAB ASK-AT-ORDER REPORTS ; JUL 06, 2011 3:15 PM

Source Information

Source file <BLRAAORR.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Lab Service 3 $$S^LR7OS  LN^LR7OSAP  $$FMT^LR7OSAP1  
Kernel 2 $$HTE^XLFDT  $$TRIM^XLFSTR  
IHS Changes To Lab 1 (HEADERDT,HEADERPG,PRESSKEY)^BLRGMENU  

Entry Points

Name Comments DBIA/ICR reference
ORDNRPTI ; EP
DATARPTA ; EP - Report on Data Global - Accession Number, not Test IEN
DATARPTB(MAXCOL) ; EP - Breakout Variables from global
WRAP(ROOT,FMT,PUTIT) ; EP - Wrap text
ERSSRPTI ; EP - Initialize variables
ORDNREPT(LRORD) ; EP -- Report on Lab Data File Ask at Order questions given Lab Order Number
DATARPTI ; EP - Initialize variables
ERSSRPTL ; EP - Write a line of data
DATARPTL ; EP - Write a line of data
DATAREPT ; EP - Report on Data Global
ERRSREPT ; EP - Report on Errors Global
MULTLINE(TAB) ; EP - Answer too long for one line; print rest of lines.
DATRPTAL ; EP - Write a line of data
EMPTYDB(MSG) ; EP - Empty DB Message
SHOWACCS(LRORD) ;EP - Given an Order Number, show it's Accession Number(s)
DATRPTAI ; EP - Initialize variables

External References

Name Field # of Occurrence
HEADERDT^BLRGMENU EMPTYDB+2
HEADERPG^BLRGMENU DATARPTL+1, DATRPTAL+1, ERSSRPTL+1, ORDNREPT+25
PRESSKEY^BLRGMENU DATAREPT+16, DATARPTA+16, ERRSREPT+16
$$S^LR7OS WRAP+9
LN^LR7OSAP WRAP+9
$$FMT^LR7OSAP1 WRAP+7
$$HTE^XLFDT DATARPTB+20
$$TRIM^XLFSTR ORDNREPT+24

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: DATAREPT+11
Function Call: WRITE
  • Prompt: LRORDN
  • Line Location: DATARPTL+5
Function Call: WRITE
  • Prompt: ?8,CANCEL
  • Line Location: DATARPTL+6
Function Call: WRITE
  • Prompt: ?9,P60
  • Line Location: DATARPTL+7
Function Call: WRITE
  • Prompt: ?19,LINEWRAP(1)
  • Line Location: DATARPTL+8
Function Call: WRITE
  • Prompt: ?50,ANSWER
  • Line Location: DATARPTL+9
Function Call: WRITE
  • Prompt: ?64,EHDT
  • Line Location: DATARPTL+10
Function Call: WRITE
  • Prompt: !
  • Line Location: DATARPTL+11
Function Call: WRITE
  • Prompt: !
  • Line Location: DATARPTA+11
Function Call: WRITE
  • Prompt: LRORDN
  • Line Location: DATRPTAL+5
Function Call: WRITE
  • Prompt: ?8,CANCEL
  • Line Location: DATRPTAL+6
Function Call: WRITE
  • Prompt: ?9,LRAS
  • Line Location: DATRPTAL+7
Function Call: WRITE
  • Prompt: ?29,LINEWRAP(1)
  • Line Location: DATRPTAL+8
Function Call: WRITE
  • Prompt: ?50,ANSWER
  • Line Location: DATRPTAL+9
Function Call: WRITE
  • Prompt: ?64,EHDT
  • Line Location: DATRPTAL+10
Function Call: WRITE
  • Prompt: !
  • Line Location: DATRPTAL+11
Function Call: WRITE
  • Prompt: !!,?9,MSG,!
  • Line Location: EMPTYDB+3
Function Call: WRITE
  • Prompt: ?TAB,LINEWRAP(WRAPLINE),!
  • Line Location: MULTLINE+3
Function Call: WRITE
  • Prompt: LRDFN
  • Line Location: ERSSRPTL+5
Function Call: WRITE
  • Prompt: ?9,LRIDT
  • Line Location: ERSSRPTL+6
Function Call: WRITE
  • Prompt: ?26,LRODT
  • Line Location: ERSSRPTL+7
Function Call: WRITE
  • Prompt: ?36,LRSP
  • Line Location: ERSSRPTL+8
Function Call: WRITE
  • Prompt: ?42,P60
  • Line Location: ERSSRPTL+9
Function Call: WRITE
  • Prompt: ?52,ORD
  • Line Location: ERSSRPTL+10
Function Call: WRITE
  • Prompt: ?57,$E(ERRMSG,1,23)
  • Line Location: ERSSRPTL+11
Function Call: WRITE
  • Prompt: !
  • Line Location: ERSSRPTL+12
Function Call: WRITE
  • Prompt: LRAS,?19,STR,!
  • Line Location: ORDNREPT+27
Function Call: WRITE
  • Prompt: LRAS,?19,$E(STR,1,59),!
  • Line Location: ORDNREPT+29
Function Call: WRITE
  • Prompt: ?19,$E(STR,60,$L(STR)),!
  • Line Location: ORDNREPT+30
Function Call: WRITE
  • Prompt: LRORD
  • Line Location: SHOWACCS+18
Function Call: WRITE
  • Prompt: ?9,LRAS
  • Line Location: SHOWACCS+19
Function Call: WRITE
  • Prompt: ?29,LRAA
  • Line Location: SHOWACCS+20
Function Call: WRITE
  • Prompt: ?34,LRAD
  • Line Location: SHOWACCS+21
Function Call: WRITE
  • Prompt: ?44,LRAN
  • Line Location: SHOWACCS+22
Function Call: WRITE
  • Prompt: !
  • Line Location: SHOWACCS+23
Function Call: WRITE
  • Prompt: !!,"No Accessions found for Order Number:",LRORD,!!
  • Line Location: SHOWACCS+28

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BLRAAOQD( DATAREPT+6, DATAREPT+7, DATAREPT+8, DATAREPT+9, DATARPTB+17, DATARPTA+6, DATARPTA+7, DATARPTA+8, DATARPTA+9
^BLRAAORE( ERRSREPT+6, ERRSREPT+7, ERRSREPT+8, ERRSREPT+9, ERRSREPT+10, ERRSREPT+11, ERSSRPTL+3
^LR - [#63] ORDNREPT+23, ORDNREPT+24
^LRO(68 - [#68] DATARPTB+13, ORDNREPT+14, ORDNREPT+17, ORDNREPT+18, SHOWACCS+15
^LRO(69 - [#69] DATARPTB+8, DATARPTB+9, DATARPTB+15, DATARPTB+31, DATARPTB+32, DATARPTB+34, ORDNREPT+7, ORDNREPT+9, ORDNREPT+11, ORDNREPT+12
, SHOWACCS+8, SHOWACCS+10, SHOWACCS+12, SHOWACCS+13

Label References

Name Line Occurrences
DATARPTB DATARPTL+3, DATRPTAL+3
DATARPTI DATAREPT+4
DATARPTL DATAREPT+10
DATRPTAI DATARPTA+4
DATRPTAL DATARPTA+10
EMPTYDB DATAREPT+14, DATARPTA+14, ERRSREPT+14
ERSSRPTI ERRSREPT+4
ERSSRPTL ERRSREPT+12
MULTLINE DATARPTL+15, DATRPTAL+15
ORDNRPTI ORDNREPT+4, SHOWACCS+5
WRAP DATARPTB+26

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ANSWER DATAREPT+1~, DATARPTL+9, DATARPTB+4!, DATARPTB+18*, DATARPTA+1~, DATRPTAL+9, ERRSREPT+1~
BLRVERN DATAREPT+2~, DATARPTI+1*, DATARPTA+2~, DATRPTAI+1*, ERRSREPT+2~, ERSSRPTI+1*, ORDNRPTI+1*, SHOWACCS+1~
BLRVERN2 DATAREPT+2~, DATARPTI+2*, DATARPTA+2~, DATRPTAI+2*, ERRSREPT+2~, ERSSRPTI+2*, ORDNRPTI+2*, SHOWACCS+1~
CANCEL DATAREPT+1~, DATARPTL+6, DATARPTB+28*, DATARPTB+34*, DATARPTA+1~, DATRPTAL+6
CCNT WRAP+2~, WRAP+9
CNT DATAREPT+1~, DATAREPT+14, DATARPTI+16*, DATARPTL+13*, DATARPTA+1~, DATARPTA+14, DATRPTAI+16*, DATRPTAL+13*, ERRSREPT+1~, ERRSREPT+14
, ERSSRPTI+18*, ERSSRPTL+14*, ORDNRPTI+13*, SHOWACCS+1~, SHOWACCS+7*, SHOWACCS+24*, SHOWACCS+26
EHDT DATAREPT+1~, DATARPTL+10, DATARPTB+4!, DATARPTB+20*, DATARPTA+1~, DATRPTAL+10, ERRSREPT+1~
>> ERRMSG ERSSRPTL+3*, ERSSRPTL+11
ERRSMSG ERRSREPT+1~
FMT WRAP~, WRAP+3*, WRAP+7
GCNT WRAP+2~, WRAP+4*, WRAP+9
GLOSTR DATARPTB+1~, DATARPTB+17*, DATARPTB+18, DATARPTB+19, DATARPTB+22
HD1 DATAREPT+2~, DATARPTI+14*, DATARPTL+1, DATARPTA+2~, DATRPTAI+14*, DATRPTAL+1, ERRSREPT+2~, ERSSRPTI+16*, ERSSRPTL+1, ORDNREPT+2~
, ORDNREPT+25, ORDNRPTI+11*, SHOWACCS+3~
HDT DATAREPT+1~, DATARPTB+4!, DATARPTB+19*, DATARPTB+20, DATARPTA+1~, ERRSREPT+1~
HEADER DATAREPT+2~, DATARPTA+2~, ERRSREPT+2~, ORDNREPT+2~, SHOWACCS+3~
HEADER(1 DATARPTI+4*, DATRPTAI+4*, ERSSRPTI+4*, ORDNRPTI+4*
HEADER(2 DATARPTI+5*, DATRPTAI+5*, ERSSRPTI+5*, ORDNRPTI+5*
HEADER(3 DATARPTI+6*, DATRPTAI+6*, EMPTYDB+1!, ERSSRPTI+6*, ORDNRPTI+6*
HEADER(4 DATARPTI+8*, DATARPTI+9*, DATARPTI+10*, DATARPTI+11*, DATARPTI+12*, DATRPTAI+8*, DATRPTAI+9*, DATRPTAI+10*, DATRPTAI+11*, DATRPTAI+12*
, EMPTYDB+1!, ERSSRPTI+8*, ERSSRPTI+9*, ERSSRPTI+10*, ERSSRPTI+11*, ERSSRPTI+12*, ERSSRPTI+13*, ERSSRPTI+14*, ORDNRPTI+8*, ORDNRPTI+9*
INC WRAP+2~
LINE ORDNREPT+1~, ORDNREPT+22*, ORDNREPT+23*, ORDNREPT+24, SHOWACCS+1~
LINES DATAREPT+2~, DATAREPT+12*, DATARPTI+14*, DATARPTL+1, DATARPTL+12*, DATARPTA+2~, DATARPTA+12*, DATRPTAI+14*, DATRPTAL+1, DATRPTAL+12*
, MULTLINE+4*, ERRSREPT+2~, ERSSRPTI+16*, ERSSRPTL+1, ERSSRPTL+13*, ORDNREPT+2~, ORDNREPT+25, ORDNREPT+28*, ORDNREPT+31*, ORDNRPTI+11*
, SHOWACCS+3~
LINEWRAP DATAREPT+2~, DATARPTB+4!, DATARPTB+26, DATARPTA+2~, ERRSREPT+2~, ORDNREPT+1~, SHOWACCS+1~
LINEWRAP( MULTLINE+2, MULTLINE+3
LINEWRAP(1 DATARPTL+8, DATARPTB+23*, DATRPTAL+8
LRAA DATARPTB+2~, DATARPTB+12*, DATARPTB+13, ORDNREPT+1~, ORDNREPT+13*, ORDNREPT+14, ORDNREPT+17, ORDNREPT+18, SHOWACCS+1~, SHOWACCS+14*
, SHOWACCS+15, SHOWACCS+20
LRAD DATARPTB+2~, DATARPTB+12*, DATARPTB+13, ORDNREPT+1~, ORDNREPT+13*, ORDNREPT+14, ORDNREPT+17, ORDNREPT+18, SHOWACCS+1~, SHOWACCS+14*
, SHOWACCS+15, SHOWACCS+21
LRAN DATARPTB+2~, DATARPTB+12*, DATARPTB+13, ORDNREPT+1~, ORDNREPT+13*, ORDNREPT+14, ORDNREPT+17, ORDNREPT+18, SHOWACCS+1~, SHOWACCS+14*
, SHOWACCS+15, SHOWACCS+22
LRAS DATAREPT+1~, DATARPTB+6*, DATARPTB+8, DATARPTB+13*, DATARPTA+1~, DATRPTAL+7, ORDNREPT+1~, ORDNREPT+14*, ORDNREPT+15, ORDNREPT+27
, ORDNREPT+29, SHOWACCS+1~, SHOWACCS+15*, SHOWACCS+16, SHOWACCS+19
LRDFN ERRSREPT+1~, ERRSREPT+6*, ERRSREPT+7, ERRSREPT+8, ERRSREPT+9, ERRSREPT+10, ERRSREPT+11, ERSSRPTI+18*, ERSSRPTL+3, ERSSRPTL+5
, ORDNREPT+17*, ORDNREPT+20, ORDNREPT+23, ORDNREPT+24
LRI WRAP+2~, WRAP+4*, WRAP+5*, WRAP+6, WRAP+8*, WRAP+9*
LRIDT ERRSREPT+1~, ERRSREPT+7*, ERRSREPT+8, ERRSREPT+9, ERRSREPT+10, ERRSREPT+11, ERSSRPTI+18*, ERSSRPTL+3, ERSSRPTL+6, ORDNREPT+1~
, ORDNREPT+18*, ORDNREPT+20, ORDNREPT+23, ORDNREPT+24, SHOWACCS+1~
LRINDX WRAP+2~, WRAP+4*, WRAP+6*, WRAP+7
LRODT DATAREPT+1~, DATAREPT+6*, DATAREPT+7, DATAREPT+8, DATAREPT+9, DATARPTI+16*, DATARPTB+8, DATARPTB+9, DATARPTB+15, DATARPTB+17
, DATARPTB+31, DATARPTB+32, DATARPTB+34, DATARPTA+1~, DATARPTA+6*, DATARPTA+7, DATARPTA+8, DATARPTA+9, DATRPTAI+16*, ERRSREPT+1~
, ERRSREPT+8*, ERRSREPT+9, ERRSREPT+10, ERRSREPT+11, ERSSRPTI+18*, ERSSRPTL+3, ERSSRPTL+7, ORDNREPT+1~, ORDNREPT+6*, ORDNREPT+7*
, ORDNREPT+9, ORDNREPT+11, ORDNREPT+12, ORDNRPTI+13*, SHOWACCS+1~, SHOWACCS+7*, SHOWACCS+8*, SHOWACCS+10, SHOWACCS+12, SHOWACCS+13
LRORD ORDNREPT~, ORDNREPT+7, ORDNREPT+9, SHOWACCS~, SHOWACCS+8, SHOWACCS+10, SHOWACCS+18, SHOWACCS+28
LRORDN DATAREPT+1~, DATARPTL+5, DATARPTB+4!, DATARPTB+15*, DATARPTA+1~, DATRPTAL+5, ERRSREPT+1~
LRSP DATAREPT+1~, DATAREPT+7*, DATAREPT+8, DATAREPT+9, DATARPTI+16*, DATARPTB+8, DATARPTB+9, DATARPTB+15, DATARPTB+17, DATARPTB+31
, DATARPTB+32, DATARPTB+34, DATARPTA+1~, DATARPTA+7*, DATARPTA+8, DATARPTA+9, DATRPTAI+16*, ERRSREPT+1~, ERRSREPT+9*, ERRSREPT+10
, ERRSREPT+11, ERSSRPTI+18*, ERSSRPTL+3, ERSSRPTL+8, ORDNREPT+1~, ORDNREPT+8*, ORDNREPT+9*, ORDNREPT+11, ORDNREPT+12, ORDNRPTI+13*
, SHOWACCS+1~, SHOWACCS+9*, SHOWACCS+10*, SHOWACCS+12, SHOWACCS+13
LRTX WRAP+2~
LRTX( WRAP+9
MAXCOL DATARPTB~, DATARPTB+23, DATARPTB+26
MAXLINES DATAREPT+2~, DATARPTI+14*, DATARPTL+1, DATARPTA+2~, DATRPTAI+14*, DATRPTAL+1, ERRSREPT+2~, ERSSRPTI+16*, ERSSRPTL+1, ORDNREPT+2~
, ORDNREPT+25, ORDNRPTI+11*, SHOWACCS+3~
MSG EMPTYDB~, EMPTYDB+3
ORD DATAREPT+1~, DATAREPT+9*, DATARPTI+16*, DATARPTB+17, DATARPTA+1~, DATARPTA+9*, DATRPTAI+16*, ERRSREPT+1~, ERRSREPT+11*, ERSSRPTI+18*
, ERSSRPTL+3, ERSSRPTL+10, ORDNRPTI+13*, SHOWACCS+2~
P60 DATAREPT+1~, DATAREPT+8*, DATAREPT+9, DATARPTI+16*, DATARPTL+7, DATARPTB+10, DATARPTB+17, DATARPTB+32, DATARPTA+1~, DATARPTA+8*
, DATARPTA+9, DATRPTAI+16*, ERRSREPT+1~, ERRSREPT+10*, ERRSREPT+11, ERSSRPTI+18*, ERSSRPTL+3, ERSSRPTL+9, ORDNRPTI+13*, SHOWACCS+2~
PG DATAREPT+2~, DATARPTI+14*, DATARPTL+1, DATARPTA+2~, DATRPTAI+14*, DATRPTAL+1, ERRSREPT+2~, ERSSRPTI+16*, ERSSRPTL+1, ORDNREPT+2~
, ORDNREPT+25, ORDNRPTI+11*, SHOWACCS+3~
PTR ORDNREPT+1~, SHOWACCS+2~
PUTIT WRAP~
PUTIT( WRAP+9*
QFLG DATAREPT+2~, DATAREPT+6, DATAREPT+7, DATAREPT+8, DATAREPT+9, DATARPTI+14*, DATARPTL+1, DATARPTA+2~, DATARPTA+6, DATARPTA+7
, DATARPTA+8, DATARPTA+9, DATRPTAI+14*, DATRPTAL+1, ERRSREPT+2~, ERRSREPT+6, ERRSREPT+7, ERRSREPT+8, ERRSREPT+9, ERRSREPT+10
, ERRSREPT+11, ERSSRPTI+16*, ERSSRPTL+1, ORDNREPT+2~, ORDNREPT+7, ORDNREPT+9, ORDNREPT+11, ORDNREPT+23, ORDNREPT+25, ORDNRPTI+11*
, SHOWACCS+3~, SHOWACCS+8, SHOWACCS+10, SHOWACCS+12
ROOT WRAP~
ROOT( WRAP+5, WRAP+6
ROOT(1 WRAP+1
SP WRAP+2~
STR DATARPTB+1~, DATARPTB+2~, DATARPTB+9*, DATARPTB+10, DATARPTB+12, DATARPTB+26, ORDNREPT+1~, ORDNREPT+12*, ORDNREPT+13, ORDNREPT+24*
, ORDNREPT+26, ORDNREPT+27, ORDNREPT+29, ORDNREPT+30, SHOWACCS+2~, SHOWACCS+13*, SHOWACCS+14
STR(1 DATARPTB+22*, DATARPTB+23
TAB MULTLINE~, MULTLINE+3
TEST DATARPTB+2~
TST DATARPTB+2~, DATARPTB+7*, DATARPTB+8*, DATARPTB+9, ORDNREPT+1~, ORDNREPT+10*, ORDNREPT+11*, ORDNREPT+12, SHOWACCS+2~, SHOWACCS+11*
, SHOWACCS+12*, SHOWACCS+13
TSTORD DATARPTB+1~, DATARPTB+30*, DATARPTB+31*, DATARPTB+32, DATARPTB+34
WRAPLINE DATAREPT+2~, DATARPTA+2~, MULTLINE+1*, MULTLINE+2*, MULTLINE+3, ERRSREPT+2~
X WRAP+2~, WRAP+6*, WRAP+7*

Marked Items

Name Field # of Occurrence
$T( DATARPTI+1, DATRPTAI+1, ERSSRPTI+1, ORDNRPTI+1
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items |  All