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:
- Create a source node tree structure
- Create target node tree
- 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 Database, Transforming HL7 to JSON and Transforming HL7 to Database all follow the same pattern.
Transforming HL7 to Database:
Transforming HL7 to XML:
Note: Transforming to XML varies slightly as it uses the :setInner()
function to assign values.
More Information [top]
- See our other interface tutorials in this section
- See our general tutorials section
- See our code samples section