HL7 to HL7

Diagnosing the problem

From the last section we are left with diagnosing this error:

Can you see the problem?

If you look closely the message was passed as a Catchall message. What does that mean? If we click on the Warnings annotation we see that it is only detecting the MSH segment:

Clicking on the Catchall node tree returned from hl7.parse{} confirms that only the MSH segment has been parsed:

This means that the translated message in flatwire format is like this:

We are losing most of the segments. Fortunately once again the Translator gives us many options to resolve this. For this issue we can choose to filter these messages. After we have done that we will dig into the VMD file to understand why we see this behaviour.