MAGDHOWA ;WOIFO/PMK - Route traditional 1.6 HL7 ADT messages via HLO ;17 Nov 2017 9:36 AM
Source file <MAGDHOWA.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 |
---|---|---|
ENTRY | ; subscriber entry point
|
|
INPUT | ; get the generated HL7 message and save it in HLO's HLMSTATE
|
|
OUTPUT | ; send the HL7 message using HLO's subscription list
|
|
ERROR(SUBJECT,MSG,VARIABLES) | ; error logging subroutine
|
|
ADD(X) | ; add a line to the email message
|
|
TEST | ; this tests the email error trap
; S DUZ=126,DUZ(2)=660 - set these appropriately before calling TEST |
HL7 Protocol Name | Call Tags |
---|---|
MAG CPACS A01 SUBS-HLO | ENTRY |
MAG CPACS A02 SUBS-HLO | ENTRY |
MAG CPACS A03 SUBS-HLO | ENTRY |
MAG CPACS A11 SUBS-HLO | ENTRY |
MAG CPACS A12 SUBS-HLO | ENTRY |
MAG CPACS A13 SUBS-HLO | ENTRY |
MAG CPACS A08 SUBS-HLO | ENTRY |
MAG CPACS A47 SUBS-HLO | ENTRY |
FileNo | Call Tags |
---|---|
^HLD(779.4 - [#779.4] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("HLS" | INPUT+2 |
^TMP($J | ERROR+6!, ADD+2, ADD+3* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | INPUT+1~, INPUT+2*, INPUT+3*, ERROR+14~, ERROR+15*, ERROR+16, ERROR+17* |
A(1 | INPUT+6* |
APP | ERROR+1~, ERROR+4*, ERROR+6, ERROR+22, ADD+2, ADD+3 |
ARRAY | TEST+2~, TEST+3* |
ARRAY("B" | TEST+5* |
ARRAY("C" | TEST+6* |
ARRAY(1 | TEST+4* |
B | INPUT+1~ |
B( | INPUT+14, INPUT+15, INPUT+18, INPUT+20, INPUT+21, INPUT+22, INPUT+23 |
C | INPUT+1~ |
C( | INPUT+18*, INPUT+23*, INPUT+37, INPUT+39 |
C(2 | INPUT+30, INPUT+31 |
DIC | OUTPUT+1~, OUTPUT+4* |
DIC(0 | OUTPUT+4* |
DO | OUTPUT+1~ |
DUZ(2 | ERROR+3 |
ERROR | INPUT+1~, INPUT+40 |
EVENT | INPUT+1~, INPUT+31*, INPUT+33*, INPUT+36 |
HL7SUBLIST | OUTPUT+1~, OUTPUT+5*, OUTPUT+7, OUTPUT+9 |
>> HLA("HLS" | INPUT+3 |
>> HLARYTYP | INPUT+2, INPUT+3 |
HLMSTATE | ENTRY+1~, INPUT+40, OUTPUT+10 |
>> HLREC("HDR" | INPUT+6 |
I | ERROR+1~, ERROR+8* |
LASTIEN | ADD+1~, ADD+2*, ADD+3 |
MESSAGES | OUTPUT+1~, OUTPUT+10 |
MSG | INPUT+42~, INPUT+51, OUTPUT+12~, OUTPUT+19, ERROR~, TEST+16 |
MSG( | ERROR+8 |
MSG(1 | INPUT+44*, OUTPUT+14*, TEST+13* |
MSG(2 | INPUT+45*, OUTPUT+15*, TEST+14* |
MSG(3 | INPUT+46*, OUTPUT+16*, TEST+15* |
MSGTYPE | ENTRY+1~, ENTRY+3*, INPUT+36 |
PARMS | OUTPUT+1~, OUTPUT+10 |
PARMS("QUEUE" | OUTPUT+9* |
PARMS("SENDIN | G APPLICATION" , OUTPUT+6* |
PARMS("SUBSCR | IPTION IEN" , OUTPUT+7* |
PLACE | ERROR+1~, ERROR+3*, ERROR+6, ERROR+22, ADD+2, ADD+3 |
S1 | INPUT+1~, INPUT+14*, INPUT+15, INPUT+18, INPUT+20, INPUT+21, INPUT+22, INPUT+23, INPUT+37*, INPUT+39 |
S2 | INPUT+1~, INPUT+15*, INPUT+18, INPUT+20, INPUT+21, INPUT+22, INPUT+23 |
S3 | INPUT+1~, INPUT+20*, INPUT+21, INPUT+22, INPUT+23 |
S4 | INPUT+1~, INPUT+21*, INPUT+22, INPUT+23 |
S5 | INPUT+1~, INPUT+22*, INPUT+23 |
SCALAR | TEST+2~, TEST+7* |
SEGMENT | INPUT+38~, INPUT+39*, INPUT+40 |
SUBJECT | INPUT+42~, INPUT+43*, INPUT+51, OUTPUT+12~, OUTPUT+13*, OUTPUT+19, ERROR~, ERROR+22, TEST+2~, TEST+12* , TEST+16 |
SUCCESS | INPUT+38~, INPUT+40*, INPUT+41, INPUT+46, OUTPUT+1~, OUTPUT+10*, OUTPUT+11, OUTPUT+16 |
UNDEFINED | TEST+2~ |
VAR | ERROR+1~, ERROR+10*, ERROR+11, ERROR+12, ERROR+15 |
VARIABLES | INPUT+42~, INPUT+51, OUTPUT+12~, OUTPUT+19, ERROR~, TEST+16 |
VARIABLES( | ERROR+10 |
VARIABLES("ARRAY" | TEST+9* |
VARIABLES("C" | INPUT+50* |
VARIABLES("ERROR" | INPUT+49* |
VARIABLES("HLMSTATE" | INPUT+47*, OUTPUT+17* |
VARIABLES("PARMS" | OUTPUT+18* |
VARIABLES("SCALAR" | TEST+10* |
VARIABLES("SEGMENT" | INPUT+48* |
VARIABLES("UNDEFINED" | TEST+11* |
X | INPUT+10*, OUTPUT+1~, OUTPUT+4*, ADD~, ADD+3 |
Y | OUTPUT+1~, OUTPUT+5 |