Tools that are extremely useful when it comes to doing mapping are:
Command-line HL7 transformation tool, and
Various diff tools that are shipped with Chameleon.
Rather than trying to count pipe characters, these tools make it very easy to compare
your transformed messages. This can be exceptionally helpful for maintaining
production systems that need minor adjustments.