ORMBLD ; SLC/MKB/JDL - Build outgoing ORM msgs ;05/10/17 10:08
Source file <ORMBLD.m>
| 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
|
| FileNo | Call Tags |
|---|---|
| ^FH(119.4 - [#119.4] | GET1^DIQ |
| ^DIC(9.4 - [#9.4] | GET1^DIQ |