Talend HL7: How can we have multiple Insurance segments(IN1) in HL7 message?

Four Stars

Talend HL7: How can we have multiple Insurance segments(IN1) in HL7 message?

I need to generate HL7 message with 5 insurances. How can I achieve this? In Talend I'm able to generate only IN1, IN2, and IN3.

Message type: DFT^P03

Version: 2.6

Four Stars

Re: Talend HL7: How can we have multiple Insurance segments(IN1) in HL7 message?

If I set IN1 as repeatable element, getting following error:

Exception in component tHL7Output_1
ca.uhn.hl7v2.HL7Exception: Can't create repetition #1 of Structure IN1 - this Structure is non-repeating
at ca.uhn.hl7v2.model.AbstractGroup.get(AbstractGroup.java:119)
at ca.uhn.hl7v2.util.MessageNavigator.getCurrentStructure(MessageNavigator.java:174)
at ca.uhn.hl7v2.util.SegmentFinder.getStructure(SegmentFinder.java:132)
at ca.uhn.hl7v2.util.SegmentFinder.getSegment(SegmentFinder.java:104)
at ca.uhn.hl7v2.util.Terser.getSegment(Terser.java:233)
at ca.uhn.hl7v2.util.Terser.set(Terser.java:312)
at jobs.test_0_1.Test.tFixedFlowInput_1Process(Test.java:10703)
at jobs.test_0_1.Test.runJobInTOS(Test.java:16248)
at jobs.test_0_1.Test.main(Test.java:16105)

Four Stars

Re: Talend HL7: How can we have multiple Insurance segments(IN1) in HL7 message?

No one is facing this issue?

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads