Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: ORMBLD

Package: Order Entry Results Reporting

Routine: ORMBLD


Information

ORMBLD ; SLC/MKB/JDL - Build outgoing ORM msgs ;05/10/17 10:08

Source Information

Source file <ORMBLD.m>

Entry Points

Name Comments DBIA/ICR reference
NEW(IFN,CODE) ; -- Send NW order message to pkg
MSG(IFN,CODE,REASON) ; -- Send all other order msgs
BHS(PAT) ; -- Send batch header segment/message to Lab
BTS(PAT) ; -- Send batch trailer segment/message to Lab
MSH(TYPE,TO) ; -- MSH segment
NAME(NMSP) ; -- Returns name of pkg NMSP
PID(DFN) ; -- PID segment
PV1(OBJ,TYPE,LOC,VISIT,APPTDT) ; -- PV1 segment
HL7DATE(DATE) ; -- FM -> HL7 format
USID(OI) ; -- Returns Univ Serv ID for Orderable Item
NATURE(X) ; -- Returns 3 ^-piece identifier for nature X
REASON(X,N) ; -- Returns 6 ^-piece format of reason X
; N ^ NATURE ^ 99ORN ^ # ^ Reason ^ 99ORR
IP() ; -- Returns ORIFN^Type if pt has active isolation order (or 0 if not)
OR ; -- new Generic order
GMRA ; -- new Allergy order
GMRC ; -- new Consult order
FH ; -- new Diet order
LR ; -- new Lab order
PS ; -- new Pharmacy order
RA ; -- new Radiology order
SD ;
TEST(ORIFN) ; -- Build/display HL7 msgs w/o sending

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^FH(119.4 - [#119.4] GET1^DIQ
^DIC(9.4 - [#9.4] GET1^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call