HL7 Fundamentals

Parse messages with hl7.parse{}

This function if successful will return an HL7 ‘node tree’.  The function takes the vmd file which defines the schema to parse the HL7 data with and the HL7 message to be parsed.

The function returns two values.  The first is the ‘node tree’ representing the data and the second is the name of the message rule that was used to parse the data.  How the message is parsed is highly dependent on the configuration of the vmd file used. The message rules are defined within the demo.vmd  file.  This dialog is displayed for this example message:

This page shows what to expect when you open the demo.vmd within Chameleon and see the message rules.

This is the API Reference for hl7.parse{}

Leave A Comment?