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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ORMLR

Package: Order Entry Results Reporting

Routine: ORMLR


Information

ORMLR ; SLC/MKB - Process Lab ORM msgs ;11:59 AM 26 Jul 2000

Source Information

Source file <ORMLR.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Order Entry Results Reporting 9 GETDLG1^ORCD  ($$ACTION,EN,RESPONSE)^ORCSAVE  (DATES,DELETE,RELEASE,SIGSTS,STATUS)^ORCSAVE2  CANCEL^ORCSEND  ($$FIND,$$ORDITEM)^ORM  XX^ORMLR1  PRINTS^ORWD1  BDOSTR^ORWDBA3  
($$ACTV,$$CREATE)^ORX1  
Care Management 1 ADD^ORRCACK  
Kernel 1 $$NOW^XLFDT  
Lab Service 1 RR^LR7OR1  

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

Package Total Caller Graph
Order Entry Results Reporting 2 ORMLR1  ORWDX  

Entry Points

Name Comments DBIA/ICR reference
EN ; -- entry point for LR messages
STATUS(X) ; -- Returns Order Status for HL7 code X
OK ; -- Order accepted, LR order # assigned [ack]
ZC ; -- Convert existing 2.5 orders to 3.0 format
ZC1
SN ; -- New backdoor order: return NA msg w/ORIFN, or DE msg
SN1
SN2
SNQ
PTR(NAME) ; -- Returns ien of prompt NAME in Order Dialog file #101.41
DGRP(DG) ; -- Returns Display Group ptr based on Lab section
XX ; -- Changed: NOT IN USE
XR ; -- Changed [ack]: NOT IN USE
ZP ; -- Purged
ZR ; -- Purged as requested [ack]
ZU ; -- Unable to purge [ack]
SC ; -- Status changed (collected)
RE ; -- Completed, w/results
OC ; -- Cancelled
CR ; -- Cancelled [ack]
UA ; -- Unable to accept [ack]
UX ; -- Unable to change [ack]: NOT IN USE
UC ; -- Unable to cancel [ack]
DE ; -- Data Error [ack]
UPDATE(ORSTS,ORACT) ; -- continue processing
REASON() ; -- Get reason from OREASON or NTE segments
RQ

External References

Name Field # of Occurrence
RR^LR7OR1 RE+8
GETDLG1^ORCD ZC+8, SN+6
$$ACTION^ORCSAVE UPDATE+5
EN^ORCSAVE SNQ
RESPONSE^ORCSAVE ZC1+8
DATES^ORCSAVE2 SNQ+5, SC+1, UPDATE+2
DELETE^ORCSAVE2 ZR+1
RELEASE^ORCSAVE2 SNQ+4, UPDATE+7
SIGSTS^ORCSAVE2 SNQ+4, UPDATE+8
STATUS^ORCSAVE2 OK+2, SNQ+6, XR+3, XR+4, ZP+2, SC+2, RE+2, CR+1, UX+3, UPDATE+3
CANCEL^ORCSEND UPDATE+12
$$FIND^ORM ZC+9, ZC+10, ZC+13, ZC+14, SN1+1, SN1+5, SN1+7, SN1+8
$$ORDITEM^ORM ZC+9, SN1+1
XX^ORMLR1 XX+1
ADD^ORRCACK RE+22
PRINTS^ORWD1 SNQ+7, UPDATE+9
BDOSTR^ORWDBA3 SNQ+3
$$ACTV^ORX1 UPDATE+11
$$CREATE^ORX1 UPDATE+4
$$NOW^XLFDT EN+4, ZC+3, ZU+1, RE+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^LAB(61 - [#61] ZC+12, SN1+6
^OR(100 - [#100] EN+3, OK+1*, ZC+1, ZC+3*, ZC1+7*, SNQ+8*, XR+2*, ZP+1, ZP+2*, ZU+1*
SC+3*, RE+3*, RE+7*, RE+20*, RE+21, OC+2*, UX+2*, DE+2*, DE+3*, UPDATE+10*
, UPDATE+11*
^ORD(100.02 - [#100.02] OC+1, UX+1
^ORD(100.03 - [#100.03] EN+5
^ORD(100.98 - [#100.98] DGRP+1, DGRP+2
^ORD(101.41 - [#101.41] ZC+7, SN+6, PTR+1
^ORD(101.43 - [#101.43] SN1+2
^TMP("LRRR" RE+10, RE+12, RE+13, RE+14, RE+19!
^TMP("LRX" RE+19!
^TMP("ORWORD" ZC1+1!, ZC1+2*, ZC1+3*, ZC1+4*, ZC1+9!, SN+8!, SN2+1*, SN2+2*, SN2+3*, SNQ!
^VA(200 - [#200] SN+2

Label References

Name Line Occurrences
$$DGRP SN1+2
$$PTR ZC+10, ZC+11, ZC+12, ZC+13, ZC+14, ZC1+1, ZC1+6, SN+7, SN+8, SN1+3
SN1+4, SN1+5, SN1+6, SN1+7, SN1+8
$$REASON EN+5
$$STATUS SNQ+6, SC+2, RE+2
@( EN+6
RQ REASON+3
SN ZC+2
SN2 SN1+4
UA OC+1
UPDATE OC+3

Naked Globals

Name Field # of Occurrence
^(0 ZC1+7*
^(3 XR+2, ZP+2
^(4 ZP+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CMMT SN+1~, SN+8*, SN2+1, SN2+2, SN2+3, REASON+1~, REASON+2*, REASON+6*, RQ
DA DE+1~*, DE+2, DE+3, UPDATE+1~, UPDATE+5*, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9, UPDATE+10
>> DFN RE+8, RE+12, RE+13, RE+14
DG DGRP~, DGRP+1*
DNAM RE+11~, RE+13*, RE+14
DONE RE+1~
DT ZC1+4, SN2+3
DUZ EN+4
I ZC+4~, ZC+5*, ZC1+3*, SN+1~, SN2+2*, RE+1~, REASON+1~, REASON+4*, REASON+5*
IDT RE+11~, RE+12*, RE+13, RE+14
L REASON+1~, REASON+5*
LCNT ZC1+1~, ZC1+2*, ZC1+3*, ZC1+4, SN+1~, SN2+1*, SN2+2*, SN2+3
LRSA RE+1~
LRSB RE+1~
LRSUB SN+1~, SN1+2*, SN1+4
NAME PTR~, PTR+1
NTE ZC+4~, ZC1*, ZC1+2, ZC1+3, SN+1~, SN2*, SN2+1, SN2+2, REASON+1~, REASON+2*
, REASON+3, REASON+4, REASON+5
OBR ZC+4~, ZC+5*, ZC+6, ZC+9, ZC+10, ZC+13, ZC+14, ZC1SN+1~, SN1*
SN1+1, SN1+5, SN1+7, SN1+8, SN2RE+4~*, RE+5
OI SN+1~, SN1+1*, SN1+2, SN1+3
ORABN RE+1~, RE+9*, RE+16*, RE+20
ORACT UPDATE~, UPDATE+5, UPDATE+12
>> ORC ZC+5, SN1RE+4, REASON+2
ORCMMT UPDATE+1~, UPDATE+4*, UPDATE+5
>> ORDCNTRL EN+2, EN+6, ZC+2*, SNQ+7
ORDG SN+1~, SN1+2*
ORDIALOG ZC+4~, ZC+7*, ZC+8, ZC1+7, SN+1~, SN+5*, SN+6*
ORDIALOG( ZC+10*, ZC+11*, ZC+12*, ZC+13*, ZC+14*, ZC1+5*, ZC1+6*, SN+7*, SN1+3*, SN1+4*
SN1+5*, SN1+6*, SN1+7*, SN1+8*, SN2+3*
>> ORDSTS SNQ+6, SC+2, RE+2
>> ORDUZ EN+4*, SN+2, SNQ+4, OC+1*, OC+2, UPDATE+5, UPDATE+7
>> OREASON EN+5*, SC+3, OC+2, UX+2, DE+3, UPDATE+4, REASON+2
>> ORERR EN+2, EN+3*, ZC+6*, ZC+9*, SN+2*, SN1*, SN1+1*, SNQ+1*, UPDATE+6*
ORFIND RE+1~, RE+9*, RE+16*, RE+17*, RE+20
ORIFN EN+3, OK+1, OK+2, ZC+1, ZC+2!, ZC+3, ZC+4*, ZC1+7, SNQ+1, SNQ+4
SNQ+5, SNQ+6, SNQ+7, SNQ+8, XR+2, XR+4, ZP+1, ZP+2, ZR+1, ZU+1
SC+1, SC+2, SC+3, RE+2, RE+3, RE+7, RE+20, RE+21, RE+22, OC+2
CR+1, UX+2, UX+3, DE+1, DE+2, DE+3, UPDATE+2, UPDATE+3, UPDATE+5, UPDATE+7
, UPDATE+8, UPDATE+9, UPDATE+10, UPDATE+11, UPDATE+12
ORIG XR+1~, XR+2*, XR+3
>> ORL SNQ+7, UPDATE+9
>> ORLOG EN+4*, SNQ+4, OC+2, UX+2, UPDATE+5, UPDATE+7
>> ORMSG ZC+5, ZC1ZC1+2, ZC1+3, SN1SN2SN2+1, SN2+2, RE+4, RE+5
, REASON+2, REASON+3, REASON+4, REASON+5
>> ORNATR EN+5*, ZC+1*, SNQ+4, OC+1, OC+2, UX+1*, UX+2, UPDATE+4, UPDATE+7, UPDATE+11
ORNEW SN+1~
>> ORNP RE+21*, RE+22, UPDATE+5
ORP SN+1~, SNQ+7, UPDATE+1~, UPDATE+9
ORP(1 SNQ+7*, UPDATE+9*
>> ORQT SN1+4
ORSLT RE+11~, RE+14*, RE+15, RE+17
>> ORSTOP ZC+3, SNQ+5, SC+1, UPDATE+2
>> ORSTRT ZC1+6, SN+7, SC+1, UPDATE+2
ORSTS SN+1~, SNQ+6*, SC+1~, SC+2*, RE+1~, RE+2*, UPDATE~, UPDATE+3
>> ORTYPE OC+1
>> ORVP RE+7
ORX RE+1~, RE+3*, UPDATE+1~, UPDATE+4*
>> PKGIFN OK+1, ZC1+7, SNQ+8, XR+2, RE+3, RE+8
SEG ZC+5*, RE+1~
U EN+5, ZC+3, ZC+12, ZC+13, ZC1+4, ZC1+7, SN1+2, SN1+6, SN1+7, SN2+3
XR+2, ZP+2, ZU+1, SC+3, RE+7, RE+15, RE+17, RE+20, RE+21, OC+2
UX+2, DE+2, DE+3, UPDATE+4, UPDATE+10, UPDATE+11, REASON+2, REASON+6
WP ZC1+1~*, ZC1+2, ZC1+3, ZC1+4, ZC1+5
X STATUS~, STATUS+1, ZC+4~, ZC+9*, ZC+10*, ZC+11, ZC+12, ZC+13*, ZC+14*, SN+1~
SN1+1*, SN1+5*, SN1+6, SN1+7*, SN1+8*, RE+1~, RE+4*, RE+5*, RE+6*, RE+7
, REASON+1~, REASON+5*
Y STATUS+1~*, STATUS+2, DGRP+1~*, DGRP+2*, DGRP+3, RE+1~, REASON+1~, REASON+4*, REASON+5*, REASON+6

Marked Items

Name Field # of Occurrence
$T(@ORDCNTRL EN+1
$T(ADD^ORRCACK RE+22
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All