HL7 Module 10.5 | Understanding and Using HL7 Module | Installing and Using HL7 Module | Verifying The Message Header Segment of HL7 Messages | Extracting the Sender and the Receiver from the HL7 Message Header | Identifying the Sender and Receiver When Receiving an HL7 Version 2.x Message
 
Identifying the Sender and Receiver When Receiving an HL7 Version 2.x Message
On the receiving end, the sender and the receiver will be determined using the values of the MSH.3 Sender Application and MSH.5 Receiver Application fields in the HL7 message being sent. The second subfield of the MSH.3 and MSH.5 segment fields is sender ID and the third subfield is sender ID Type.
If there is no partner profile in Trading Networks that corresponds to the sender and the receiver extracted from the MSH.3 and MSH.5 fields, the sender and the receiver of the message take the value of Unknown.
Important:
If the sender of a message received is Unknown, HL7 Module cannot return an acknowledgment (if requested), because the module uses the Delivery Settings of the sender. Create a Trading Networks partner profile for the sender and the receiver that you extracted from the HL7 message header.