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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: ORMBLDLR

Package: Order Entry Results Reporting

Routine: ORMBLDLR


Information

ORMBLDLR ; SLC/MKB - Build outgoing Lab ORM msgs ;Jan 27, 2021@09:24:22

Source Information

Source file <ORMBLDLR.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Order Entry Results Reporting 4 (GETDLG1,GETORDER)^ORCD  $$USID^ORMBLD  DG1^ORWDBA3  $$VALUE^ORX8  
Kernel 2 $$FMTHL7^XLFDT  MSG^XQOR  
Lab Service 1 LOOK^LR7OAPKM  
VA FileMan 1 $$GET1^DIQ  

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

Package Total Caller Graph
Order Entry Results Reporting 1 ORMBLD  

Entry Points

Name Comments DBIA/ICR reference
HL7DATE(DATE) ; -- FM -> HL7 format
PTR(NAME) ; -- Returns ptr value of prompt in Dialog file
AP ; -- new Lab AP order
; fall through to CH - no difference at this time
CH ; -- new Lab CH order
BB ; -- new Lab BB order
COLLTYPE() ; -- Returns collection type for current INST
SPEC() ; -- Returns specimen/sample string for current INST
XO ; -- Send XO message to Lab
XO1
APSUB(ORIFN) ;* - determine if Anatomic Path test subscript for AP1 segment and make call to get LR CPRS SCREEN pointer

External References

Name Field # of Occurrence
$$GET1^DIQ APSUB+3, APSUB+4
LOOK^LR7OAPKM APSUB+5
GETDLG1^ORCD XO1XO1+8
GETORDER^ORCD XO1XO1+8
$$USID^ORMBLD CH+9, XO1+3, XO1+11
DG1^ORWDBA3 CH+16
$$VALUE^ORX8 APSUB+2
$$FMTHL7^XLFDT HL7DATE+1
MSG^XQOR XO1+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(101.43 - [#101.43] GET1^DIQ
^LAB(60 - [#60] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^LAB(61 - [#61] SPEC+3
^LAB(62 - [#62] SPEC+5
^LAB(62.05 - [#62.05] CH+8
^OR(100 - [#100] CH+2, BB+3, XO+2, XO+4, XO+7, XO+8
^ORD(100.98 - [#100.98] XO+2
^ORD(101.41 - [#101.41] PTR+1
^ORD(101.42 - [#101.42] XO1+3, XO1+11
^TMP("ORWORD" CH+12, CH+13, CH+14, BB+6, BB+7, BB+8, XO1+4, XO1+5, XO1+6, XO1+12
XO1+13, XO1+14

Label References

Name Line Occurrences
$$APSUB CH+10
$$COLLTYPE CH+9
$$HL7DATE CH+6, BB+4
$$PTR CH+3, CH+4, BB+2, BB+3, BB+5, COLLTYPE+2, SPEC+2, SPEC+4, XO+5, XO+6
$$SPEC CH+9, XO1+3, XO1+11

Naked Globals

Name Field # of Occurrence
^( CH+14, BB+8, XO+7, XO+8, XO1+6, XO1+14
^(0 CH+2, XO+7, XO+8
^(1 XO+7, XO+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ANS APSUB+1~, APSUB+5
ANS( APSUB+8
ANS(0 APSUB+6
AP1 CH+10~*, CH+11
CMMT CH+1~, CH+4*, CH+12, CH+13, CH+14, XO+1~, XO+6*, XO1+4, XO1+5, XO1+6
XO1+12, XO1+13, XO1+14
CNT XO+1~, XO+6*, XO1+2*, XO1+3, XO1+5*, XO1+6, XO1+10*, XO1+11, XO1+13*, XO1+14
DATE HL7DATE~, HL7DATE+1
DG XO+1~, XO+2*, XO+3*, XO+4, XO1+15
DIERR APSUB+1~
ERR APSUB+1~
I CH+1~, CH+7*, CH+9*, CH+11*, CH+13*, CH+14, CH+16, BB+1~, BB+6*, BB+7
BB+8*, XO+1~, XO+7*, XO+8*, XO1+1*, XO1+2, XO1+7*, XO1+9*, XO1+10
>> IFN CH+2, CH+16, BB+3, XO+2, XO+4, XO+7, XO1
INST CH+1~, CH+7*, CH+8, CH+9, CH+12, CH+13, CH+14, COLLTYPE+2, SPEC+2, SPEC+4
XO+1~, XO1+2*, XO1+3, XO1+4, XO1+5, XO1+6, XO1+10*, XO1+11, XO1+12, XO1+13
XO1+14
IP CH+1~, CH+5*, CH+9
ITEM APSUB+1~, APSUB+2*, APSUB+3
J CH+1~, CH+12*, CH+13, CH+14*, BB+1~, BB+7*, BB+8*, XO+1~, XO1+4*, XO1+5
XO1+6*, XO1+12*, XO1+13, XO1+14*
L CH+14*, XO+1~, XO1+6*, XO1+14*
LST CH+11~
NAME PTR~, PTR+1
NUM APSUB+1~, APSUB+6*, APSUB+8
OI CH+1~, CH+3*, CH+7, CH+9, XO+1~, XO+5*, XO+7, XO+8
OR0 XO+1~, XO+2*, XO+3
ORDIALOG XO+1~, XO+3*, XO1XO1+7!*, XO1+8
ORDIALOG( CH+7, CH+8, CH+9, BB+2, BB+5, COLLTYPE+2, SPEC+2, SPEC+4, XO1+3, XO1+11
ORIFN CH+10, CH+11, APSUB~, APSUB+2
ORMSG XO+1~, XO1+15
ORMSG( CH+9*, CH+11*, CH+13*, CH+14*, XO1+3*, XO1+5*, XO1+6*, XO1+11*, XO1+13*, XO1+14*
ORMSG(4 CH+6*, BB+4*, XO+4*
ORMSG(5 BB+5*
ORMSG(6 BB+7*, BB+8*
ORNEW XO+1~
ORNEW( XO+7*, XO1+1, XO1+2, XO1+9
OROLD XO+1~, XO+4*, XO+8, XO1+8
OROLD( XO+8*, XO1+1, XO1+9, XO1+10
QUAN BB+1~, BB+2*, BB+4
SAMP SPEC+1~, SPEC+4*, SPEC+5
SPEC SPEC+1~, SPEC+2*, SPEC+3, SPEC+5
START CH+1~, CH+2*, CH+6, BB+1~, BB+3*, BB+4
STOP CH+1~, CH+2*, CH+6
SUB APSUB+1~, APSUB+4*, APSUB+7, APSUB+8
TEST XO+1~, XO+7*, XO+8*, XO1+2*, XO1+3, XO1+10*, XO1+11
TESTIEN APSUB+1~, APSUB+3*, APSUB+4, APSUB+5
TYPE COLLTYPE+1~, COLLTYPE+2*, COLLTYPE+3
U CH+2, CH+6, CH+8, BB+3, SPEC+3, SPEC+5, XO+2, XO+3, XO+4, XO+7
XO+8, XO1+2, XO1+3, XO1+10, XO1+11
URG CH+1~, CH+3*, CH+8, XO+1~, XO+5*, XO1+3, XO1+11
WP BB+1~, BB+3*, BB+6, BB+7, BB+8
X CH+1~, CH+8*, CH+9, COLLTYPE+1~, COLLTYPE+3*, COLLTYPE+4, SPEC+1~, SPEC+3*, SPEC+5*, SPEC+6
X0 SPEC+1~, SPEC+3*, SPEC+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All