|iNTERFACEWARE Products Manual > Installing and Using Chameleon > Designing HL7 Interfaces > Five Steps to Building HL7 Interfaces > Analyze the Data|
Once you have acquired the data, you need to analyze it. You can analyze the data using the Message Browser. Other tools you can use are the command line tools called msgtransform and msgdiff. These tools can be used to process batches of HL7 messages.
Typically it is a good idea to start with an empty message definition file, then import just the segments you need to browse the message. Pick the segments defined in the highest version of HL7 you have available since these segments contain a superset of all known fields. For more information, see HL7 Version 2.X.
Before you import the segments they will appear highlighted in red. Recognized segments will appear in green.
The other tool that is very useful for data analysis is the command line msgtransform tool. The reason for this is that it makes it very easy to interactively test out your segment and table grammars. The procedure is very simple:
This makes it very convenient to iteratively build up your message definition file. Typically you are probably going to be interested in running the tool in the 'table' mode, which tests out parsing each message into the defined table grammar. For example:
The msgtransform utility is available for both Windows and Unix.