Transforming Messages: Transformations between other message types

Transforming data between any of the different types of node trees follows a very similar pattern, see the other “Transforming Messages:” tutorials in this section for examples.

These are the steps:

  1. Create a source node tree structure
  2. Create target node tree
  3. Use assignment statements to map and transform the data from the source node tree to the target node tree

If you have specific questions about transformations between other message types please contact support at support@interfaceware.com.

Examples [top]

The code for Transforming HL7 to DatabaseTransforming HL7 to JSON and Transforming HL7 to Database all follow the same pattern.

Transforming HL7 to Database:

Transforming HL7 to JSON:
Screen Shot 2014-10-09 at 17.12.43

Transforming HL7 to XML:

Note: Transforming to XML varies slightly as it uses the :setInner() function to assign values.

More Information [top]

Leave A Comment?