NextGen Knowledge Center

Example Message Format Conversion

You want to create a channel for PIX that takes a message, adds or manipulates some message nodes, then forwards the message to its actual destination. You create a new channel with a PIXv3 source connector (JSON inbound and outbound datatypes) and PIXv3 destination connector (JSON inbound and outbound datatypes) with Use SOAP Template set to No.

You add a transformer step that manipulates the JSON message, then deploy it.

The channel receives a HL7v3 (XML) message. That message is converted to JSON, then travels through the channel as JSON, having transformations applied in the transformer, then leaving the destination where it is, lastly, converted back to HL7v3 (XML) before being sent to its final destination.