[ 
https://issues.apache.org/jira/browse/NIFI-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419605#comment-15419605
 ] 

ASF GitHub Bot commented on NIFI-2564:
--------------------------------------

GitHub user jfrazee opened a pull request:

    https://github.com/apache/nifi/pull/854

    NIFI-2564 Add support for HL7 composite component names

    Wanted to start getting some feedback on this.
    
    ExtractHL7Attributes can currently parse composite components, e.g., output 
PID.PatientName.XPN.2, which corresponds to the patient's given name, but it'd 
be more helpful if the attribute was something like PID.PatientName.GivenName 
or PID.PatientName.XPN.GivenName.
    
    Unfortunately, the underlying library doesn't provide a common way or 
interfaces around the composite types that make it possible to get at that, so 
this change gets at them with reflection.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jfrazee/nifi NIFI-2564

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/854.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #854
    
----
commit 0a381e91e76976204e3fdd26e81c930575a4278b
Author: Joey Frazee <[email protected]>
Date:   2016-07-18T21:31:41Z

    Propagate Use Segment Names property down to HL7 segment components

----


> Add support for HL7 composite component names
> ---------------------------------------------
>
>                 Key: NIFI-2564
>                 URL: https://issues.apache.org/jira/browse/NIFI-2564
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joey Frazee
>            Priority: Minor
>
> NIFI-2090 added parsing for segments and components but didn't include the 
> "friendly" names for the composite components. For example, 
> ExtractHL7Attributes can currently parse and output PID.PatientName.XPN.2, 
> which corresponds to the patient's given name, but it'd be more helpful if 
> the attribute was something like PID.PatientName.GivenName or 
> PID.PatientName.XPN.GivenName.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to