Angshuman Deb created NIFI-6239:
-----------------------------------
Summary: ExtractHL7Attribute unable to process multiple OBX or PRB
segments in ADT message
Key: NIFI-6239
URL: https://issues.apache.org/jira/browse/NIFI-6239
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.9.1
Reporter: Angshuman Deb
When trying to process ADT^A08 messages with ExtractHL7Attributes processor, it
only extracts a single OBX segment and a single PRB segment as attributes, even
though the input message has multiple OBX and PRB segments.
Here is a sample message:
{quote} #
MSH|^~\&|PROSLOV|MYHOSPITAL|WHIA|XYZ|20180815083000||ADT^A08^ADT_A08|MSGID005502|P|2.6|
# PID|1||000054321^^^MRN||COOPER^SHELDON^ANDREW||19820512|M||2106-3|765
SOMESTREET RD UNIT
3A^^PASADENA^LA^558846^USA||^PRN^^[email protected]||EN^English|S|CAT|78654||||N
#
PV1|1|E|||||9901^Murrey^Bill|9902^Marrow^Kevin^F|5503^SHANKAR^STUTI^J^^MD||||||||9904^Torren^Michael^||8846511
# OBX|1|NM|2552^HRTRTMON|1|115||||||F|||20181116080000|||
# OBX|2|NM|8595^BP Mean|1|88|MM HG|||||F|||20181116080000|||
# PRB|AD|20170210074000|530.81^GERD^I9|53960|||20090907175347|||
# PRB|AD|20170210074000|414.01^CAD^I9|53961|||20110907175347|||
# NTE|1|P|Problem ADDED{quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)