ORMHLREC ; SLC/BNT - ORM HL7 message receiver ;2/11/08 11:05
Source file <ORMHLREC.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 |
Package | Total | Caller Graph |
---|---|---|
Kernel | 1 | ^ORD(101 |
Order Entry Results Reporting | 1 | OR OMG SERVER |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; -- main entry point for HL7 v1.6 message processing.
|
|
ORC | ||
NMSP(NAME) | ; -- Returns package namespace
|
|
MSA | ; -- Process MSA segment
|
|
PID | ; -- Process PID segment
; Sets PID, ORVP, ORTS if valid patient |
|
PV1 | ; -- Process PV1 segment
; Sets ORCAT, & ORL if valid location |
|
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 | ; -- Log an error and return ACK if necessary
|
|
GENACK | ; -- Send acknowledgment to original message
|
|
TEST | ; Testing utility
|
HL7 Protocol Name | Call Tags |
---|---|
OR OMG SERVER | EN |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | PID+8 |
^OR(100 - [#100] | ORC+4 |
^ORD(101.42 - [#101.42] | URGENCY+2 |
^ORD(101.43 - [#101.43] | ORDITEM+3 |
^SC - [#44] | PV1+4 |
Name | Field # of Occurrence |
---|---|
^(0 | ORC+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CODE | URGENCY~, URGENCY+1*, URGENCY+2 |
DFN | PID+2~, PID+6*, PID+7*, PID+8 |
>> HL("ECH" | ORC+2, ORC+3, ORC+14, PID+5, PID+6, PID+7, TEST+3* |
>> HL("EID" | GENACK+6 |
>> HL("EIDS" | GENACK+6 |
>> HL("FS" | EN+20, ORC, ORC+2, ORC+3, ORC+5, ORC+6, ORC+10, ORC+11, ORC+12, ORC+13 , MSA+2, MSA+3, PID+4, PID+7, PID+9, PV1+3, GENACK+4, TEST+3* |
>> HL("MID" | GENACK+4 |
>> HL("MTN" | EN+8, EN+15, TEST+4* |
>> HL("RAN" | TEST+3* |
>> HL("SAN" | EN+15, TEST+3* |
>> HLA("HLA" | GENACK+4* |
>> HLMTIENS | GENACK+6 |
>> HLNEXT | EN+10 |
>> HLNODE | EN+11 |
>> HLNODE( | EN+12 |
>> HLQUIT | EN+10 |
I | EN+1~, EN+10*, EN+11, EN+12, PID+2~, PID+6*, PV1+2~ |
ID | ORDITEM+1~, ORDITEM+2*, ORDITEM+3 |
J | EN+1~, EN+11*, EN+12* |
MSA1 | GENACK+2~*, GENACK+3*, GENACK+4 |
NAME | NMSP~, NMSP+1, NMSP+2, NMSP+3, NMSP+4, NMSP+5, NMSP+6, NMSP+7, NMSP+8 |
OI | ORDITEM+1~, ORDITEM+3*, ORDITEM+4 |
ORACK | EN+1~, EN+8*, EN+25, MSA+1*, ERROR+5 |
ORCAT | EN+1~, PV1+3* |
ORDCNTRL | EN+2~, EN+24, ORC*, ORC+1 |
ORDSTS | EN+2~, ORC+5* |
ORDUZ | EN+2~, ORC+11* |
OREASON | EN+3~, ORC+13*, ORC+14, MSA+4* |
ORERR | EN+1~, EN+16*, EN+19, EN+22, EN+24, ORC+1*, ORC+4*, MSA+3*, MSA+4, PID+10* , ERROR+2, GENACK+3, GENACK+4 |
ORESULT | GENACK+2~, GENACK+6 |
ORI | EN+3~, EN+19*, EN+20 |
ORIFN | EN+2~, ORC+2*, ORC+4 |
ORL | EN+1~, PV1+4* |
ORLOG | EN+2~, ORC+10* |
ORMSG | EN+1~, ERROR+3 |
ORMSG( | EN+11*, EN+12*, EN+19, EN+20 |
ORNATR | EN+3~, ORC+14* |
ORNMSP | EN+1~, EN+15*, EN+16, EN+17 |
ORNP | EN+2~, ORC+12* |
ORQT | EN+2~, ORC+6*, ORC+7, ORC+8, ORC+9 |
>> ORQUIT | ERROR+1* |
ORSEG | EN+3~, EN+20*, ORC, ORC+2, ORC+3, ORC+5, ORC+6, ORC+10, ORC+11, ORC+12 , ORC+13, MSA+2, MSA+3, PID+4, PID+7, PID+9, PV1+3 |
ORSEGID | EN+3~, EN+20*, EN+21 |
ORSTOP | EN+2~, ORC+8* |
ORSTRT | EN+2~, ORC+7* |
ORTN | EN+2~, EN+17*, EN+24 |
ORTS | EN+1~, PID+8* |
ORTYPE | EN+1~, EN+15* |
ORURG | EN+3~, ORC+9* |
ORV | ERROR+1~, ERROR+3 |
ORV("XQY0" | ERROR+1* |
ORVP | EN+1~, ORC+4, PID+8*, PID+9*, PID+10 |
PIDLST | PID+2~, PID+4*, PID+5, PID+6, PID+7 |
PKGIFN | EN+2~, ORC+3* |
SEG | PID+2~ |
SG | EN+1~ |
SNDACK | EN+1~ |
U | ORC+4, ORC+7, ORC+8, ORC+9, MSA+4, ORDITEM+2, ERROR+2 |
USID | ORDITEM~, ORDITEM+2 |
VBTEST | TEST+2~* |
X | PID+2~, PID+6*, PV1+2~, PV1+3*, PV1+4, ERROR+1~, ERROR+2*, ERROR+3 |
Y | FMDATE~, FMDATE+1 |
Name | Field # of Occurrence |
---|---|
$T(@ORSEGID | EN+21 |