Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Apache NiFi ExtractHL7Attribute: Issues processing multiple OBX segments in ADT message

Highlighted

Apache NiFi ExtractHL7Attribute: Issues processing multiple OBX segments in ADT message

New Contributor

We are working with the ExtractHL7Attributes processor in our NiFi flow. We are running into some issues with the processor output. When passed an ORU^R01 message, the processor spits out all the OBX segments in the message. However, when we pass an ADT^A08 or ADT^A01 message, only one of the OBX segment is generated in the output from the processor.

Can you please guide us to someone who can help us in resolving this issue? Here are the sample messages:

ORU:

MSH|^~\\&|PROSLOV|MYHOSPITAL|ACORPRATE_LAB|WHIA|20170213220000||ORU^R01|MSGID005517|P|2.6| 
PID|||000000001||SMITH^JOHN||19700101|M||||||||||999999999999|123456789| 
OBR|1|PON003|FON003|Z13.228^Metabolic Panel^I10|||20170213220000|||||||||68561^DENEUVE^CATHERINE^W||||||20170213220000|||F|||68561^DENEUVE^CATHERINE^W||||||3111&Sonographer&Adam|||2| 
OBX|1|NM|E87.51^POTASSIUM^I10|1|2.5|mEq/L|3.5-5.5|L|||F|||20170213220000| 
OBX|2|NM|E83.50^CALCIUM^I10|1|11.3|mEq/L|8.3-10.3|H|||F|||20170213220000|

ADT:

MSH|^~\\&|PROSLOV|MYHOSPITAL|ACORPRATE_LAB|WHIA|20170213220000||ADT^A08^ADT_A01|MSGID005517|P|2.6| 
EVN|A08|20180627083000||| 
PID|||000000001||SMITH^JOHN||19700101|M||||||||||999999999999|123456789| 
OBX|1|NM|E87.51^POTASSIUM^I10|1|2.5|mEq/L|3.5-5.5|L|||F|||20170213220000| 
OBX|2|NM|E83.50^CALCIUM^I10|1|11.3|mEq/L|8.3-10.3|H|||F|||20170213220000|