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

Package: Order Entry Results Reporting

Routine: ORM


Information

ORM ; SLC/MKB/JDL - ORM msg router ;08/17/17

Source Information

Source file <ORM.m>

Entry Points

Name Comments DBIA/ICR reference
EN(MSG) ; -- main entry point for OR RECEIVE where MSG contains HL7 msg
EN1
NMSP(NAME) ; -- Returns pkg namespace
PID ; -- Returns patient from PID segment in current msg
; Sets PID, ORVP, ORTS if valid patient
PV1 ; -- Returns patient location in PV1 segment in current msg
; Sets PV1, ORCAT, & ORL if valid location, ORAPPT: IMO appointment
ORDITEM(USID) ; -- Returns pointer to Orderable Item file for USID
URGENCY(CODE) ; -- Return ptr to Order Urgency file #101.42
FMDATE(Y) ; -- Convert HL7 date/time to FM format
ERROR ; -- Sends a DE reply to current msg
; Uses ORVP, ORNMSP, ORDUZ, ORIFN, ORERR, and PKGIFN
FIND(SEG,PIECE) ; -- Returns value in $P(@ORMSG@(SEG),"|",PIECE)
FQ
XTMP ; -- Save package auto-dc'd order numbers in ^XTMP
; Uses ORIFN, ORNMSP
Info |  Source |  Entry Points