<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Error while storing HL7 attributes in Hbase in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167906#M45633</link>
    <description>&lt;P&gt;In AttributesToJson, is the destination set as flow file content or flow file attribute?&lt;/P&gt;&lt;P&gt;It would need be set as flow file content for it to work with PutHBaseJson.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2016 01:24:51 GMT</pubDate>
    <dc:creator>bbende</dc:creator>
    <dc:date>2016-11-09T01:24:51Z</dc:date>
    <item>
      <title>Error while storing HL7 attributes in Hbase</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167904#M45631</link>
      <description>&lt;P&gt;I'm doing HL7 parsing using ExtractHL7Attribute processor. My data flow looks like this - &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="9194-parsing-error.png" style="width: 557px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20255i74B92471EA9291C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="9194-parsing-error.png" alt="9194-parsing-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm getting above error when storing in Hbase table. i'm storing this message.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/9195-mdm-t02-x2.txt" target="_blank"&gt;mdm-t02-x2.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I print the flow file using a custom processor attached is the output of AttributeToJson processor -&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/9196-json-output.txt" target="_blank"&gt;json-output.txt&lt;/A&gt; . I can see the generated json in attached file still it does not get store in Hbase table and throw above error.&lt;/P&gt;&lt;P&gt;Can someone please help. Thanks&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6416iCF9067374D6DCAF3/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="nifi-hl7-parsing-dataflow-error.png" title="nifi-hl7-parsing-dataflow-error.png" /&gt;</description>
      <pubDate>Sun, 18 Aug 2019 11:03:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167904#M45631</guid>
      <dc:creator>ankit_jain</dc:creator>
      <dc:date>2019-08-18T11:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while storing HL7 attributes in Hbase</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167905#M45632</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11405/ankitjain.html" nodeid="11405"&gt;@Ankit Jain&lt;/A&gt; In AttributesToJSON do you have the Destination property set to "flowfile-content"? If you don't then what it does is put the JSON in the JSONAttributes attribute and it leaves the FlowFile contents the same, in this case an HL7 document. An HL7 document of course isn't JSON and starts with MSH, so this is the error you'd see if you have Destination set to "flowfile-attribute" (the default) and not "flowfile-content".&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 01:24:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167905#M45632</guid>
      <dc:creator>jfrazee</dc:creator>
      <dc:date>2016-11-09T01:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error while storing HL7 attributes in Hbase</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167906#M45633</link>
      <description>&lt;P&gt;In AttributesToJson, is the destination set as flow file content or flow file attribute?&lt;/P&gt;&lt;P&gt;It would need be set as flow file content for it to work with PutHBaseJson.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 01:24:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167906#M45633</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-11-09T01:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error while storing HL7 attributes in Hbase</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167907#M45634</link>
      <description>&lt;P&gt;Thanks It worked when I changed it to "flowfile-content". &lt;/P&gt;&lt;P&gt;I just have one more question, is it possible to extract single segment from a HL7 message. for example below is my message --&lt;/P&gt;&lt;P&gt;MSH|^~\&amp;amp;|||||20160229002413.415-0500||MDM^T02|7|P|2.3
EVN|T02|201602290024
PID|1||599992601||cunningham^beatrice^||19290611|F
PV1|1|O|Burn center^60^71
TXA|1|CN|TX|20150211002413||||||||DOC-ID-10001|||||AU||AV
&lt;/P&gt;&lt;P&gt;I want to extract only PID segment from this message. output should be - PID|1||599992601||cunningham^beatrice^||19290611|F&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 01:24:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167907#M45634</guid>
      <dc:creator>ankit_jain</dc:creator>
      <dc:date>2016-11-09T01:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error while storing HL7 attributes in Hbase</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167908#M45635</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11405/ankitjain.html" nodeid="11405"&gt;@Ankit Jain&lt;/A&gt; There are a few ways you can do this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ReplaceText with a regex matching lines that start with PID&lt;/LI&gt;&lt;LI&gt;You could SplitText -&amp;gt; RouteText matching lines that start with PID&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What you can't do though is extract the PID first and then run it through ExtractHL7Attributes. ExtractHL7Attributes requires a full, valid HL7 message. If you want to do that, you're best bet is to run ExtractHL7Attributes and then (re)create a new message from the created PID attribute values.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 01:24:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167908#M45635</guid>
      <dc:creator>jfrazee</dc:creator>
      <dc:date>2016-11-09T01:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while storing HL7 attributes in Hbase</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167909#M45636</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11405/ankitjain.html" nodeid="11405"&gt;@Ankit Jain&lt;/A&gt; is this sample HL7 dummy data or an actual patient? I am moving this thread to moderation.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 01:24:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167909#M45636</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-11-09T01:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error while storing HL7 attributes in Hbase</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167910#M45637</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; it's dummy data.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:26:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-while-storing-HL7-attributes-in-Hbase/m-p/167910#M45637</guid>
      <dc:creator>ankit_jain</dc:creator>
      <dc:date>2016-11-09T14:26:40Z</dc:date>
    </item>
  </channel>
</rss>

