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  | All
Print Page as PDF
Routine: ORMBLDOR

Package: Order Entry Results Reporting

Routine: ORMBLDOR


Information

ORMBLDOR ; SLC/MKB,ASMR/BL - Build outgoing OR msgs ; 10/16/15 1:36pm

Source Information

Source file <ORMBLDOR.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Order Entry Results Reporting 4 $$NMSP^ORCD  $$VALUE^ORCSAVE2  ($$MSH,$$PID,$$PV1,$$USID)^ORMBLD  NW^ORMORG  
Kernel 2 ($$FMTHL7,$$NOW)^XLFDT  MSG^XQOR  

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 ORCACT1  ORCSEND  ORMBLD  ORMEVNT1  ORWDXA  

Entry Points

Name Comments DBIA/ICR reference
EN ; -- Generic orders: Activity, Nursing, Diagnosis, Condition, Vitals
ADT ; -- M.A.S. event requests
PTR(X) ; -- Returns ptr value of prompt X in #101.41
HL7DATE(D) ; -- FM->HL7 format
COMP(IFN) ; -- send message for completed orders
VER(IFN) ; -- Send msg for verified orders
MSG(IFN,CC) ; -- send message for updated orders
; Can be used for any change that doesn't fire another application event

External References

Name Field # of Occurrence
$$NMSP^ORCD VER+4, MSG+6
$$VALUE^ORCSAVE2 EN+5
$$MSH^ORMBLD COMP+2, VER+2, MSG+7
$$PID^ORMBLD COMP+2, VER+2, MSG+7
$$PV1^ORMBLD COMP+3, VER+3, MSG+8
$$USID^ORMBLD EN+7
NW^ORMORG ADT+9
$$FMTHL7^XLFDT HL7DATE+1, COMP+4, VER+4, MSG+9
$$NOW^XLFDT ADT+6, COMP+4, VER+4, MSG+9
MSG^XQOR COMP+5, VER+5, MSG+10

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] COMP+1, VER+1, VER+4, MSG+4, MSG+9
^ORD(100.98 - [#100.98] EN+5
^ORD(101.41 - [#101.41] PTR+1

Label References

Name Line Occurrences
$$HL7DATE EN+6, ADT+6
$$PTR EN+2, EN+3, ADT+2, ADT+3
EN ADT+2

Naked Globals

Name Field # of Occurrence
^(3 MSG+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CC MSG~, MSG+3*, MSG+9
D HL7DATE~, HL7DATE+1
DUZ COMP+4, VER+4, MSG+9
IFN EN+5, ADT+9, COMP~, COMP+1, COMP+4, VER~, VER+1, VER+4, MSG~, MSG+3*
, MSG+4, MSG+9
OI EN+1~, EN+2*, EN+7
OR0 EN+4, COMP+1~*, COMP+2, COMP+3, VER+1~*, VER+2, VER+3, VER+4, MSG+2~, MSG+4*
, MSG+6, MSG+7, MSG+8
OR3 MSG+2~, MSG+4*, MSG+5
>> ORDG EN+5
>> ORDIALOG( EN+2, EN+3, ADT+2, ADT+3
ORIFN ADT+1~, ADT+9*
ORMSG COMP+1~, COMP+5, VER+1~, VER+5, MSG+2~, MSG+10
ORMSG(1 ADT+4*, COMP+2*, VER+2*, MSG+7*
ORMSG(2 ADT+5, ADT+6*, COMP+2*, VER+2*, MSG+7*
ORMSG(3 ADT+5*, COMP+3*, VER+3*, MSG+8*
ORMSG(4 EN+6*, ADT+5!*, ADT+7*, COMP+4*, VER+4*, MSG+9*
ORMSG(5 EN+7*, ADT+8*
ORMSG(6 EN+8*
ORPKG MSG+2~, MSG+6*, MSG+9
>> PKG ADT+3*
PROV ADT+1~, ADT+2*, ADT+7
PROV1 ADT+1~, ADT+3*, ADT+8
SCH EN+1~, EN+4*, EN+5*, EN+6
START EN+1~, EN+4*, EN+6
STOP EN+1~, EN+4*, EN+6
STS MSG+2~, MSG+5*
TXT EN+1~, EN+3*, EN+8
U EN+4, EN+6, COMP+2, COMP+3, VER+2, VER+3, VER+4, MSG+5, MSG+6, MSG+7
, MSG+8, MSG+9
X PTR~, PTR+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All