You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Flo Rance <tr...@gmail.com> on 2018/12/18 10:56:57 UTC

Order of HL7 attributes

Hi,

I'm using ExtractHL7Attributes to extract content of HL7 flow file and then
I use AttributesToJSON to get a JSON flow file.
However, the attributes are put in a kind of random order, which is
unusable when you deal with laboratory results that include notes for
specific segments.
e.g.
|OBR|....
|OBX|1|...
|OBX|2|...
|NTE|1|...

In that case, you have no way to know to which OBX segment refers the NTE.

Is there a way to keep the original order from the HL7 flow file ?