Step | Description |
1 | The client sends the HL7 version 2.x message to Trading Networks, invoking the wm.ip.hl7.tn.service:receive service to pass on the HL7 message to Trading Networks for processing. |
2 | When HL7 Module receives the HL7 version 2.x message, it first determines which TN document type to use. After determining the TN document type, HL7 Module extracts field values from the HL7 message and fills in the appropriate attributes in the BizDocEnvelope. |
3 | HL7 Module then forms a BizDocEnvelope that contains: The original HL7 version 2.x message as the contentPart of the BizDocEnvelope. The extracted fields from the MSH segment of the HL7 version 2.x message added as attributes to the BizDocEnvelope. Information required for persisting the message in Trading Networks. Information required for routing and processing the HL7 version 2.x message. |
4 | After forming the BizDocEnvelope, HL7 Module determines the processing rule to use to process the document and executes the processing rule. Processing rules define the pre-processing and processing actions you want performed on each type of document. For more information about processing rules, see the following section,
Processing Rules to Process HL7 Version 2.x
Messages. |