ORMBLDOR ; SLC/MKB,ASMR/BL - Build outgoing OR msgs ; 10/16/15 1:36pm
Source file <ORMBLDOR.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
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 |
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 |
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 |
Name | Field # of Occurrence |
---|---|
^(3 | MSG+4 |
>> | 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 |